LF

LFM2 8B A1B

LfmGGUF by bartowskiUpdated 2025-10-08
Download on Hugging Face
Parameters8.34B
Context125K
Layers24
Architecturelfm2moe
Smallest quant0.0 GB
Quick answer

LFM2 8B A1B needs about 7.2 GB of memory at Q4_K_M (a 5.1 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 16.7 GB (BF16). Longer context needs more: at 32K tokens the KV cache alone adds about 6.4 GB.

LFM2 8B A1B – a hybrid MoE model for edge AI

LFM2 8B A1B is a 8.34B parameter hybrid model with 1 active parameter set. It is optimized for on‑device deployment and supports a 128000 token context. The model is available in multiple GGUF quantizations.

Good at

  • Agentic tasks
  • Data extraction
  • RAG

Limits

  • No vision support
  • Not suitable for knowledge‑intensive or programming tasks
  • Requires 8k context for memory estimates

Best for

  • Chatbots on laptops
  • Fine‑tuned narrow use cases
  • Creative writing

Who it’s for. Developers building lightweight AI assistants for phones, tablets, and laptops. The model is best used when fine‑tuned for a specific domain to maximize performance.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—0.0 GB 2.1 GB
Fits Get file →
IQ2_M2.7 GB 4.8 GB
Fits Get file →
Q2_K2.9 GB 5.1 GB
Fits Get file →
Q2_K_L3.0 GB 5.1 GB
Fits Get file →
IQ3_XXS3.3 GB 5.4 GB
Fits Get file →
IQ3_XS3.5 GB 5.6 GB
Fits Get file →
Q3_K_S3.7 GB 5.8 GB
Fits Get file →
IQ3_M3.8 GB 5.9 GB
Fits Get file →
Q3_K_M3.8 GB 5.9 GB
Fits Get file →
Q3_K_L4.0 GB 6.1 GB
Fits Get file →
Q3_K_XL4.0 GB 6.1 GB
Fits Get file →
IQ4_XS4.5 GB 6.6 GB
Fits Get file →
IQ4_NL4.7 GB 6.9 GB
Fits Get file →
Q4_04.8 GB 6.9 GB
Fits Get file →
Q4_K_S4.9 GB 7.0 GB
Fits Get file →
Q4_K_M5.1 GB 7.2 GB
Fits Get file →
Q4_K_L5.1 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 →
Q5_K_L6.0 GB 8.1 GB
Too big Get file →
Q6_K6.9 GB 9.0 GB
Too big Get file →
Q6_K_L6.9 GB 9.0 GB
Too big Get file →
Q8_08.9 GB 11.0 GB
Too big Get file →
BF1616.7 GB 18.8 GB
Too big Get file →

For 8‑GB VRAM use Q4_K_M (5.05 GB, 7.2 GB memory). For 12‑GB VRAM use Q5_K_M (5.92 GB, 8 GB memory). For 16‑GB VRAM use Q6_K (6.85 GB, 9 GB memory).

What GPU do you need for LFM2 8B A1B?

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 the main file (0.0 GB file, about 2.1 GB in use).
  • 6 GB VRAM: the best quant that fits is Q3_K_M (3.8 GB file, about 5.9 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 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 BF16 (16.7 GB file, about 18.8 GB in use).

Which LFM2 8B A1B quant should you choose?

Q4_K_M is the usual starting point for LFM2 8B A1B: it balances file size and quality well. Here it is a 5.1 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.

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)
Active parameters1B
Layers24
Trained context128,000 tokens
KV cache (fp16)192 KB per token

Source

Quantized bybartowski
FamilyLfm
Licenseother
Downloads (HF)1,740
Last updated2025-10-08

Frequently asked questions about LFM2 8B A1B

How much VRAM does LFM2 8B A1B need?

About 7.2 GB at Q4_K_M with an 8K context window. That is the 5.1 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 A1B 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 A1B GGUF?

It depends on the quant: file is 0.0 GB, IQ2_M is 2.7 GB, Q2_K is 2.9 GB, Q2_K_L is 3.0 GB, IQ3_XXS is 3.3 GB, IQ3_XS is 3.5 GB and 19 more.

What context length does LFM2 8B A1B 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 A1B GGUF?

The files are on Hugging Face in the bartowski/LiquidAI_LFM2-8B-A1B-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does LFM2 8B A1B use?

Hugging Face lists the license as other. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Can I run LFM2 8B A1B on 8 GB VRAM?

Yes, using the Q4_K_M quantization which is 5.05 GB and requires about 7.2 GB memory at 8k context.

Does the model support multiple languages?

The model supports English, Arabic, Chinese, French, German, Japanese, Korean, and Spanish.

Is the model suitable for programming tasks?

No, it is not recommended for knowledge‑intensive or programming tasks.

Other GGUFs of LFM2-8B-A1B

Similar models

Browse all →

More from bartowski

All by bartowski →

More Lfm models

All Lfm →

Other small models

All small models →