Mamba Codestral 7B v0.1 needs about 5.1 GB of memory at Q4_K_M (a 4.1 GB file) with an 8K context window, so it fits on a 6 GB GPU.
Mamba Codestral 7B v0.1 – a 7.29B code model
Mamba Codestral 7B v0.1 is a 7.29B parameter model built on the Mamba2 architecture. It is designed for code generation and performs on par with state‑of‑the‑art transformer‑based code models. The model is released under the apache‑2.0 license.
Good at
- Code generation
- Fast inference on GPUs
- Large context support
Limits
- No vision support
- Requires 8k context for full performance
- License is apache‑2.0
Best for
- Writing scripts
- Debugging code snippets
- Generating documentation
Who it’s for. Developers and researchers who need a lightweight code model for local inference. The model is suitable for environments with limited GPU memory but sufficient RAM for 8k context.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q4_K_M | 4.1 GB | 5.1 GB | Fits | Get file → |
The Q4_K_M quantization file is 4.15 GB and requires approximately 5.1 GB of VRAM at 8k context. For 8 GB VRAM, this quant is suitable. If more memory is available, higher‑precision quants may be considered, but only Q4_K_M is provided.
What GPU do you need for Mamba Codestral 7B v0.1?
These figures add the file size, an fp16 KV cache at an 8K context window 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: the best quant that fits is Q4_K_M (4.1 GB file, about 5.1 GB in use).
Which Mamba Codestral 7B v0.1 quant should you choose?
Q4_K_M is the usual starting point for Mamba Codestral 7B v0.1: it balances file size and quality well. Here it is a 4.1 GB file.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about Mamba Codestral 7B v0.1
How much VRAM does Mamba Codestral 7B v0.1 need?
About 5.1 GB at Q4_K_M with an 8K context window. That is the 4.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 Mamba Codestral 7B v0.1 on an 8 GB GPU?
Yes, with Q4_K_M: the 4.1 GB file needs about 5.1 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of Mamba Codestral 7B v0.1 GGUF?
It depends on the quant: Q4_K_M is 4.1 GB.
What context length does Mamba Codestral 7B v0.1 support?
The GGUF header lists a trained context length of 1,048,576 tokens (1024K).
Where can I download Mamba Codestral 7B v0.1 GGUF?
The files are on Hugging Face in the viniciusianni/Mamba-Codestral-7B-v0.1-Q4_K_M-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 Mamba Codestral 7B v0.1 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 Mamba Codestral 7B v0.1 on 8 GB VRAM?
Yes, the Q4_K_M quant requires about 5.1 GB of VRAM at 8k context, which fits within 8 GB.
Does the model support image inputs?
No, the model has no vision capabilities.
What license applies to this model?
The model is released under the apache‑2.0 license.