Post
35
v1.1 of my integer-only Mistral models 🔢
These models run with **no floating-point operation at inference**: RMSNorm, RoPE, attention and softmax, SwiGLU and the output head are all computed with integers (int8 products, int32/int64 accumulators, lookup tables, fixed-point rescaling). Weights are 4-bit.
This update replaces the inference code only. Weights are unchanged and logits are **bit-identical to v1.0** (SHA-256 compared on A100 and L4), so all published quality results still hold.
**Mistral-7B-v0.1-entier-W4** now uses the engine of the 24B model:
| GPU | BF16 | Integer v1.1 |
|---|---|---|
| A100 80 GB, generation | 25.1 tok/s | **61.0 tok/s** |
| L4 24 GB, generation | 16.6 tok/s | **33.6 tok/s** |
| Peak GPU memory | 14.0 GB | **5.7 GB** |
Short context, batch 1, both measured in the same session.
**Mistral-Small-24B-Base-entier-W4**
• Reworked 4-bit matrix kernel and per-GPU tiles: prompt processing ×1.3 to ×1.7
• Zero-shot lm-eval against BF16, same scoring code, paired bootstrap: −0.47 points on average over ARC-Easy, ARC-Challenge, PIQA, WinoGrande and HellaSwag; the model picks the same answer as BF16 on 95–98 % of questions
**Limits, honestly:** prompt processing is still 3–4× slower than BF16, and on an L4 BF16 is faster at a 2048-token context (decoding attention is not a fused kernel yet). That's the next step.
Models:
muquanta-axel-v17/Mistral-7B-v0.1-entier-W4
muquanta-axel-v17/Mistral-Small-24B-Base-entier-W4
Demos:
muquanta-axel-v17/Mistral-7B-entier-W4
muquanta-axel-v17/Mistral-Small-24B-entier-W4
These models run with **no floating-point operation at inference**: RMSNorm, RoPE, attention and softmax, SwiGLU and the output head are all computed with integers (int8 products, int32/int64 accumulators, lookup tables, fixed-point rescaling). Weights are 4-bit.
This update replaces the inference code only. Weights are unchanged and logits are **bit-identical to v1.0** (SHA-256 compared on A100 and L4), so all published quality results still hold.
**Mistral-7B-v0.1-entier-W4** now uses the engine of the 24B model:
| GPU | BF16 | Integer v1.1 |
|---|---|---|
| A100 80 GB, generation | 25.1 tok/s | **61.0 tok/s** |
| L4 24 GB, generation | 16.6 tok/s | **33.6 tok/s** |
| Peak GPU memory | 14.0 GB | **5.7 GB** |
Short context, batch 1, both measured in the same session.
**Mistral-Small-24B-Base-entier-W4**
• Reworked 4-bit matrix kernel and per-GPU tiles: prompt processing ×1.3 to ×1.7
• Zero-shot lm-eval against BF16, same scoring code, paired bootstrap: −0.47 points on average over ARC-Easy, ARC-Challenge, PIQA, WinoGrande and HellaSwag; the model picks the same answer as BF16 on 95–98 % of questions
**Limits, honestly:** prompt processing is still 3–4× slower than BF16, and on an L4 BF16 is faster at a 2048-token context (decoding attention is not a fused kernel yet). That's the next step.
Models:
muquanta-axel-v17/Mistral-7B-v0.1-entier-W4
muquanta-axel-v17/Mistral-Small-24B-Base-entier-W4
Demos:
muquanta-axel-v17/Mistral-7B-entier-W4
muquanta-axel-v17/Mistral-Small-24B-entier-W4