Views
No views yet
q_proj, k_proj, v_proj, o_proj): INT4, group_size=128gate_proj, up_proj, down_proj): INT8, group_size=128quantize.py for the full quantization script.| Version | Size |
|---|---|
| Original (FP8) | ~25 GB |
| Quantized (INT4/INT8) | ~24 GB |
| 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% |
pip install transformers>=5.0.01vllm serve btbtyler09/Devstral-Small-2-24B-Instruct-INT4-INT8-Mixed-GPTQ \
2 --tensor-parallel-size 4 \
3 --quantization compressed-tensorsVLLM_DISABLED_KERNELS=ConchLinearKernel for ROCm. On MI100s performance was degraded using these kernels.1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained(
4 "btbtyler09/Devstral-Small-2-24B-Instruct-INT4-INT8-Mixed-GPTQ",
5 device_map="auto",
6 trust_remote_code=True,
7)
8tokenizer = AutoTokenizer.from_pretrained(
9 "btbtyler09/Devstral-Small-2-24B-Instruct-INT4-INT8-Mixed-GPTQ"
10)