Downloads · 30 days
264
1% of all-time downloads
btbtyler09/Devstral-Small-2-24B-Instruct-INT4-INT8-Mixed-GPTQ
Devstral-Small-2-24B-Instruct-INT4-INT8-Mixed-GPTQ is a image-text-to-text model from btbtyler09. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Mixed-precision GPTQ quantization of mistralai/Devstral-Small-2-24B-Instruct-2512.
Downloads · 30 days
264
1% of all-time downloads
All-time downloads
20.7K
Public
Parameters
44.3B
25.1 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors25.1 GB · 100%
How the weights are stored.
I3242.4B · 96%
From the Hugging Face model README
Mixed-precision GPTQ quantization of mistralai/Devstral-Small-2-24B-Instruct-2512.
The original model uses FP8 weights which perform best using hardware with native FP8 support. This GPTQ quantization provides compatibility with a wider range of GPUs. Mixed quantization used to reduce model size without significant performance degredation. This quantization sacrifices some performance and memory for better accuracy.
Quantization scheme:
q_proj, k_proj, v_proj, o_proj): INT4, group_size=128gate_proj, up_proj, down_proj): INT8, group_size=128All layers use group quantization (not channelwise) for ROCm compatibility.
Quantized using llmcompressor with GPTQ. See quantize.py for the full quantization script.
| Version | Size |
|---|---|
| Original (FP8) | ~25 GB |
| Quantized (INT4/INT8) | ~24 GB |
Evaluated on wikitext-2-raw-v1 (test set):
| Model | Perplexity | Degradation |
|---|---|---|
| Original (FP8) | 4.5408 | - |
| Quantized (INT4/INT8) | 4.6044 | +1.4% |
| cyankiwi/Devstral-Small-2-24B-Instruct-2512-AWQ-4bit | 5.0161 | +10.5% |
The 4bit AWQ quantization performs significantly faster in my testing, but you do lose some accuracy relative to the original model. That trade off may be worth it depending on your system hardware.
You will need transformers v5+ to run ministral models. Install via:
pip install transformers>=5.0.0
vllm serve btbtyler09/Devstral-Small-2-24B-Instruct-INT4-INT8-Mixed-GPTQ \
--tensor-parallel-size 4 \
--quantization compressed-tensors
Consider using VLLM_DISABLED_KERNELS=ConchLinearKernel for ROCm. On MI100s performance was degraded using these kernels.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"btbtyler09/Devstral-Small-2-24B-Instruct-INT4-INT8-Mixed-GPTQ",
device_map="auto",
trust_remote_code=True,
)
tokenizer = AutoTokenizer.from_pretrained(
"btbtyler09/Devstral-Small-2-24B-Instruct-INT4-INT8-Mixed-GPTQ"
)
This model inherits the license from the base model. See LICENSE for details.