Pyxidis Manim CodeGen 1.7B needs about 2.5 GB of memory at Q4_K_M (a 1.1 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 19 quants, from 0.8 GB (Q2_K) to 6.9 GB (F32). Longer context needs more: at 32K tokens the KV cache alone adds about 3.8 GB.
Pyxidis Manim CodeGen 1.7B – a specialized math animation coding model
Pyxidis Manim CodeGen 1.7B is a 1.72‑billion‑parameter model fine‑tuned on Qwen/Qwen3‑1.7B with Manim‑CodeGen traces. It generates Python code for mathematical animations, providing step‑by‑step derivations and structured scene scripts. The model supports reasoning and tool usage.
Good at
- Manim‑specific code generation
- Math derivation with animation code
- Python‑centric reasoning
Limits
- No vision support
- Requires 8‑k context for full operation
- Apache‑2.0 license limits commercial use
Best for
- Creating math animation scripts
- Educational content creation
- Research visualization pipelines
Who it’s for. Educators, researchers, and developers who need automated Python code for Manim‑based mathematical animations. The model is ideal for those building tutorials, lecture videos, or interactive visual proofs.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q2_K | 0.8 GB | 2.2 GB | Fits | Get file → | |
| Q3_K_S | 0.9 GB | 2.3 GB | Fits | Get file → | |
| Q3_K_M | 0.9 GB | 2.4 GB | Fits | Get file → | |
| Q3_K_L | 1.0 GB | 2.4 GB | Fits | Get file → | |
| Q4_0 | 1.1 GB | 2.5 GB | Fits | Get file → | |
| Q4_K_S | 1.1 GB | 2.5 GB | Fits | Get file → | |
| Q4_K | 1.1 GB | 2.5 GB | Fits | Get file → | |
| Q4_K_M | 1.1 GB | 2.5 GB | Fits | Get file → | |
| Q4_1 | 1.1 GB | 2.6 GB | Fits | Get file → | |
| Q5_0 | 1.2 GB | 2.7 GB | Fits | Get file → | |
| Q5_K_S | 1.2 GB | 2.7 GB | Fits | Get file → | |
| Q5_K | 1.3 GB | 2.7 GB | Fits | Get file → | |
| Q5_K_M | 1.3 GB | 2.7 GB | Fits | Get file → | |
| Q5_1 | 1.3 GB | 2.8 GB | Fits | Get file → | |
| Q6_K | 1.4 GB | 2.9 GB | Fits | Get file → | |
| Q8_0 | 1.8 GB | 3.3 GB | Fits | Get file → | |
| BF16 | 3.4 GB | 4.9 GB | Fits | Get file → | |
| F16 | 3.4 GB | 4.9 GB | Fits | Get file → | |
| F32 | 6.9 GB | 8.3 GB | Too big | Get file → |
For 8‑GB VRAM, use Q4_K_M (1.11 GB file, ~2.5 GB memory). For 12‑GB VRAM, Q5_K_M (1.26 GB file, ~2.7 GB memory) offers higher precision. For 24‑GB VRAM, Q8_0 (1.83 GB file, ~3.3 GB memory) provides the best quality.
What GPU do you need for Pyxidis Manim CodeGen 1.7B?
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 Q8_0 (1.8 GB file, about 3.3 GB in use).
- 6 GB VRAM: the best quant that fits is BF16 (3.4 GB file, about 4.9 GB in use).
- 8 GB VRAM: the best quant that fits is BF16 (3.4 GB file, about 4.9 GB in use).
- 12 GB VRAM: the best quant that fits is F32 (6.9 GB file, about 8.3 GB in use).
Which Pyxidis Manim CodeGen 1.7B quant should you choose?
Q4_K_M is the usual starting point for Pyxidis Manim CodeGen 1.7B: it balances file size and quality well. Here it is a 1.1 GB file.
The Q8_0 file is 1.8 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.8 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
Source
Frequently asked questions about Pyxidis Manim CodeGen 1.7B
How much VRAM does Pyxidis Manim CodeGen 1.7B need?
About 2.5 GB at Q4_K_M with an 8K context window. That is the 1.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 Pyxidis Manim CodeGen 1.7B on an 8 GB GPU?
Yes, with BF16: the 3.4 GB file needs about 4.9 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of Pyxidis Manim CodeGen 1.7B GGUF?
It depends on the quant: Q2_K is 0.8 GB, Q3_K_S is 0.9 GB, Q3_K_M is 0.9 GB, Q3_K_L is 1.0 GB, Q4_0 is 1.1 GB, Q4_K_S is 1.1 GB and 13 more.
What context length does Pyxidis Manim CodeGen 1.7B support?
The GGUF header lists a trained context length of 40,960 tokens (40K). The KV cache grows with the context you use: about 0.9 GB at 8K and 3.8 GB at 32K.
Where can I download Pyxidis Manim CodeGen 1.7B GGUF?
The files are on Hugging Face in the prithivMLmods/Pyxidis-Manim-CodeGen-1.7B-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 Pyxidis Manim CodeGen 1.7B 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 this model on 8 GB VRAM?
Yes, the Q4_K_M quant uses about 2.5 GB of VRAM at 8‑k context, fitting within an 8 GB budget.
Does the model support image generation?
No, the model has no vision capabilities and is focused solely on text and code generation.
What license does the model use?
The model is released under the Apache‑2.0 license, allowing free use with attribution.