This is a GGUF-quantized version of Devstral-Small-2-24B-Instruct-2512 produced with ByteShape's ShapeLearn, which learns the optimal datatype per tensor to maintain high quality even at very low bitlengths.
To see interactive plots and benchmarks for Nvidia GPUs, please visit our blog.
If you have questions or want to share feedback, reach us on Reddit.
We provide models optimized for NVIDIA RTX 40- and 50-series GPUs in llama.cpp.
The chart below shows quality versus tokens per second (TPS), with Unsloth used as the baseline for comparison. Quality is measured across seven benchmarks, including function calling and vision: BFCL-V3, LiveCodeBench V6, HumanEval, GSM8K-V, Math500, GSM8K, and MMLU.
Selection rule: Choose the model with the highest quality at your target throughput or the fastest model that still meets your required quality.
Table sorted by model size (match the chart numbers to model IDs):
| Model ID | Bits/Weight | Model Size |
|---|---|---|
| IQ-1 | 2.34 | 6.9 GB |
| IQ-2 | 2.43 | 7.2 GB |
| IQ-3 | 2.67 | 7.9 GB |
| IQ-4 | 2.78 | 8.2 GB |
| IQ-5 | 2.96 | 8.7 GB |
| IQ-6 | 3.19 | 9.4 GB |
| IQ-7 | 3.47 | 10.2 GB |
| IQ-8 | 4.04 | 11.9 GB |
The labels you see (for example IQ4_XS) are only there to make Hugging Face show our models in the GGUF table. We do not use the conventional quantization profiles as defined in llama.cpp. In our case, these labels indicate the primary quantization approach and average bit length.
All GGUF files in this repo can be used directly with Ollama.
To run a model with Ollama, use:
ollama run hf.co/byteshape/Devstral-Small-2-24B-Instruct-2512-GGUF:FILE_NAME.gguf
Replace FILE_NAME.gguf with the GGUF filename you want. For example:
ollama run hf.co/byteshape/Devstral-Small-2-24B-Instruct-2512-GGUF:Devstral-Small-2-24B-Instruct-2512-IQ4_XS-4.04bpw.gguf
--mmproj)Devstral is a multimodal model, so for vision use cases in llama.cpp you must provide both:
-m--mmprojExample (server mode):
./llama-server \
-m /path/to/Devstral-Small-2-24B-Instruct-2512-IQ4_XS-4.04bpw.gguf \
--mmproj /path/to/mmproj-bf16.gguf \
-c 8192 \
-ngl 99 \
--port 8080
Then you can access the web interface at http://localhost:8080.
Have the files? Submit a torrent.
Submit a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo byteshape/Devstral-Small-2-24B-Instruct-2512-GGUF ./model-foldermistralai/Devstral-Small-2-24B-Instruct-2512