LF

Lfm2-350M

LfmGGUF by unslothUpdated 2026-08-05
Download on Hugging Face
Parameters354M
Context32K
Layers16
Architecturelfm2
Smallest quant0.2 GB
Quick answer

Lfm2-350M needs about 1.3 GB of memory at Q4_K_M (a 0.2 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 19 quants, from 0.2 GB (Q2_K) to 0.7 GB (F16). Longer context needs more: at 32K tokens the KV cache alone adds about 2.1 GB.

LFM2‑350M: a lightweight hybrid model for edge AI

LFM2‑350M is a 0.354 billion‑parameter hybrid model designed for on‑device deployment. It offers fast training and inference, and runs efficiently on CPU, GPU, and NPU hardware. The model supports English, Arabic, Chinese, French, German, Japanese, Korean, and Spanish.

Good at

  • Fast CPU inference
  • Low‑memory footprint
  • Agentic tasks and RAG

Limits

  • Not suited for knowledge‑intensive or programming tasks
  • No vision support
  • Requires fine‑tuning for narrow use cases

Best for

  • Edge AI applications
  • Data extraction pipelines
  • Creative writing on low‑resource devices

Who it’s for. Developers building lightweight, on‑device AI assistants or agents who need fast inference and low memory usage. The model is ideal for mobile or embedded deployments where resources are limited.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q2_K0.2 GB 1.2 GB
Fits Get file →
Q2_K_L0.2 GB 1.2 GB
Fits Get file →
Q2_K_XL0.2 GB 1.2 GB
Fits Get file →
Q3_K_S0.2 GB 1.2 GB
Fits Get file →
Q3_K_M0.2 GB 1.2 GB
Fits Get file →
Q3_K_XL0.2 GB 1.2 GB
Fits Get file →
Q4_00.2 GB 1.3 GB
Fits Get file →
Q4_K_S0.2 GB 1.3 GB
Fits Get file →
Q4_K_M0.2 GB 1.3 GB
Fits Get file →
Q4_K_XL0.2 GB 1.3 GB
Fits Get file →
Q4_10.2 GB 1.3 GB
Fits Get file →
Q5_K_S0.3 GB 1.3 GB
Fits Get file →
Q5_K_M0.3 GB 1.3 GB
Fits Get file →
Q5_K_XL0.3 GB 1.3 GB
Fits Get file →
Q6_K0.3 GB 1.3 GB
Fits Get file →
Q6_K_XL0.3 GB 1.3 GB
Fits Get file →
Q8_00.4 GB 1.4 GB
Fits Get file →
Q8_K_XL0.4 GB 1.5 GB
Fits Get file →
F160.7 GB 1.7 GB
Fits Get file →

For 8 GB VRAM use Q4_0 or Q4_K_S (file size 0.22 GB, ~1.3 GB memory). For 4 GB VRAM use Q2_K or Q3_K_S (file size 0.16–0.18 GB, ~1.2 GB memory). For 2 GB VRAM use Q2_K_L or Q3_K_M (file size 0.16–0.19 GB, ~1.2 GB memory).

What GPU do you need for Lfm2-350M?

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 F16 (0.7 GB file, about 1.7 GB in use).

Which Lfm2-350M quant should you choose?

Q4_K_M is the usual starting point for Lfm2-350M: it balances file size and quality well. Here it is a 0.2 GB file.

The Q8_0 file is 0.4 GB, about 1.7 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 Q2_K at 0.2 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architecturelfm2
Parameters354M
Layers16
Trained context32,768 tokens
KV cache (fp16)64 KB per token

Source

Quantized byunsloth
FamilyLfm
Licenseother
Downloads (HF)2,228
Last updated2026-08-05

Frequently asked questions about Lfm2-350M

How much VRAM does Lfm2-350M need?

About 1.3 GB at Q4_K_M with an 8K context window. That is the 0.2 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-350M on an 8 GB GPU?

Yes, with F16: the 0.7 GB file needs about 1.7 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Lfm2-350M GGUF?

It depends on the quant: Q2_K is 0.2 GB, Q2_K_L is 0.2 GB, Q2_K_XL is 0.2 GB, Q3_K_S is 0.2 GB, Q3_K_M is 0.2 GB, Q3_K_XL is 0.2 GB and 13 more.

What context length does Lfm2-350M support?

The GGUF header lists a trained context length of 32,768 tokens (32K). The KV cache grows with the context you use: about 0.5 GB at 8K and 2.1 GB at 32K.

Where can I download Lfm2-350M GGUF?

The files are on Hugging Face in the unsloth/LFM2-350M-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-350M 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‑350M on 4 GB VRAM?

Yes, use a Q2_K or Q3_K_S quant, which requires about 1.2 GB of VRAM at 8k context.

Does LFM2‑350M support vision tasks?

No, the model has no vision capabilities.

What are the recommended generation parameters?

Set temperature=0.3, min_p=0.15, and repetition_penalty=1.05 for best results.

Other GGUFs of LFM2-350M

Similar models

Browse all →

More from unsloth

All by unsloth →

More Lfm models

All Lfm →

Other tiny models

All tiny models →