LF

LFM2-8B-Terminal-SFT-Unsloth

LfmGGUF by gyungUpdated 2026-04-23
Download on Hugging Face
Parameters8.34B
Context125K
Layers24
Architecturelfm2moe
Smallest quant5.0 GB
Quick answer

LFM2-8B-Terminal-SFT-Unsloth needs about 7.2 GB of memory at Q4_K_M (a 5.0 GB file) with an 8K context window, so it fits on a 8 GB GPU. This repository has 4 quants, from 5.0 GB (Q4_K_M) to 16.7 GB. Longer context needs more: at 32K tokens the KV cache alone adds about 6.4 GB.

LFM2-8B-Terminal-SFT-Unsloth is a 8.34B-parameter Lfm model in GGUF format, quantized by gyung. Its trained context length is 125K tokens. The repository has 4 quant files, from 5.0 GB (Q4_K_M) to 16.7 GB.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_K_M5.0 GB 7.2 GB
Fits Get file →
Q5_K_M5.9 GB 8.0 GB
Too big Get file →
Q8_08.9 GB 11.0 GB
Too big Get file →
—16.7 GB 18.8 GB
Too big Get file →

What GPU do you need for LFM2-8B-Terminal-SFT-Unsloth?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: no quant fits at an 8K context.
  • 6 GB VRAM: no quant fits at an 8K context.
  • 8 GB VRAM: the best quant that fits is Q5_K_M (5.9 GB file, about 8.0 GB in use).
  • 12 GB VRAM: the best quant that fits is Q8_0 (8.9 GB file, about 11.0 GB in use).
  • 16 GB VRAM: the best quant that fits is Q8_0 (8.9 GB file, about 11.0 GB in use).
  • 24 GB VRAM: the best quant that fits is the main file (16.7 GB file, about 18.8 GB in use).

Which LFM2-8B-Terminal-SFT-Unsloth quant should you choose?

Q4_K_M is the usual starting point for LFM2-8B-Terminal-SFT-Unsloth: it balances file size and quality well. Here it is a 5.0 GB file.

The Q8_0 file is 8.9 GB, about 1.8 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturelfm2moe
Parameters8.34B (approximate, mixture of experts)
Layers24
Trained context128,000 tokens
KV cache (fp16)192 KB per token

Source

Quantized bygyung
FamilyLfm
Downloads (HF)36
Last updated2026-04-23

Frequently asked questions about LFM2-8B-Terminal-SFT-Unsloth

How much VRAM does LFM2-8B-Terminal-SFT-Unsloth need?

About 7.2 GB at Q4_K_M with an 8K context window. That is the 5.0 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run LFM2-8B-Terminal-SFT-Unsloth on an 8 GB GPU?

Yes, with Q5_K_M: the 5.9 GB file needs about 8.0 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of LFM2-8B-Terminal-SFT-Unsloth GGUF?

It depends on the quant: Q4_K_M is 5.0 GB, Q5_K_M is 5.9 GB, Q8_0 is 8.9 GB, file is 16.7 GB.

What context length does LFM2-8B-Terminal-SFT-Unsloth support?

The GGUF header lists a trained context length of 128,000 tokens (125K). The KV cache grows with the context you use: about 1.6 GB at 8K and 6.4 GB at 32K.

Where can I download LFM2-8B-Terminal-SFT-Unsloth GGUF?

The files are on Hugging Face in the gyung/LFM2-8B-Terminal-SFT-Unsloth-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

Similar models

Browse all →

More from gyung

All by gyung →

More Lfm models

All Lfm →

Other small models

All small models →