LFM2 12B A1B GLM 4.7 Thinking Quantum IQ1C P TR1 S2 needs about 9.5 GB of memory at Q4_K_M (a 6.8 GB file) with an 8K context window, so it fits on a 12 GB GPU. This repository has 11 quants, from 4.1 GB (Q2_K) to 12.0 GB (Q8_0). Longer context needs more: at 32K tokens the KV cache alone adds about 8.6 GB.
LFM2 12B A1B GLM 4.7 – a sparse mixture of experts model with 128k context
LFM2 12B A1B GLM 4.7 is a 11.3B parameter model with 1B active experts. It supports coding, reasoning, roleplay, and tools. The model is released under apache-2.0 and can run on CPUs and GPUs with various GGUF quantizations.
Good at
- Coding tasks
- Complex reasoning
- Tool integration
Limits
- No vision support
- Requires 128k context for full capability
- Large VRAM needed for higher quants
Best for
- Developers building chatbots
- Researchers testing reasoning models
- Embedded applications on mobile devices
Who it’s for. Engineers and researchers who need a large language model with sparse expert architecture and extensive context. The model is suitable for CPU and GPU inference with GGUF quantizations.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q2_K | 4.1 GB | 6.8 GB | Fits | Get file → | |
| Q3_K_S | 4.9 GB | 7.6 GB | Tight | Get file → | |
| Q3_K_M | 5.4 GB | 8.0 GB | Too big | Get file → | |
| Q3_K_L | 5.8 GB | 8.5 GB | Too big | Get file → | |
| IQ4_XS | 6.1 GB | 8.7 GB | Too big | Get file → | |
| Q4_K_S | 6.4 GB | 9.1 GB | Too big | Get file → | |
| Q4_K_M | 6.8 GB | 9.5 GB | Too big | Get file → | |
| Q5_K_S | 7.8 GB | 10.4 GB | Too big | Get file → | |
| Q5_K_M | 8.0 GB | 10.7 GB | Too big | Get file → | |
| Q6_K | 9.3 GB | 11.9 GB | Too big | Get file → | |
| Q8_0 | 12.0 GB | 14.6 GB | Too big | Get file → |
For 8 GB VRAM, use Q4_K_M (6.82 GB file, 9.5 GB memory at 8k context). For 12 GB VRAM, Q5_K_M (8.01 GB file, 10.7 GB memory). For 16 GB VRAM, Q6_K (9.26 GB file, 11.9 GB memory).
What GPU do you need for LFM2 12B A1B GLM 4.7 Thinking Quantum IQ1C P TR1 S2?
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 Q3_K_M (5.4 GB file, about 8.0 GB in use).
- 12 GB VRAM: the best quant that fits is Q6_K (9.3 GB file, about 11.9 GB in use).
- 16 GB VRAM: the best quant that fits is Q8_0 (12.0 GB file, about 14.6 GB in use).
Which LFM2 12B A1B GLM 4.7 Thinking Quantum IQ1C P TR1 S2 quant should you choose?
Q4_K_M is the usual starting point for LFM2 12B A1B GLM 4.7 Thinking Quantum IQ1C P TR1 S2: it balances file size and quality well. Here it is a 6.8 GB file.
The Q8_0 file is 12.0 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 Q2_K at 4.1 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
Frequently asked questions about LFM2 12B A1B GLM 4.7 Thinking Quantum IQ1C P TR1 S2
How much VRAM does LFM2 12B A1B GLM 4.7 Thinking Quantum IQ1C P TR1 S2 need?
About 9.5 GB at Q4_K_M with an 8K context window. That is the 6.8 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 12B A1B GLM 4.7 Thinking Quantum IQ1C P TR1 S2 on an 8 GB GPU?
Yes, with Q3_K_M: the 5.4 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 12B A1B GLM 4.7 Thinking Quantum IQ1C P TR1 S2 GGUF?
It depends on the quant: Q2_K is 4.1 GB, Q3_K_S is 4.9 GB, Q3_K_M is 5.4 GB, Q3_K_L is 5.8 GB, IQ4_XS is 6.1 GB, Q4_K_S is 6.4 GB and 5 more.
What context length does LFM2 12B A1B GLM 4.7 Thinking Quantum IQ1C P TR1 S2 support?
The GGUF header lists a trained context length of 128,000 tokens (125K). The KV cache grows with the context you use: about 2.1 GB at 8K and 8.6 GB at 32K.
Where can I download LFM2 12B A1B GLM 4.7 Thinking Quantum IQ1C P TR1 S2 GGUF?
The files are on Hugging Face in the mradermacher/LFM2-12B-A1B-GLM-4.7-Thinking-Quantum-IQ1C-P-TR1-S2-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 12B A1B GLM 4.7 Thinking Quantum IQ1C P TR1 S2 use?
Hugging Face lists the license as apache-2.0. 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 12B on 8 GB VRAM?
Yes, using Q4_K_M or Q4_K_S quantizations. The estimated memory usage is around 9.5 GB at 8k context.
Does this model support vision tasks?
No, the model does not have vision capabilities.
What license applies to this model?
The model is released under the apache-2.0 license.