LF

LFM2-8B-Terminal-SFT-Unsloth

LfmGGUF by mradermacherUpdated 2026-04-18
Download on Hugging Face
Parameters8.34B
Context125K
Layers24
Architecturelfm2moe
Smallest quant0.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 25 quants, from 0.0 GB to 6.8 GB (Q6_K). Longer context needs more: at 32K tokens the KV cache alone adds about 6.4 GB.

Fine‑tuned LFM2‑8B with tool‑use capability

LFM2‑8B‑Terminal‑SFT‑Unsloth is a fine‑tuned LFM2‑8B model trained with SFT. It supports tool use and is available in multiple GGUF quantizations. The model was trained on 128000 context tokens.

Good at

  • Tool‑use tasks
  • Fine‑tuned responses
  • Large context handling

Limits

  • No vision support
  • License not specified
  • Requires 8k context for estimates

Best for

  • Chatbots needing tool integration
  • Custom instruction following
  • Low‑latency inference on GPUs

Who it’s for. Developers building assistant applications that need tool‑use and fine‑tuned behavior. The model is suitable for users who can run GGUF files with llama.cpp and have a GPU with sufficient VRAM.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—0.0 GB 2.1 GB
Fits Get file →
IQ1_S1.7 GB 3.8 GB
Fits Get file →
IQ1_M1.9 GB 4.0 GB
Fits Get file →
IQ2_XXS2.2 GB 4.3 GB
Fits Get file →
IQ2_XS2.5 GB 4.6 GB
Fits Get file →
IQ2_S2.5 GB 4.6 GB
Fits Get file →
IQ2_M2.7 GB 4.9 GB
Fits Get file →
Q2_K_S2.8 GB 5.0 GB
Fits Get file →
Q2_K3.1 GB 5.2 GB
Fits Get file →
IQ3_XXS3.2 GB 5.4 GB
Fits Get file →
IQ3_XS3.4 GB 5.6 GB
Fits Get file →
IQ3_S3.6 GB 5.8 GB
Fits Get file →
Q3_K_S3.6 GB 5.8 GB
Fits Get file →
IQ3_M3.7 GB 5.8 GB
Fits Get file →
Q3_K_M4.0 GB 6.1 GB
Fits Get file →
Q3_K_L4.3 GB 6.4 GB
Fits Get file →
IQ4_XS4.5 GB 6.6 GB
Fits Get file →
IQ4_NL4.7 GB 6.8 GB
Fits Get file →
Q4_04.7 GB 6.9 GB
Fits Get file →
Q4_K_S4.8 GB 6.9 GB
Fits Get file →
Q4_K_M5.0 GB 7.2 GB
Fits Get file →
Q4_15.2 GB 7.4 GB
Tight Get file →
Q5_K_S5.8 GB 7.9 GB
Tight Get file →
Q5_K_M5.9 GB 8.0 GB
Too big Get file →
Q6_K6.8 GB 9.0 GB
Too big Get file →

For 8‑GB VRAM, use IQ1_S (1.73 GB) or IQ1_M (1.92 GB). For 12‑GB VRAM, IQ2_M (2.75 GB) or Q2_K (3.08 GB) are good choices. For 16‑GB VRAM, Q3_K_M (4 GB) or Q4_K_M (5.04 GB) provide higher quality.

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: the best quant that fits is IQ1_M (1.9 GB file, about 4.0 GB in use).
  • 6 GB VRAM: the best quant that fits is IQ3_M (3.7 GB file, about 5.8 GB in use).
  • 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 Q6_K (6.8 GB file, about 9.0 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.

If memory is tight, the smallest file is the first one in the table at 0.0 GB, with the quality trade-offs that come with fewer bits.

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 bymradermacher
FamilyLfm
Downloads (HF)733
Last updated2026-04-18

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: file is 0.0 GB, IQ1_S is 1.7 GB, IQ1_M is 1.9 GB, IQ2_XXS is 2.2 GB, IQ2_XS is 2.5 GB, IQ2_S is 2.5 GB and 19 more.

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 mradermacher/LFM2-8B-Terminal-SFT-Unsloth-i1-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

Can I run this model on 8 GB VRAM?

Yes, use the IQ1_S or IQ1_M quantizations, which require about 3.8–4 GB of VRAM at 8k context.

Does this model support vision?

No, the model has no vision capability.

What context length does it support?

It was trained on 128000 tokens and can handle up to that length in inference.

Other GGUFs of LFM2-8B-Terminal-SFT-Unsloth

Similar models

Browse all →

More from mradermacher

All by mradermacher →

More Lfm models

All Lfm →

Other small models

All small models →