Quantization: Block floating-point MX FP8 (microscaling)
Precision: ~8 bits/weight
Group size: 32
Disk size: 8249 MB
Quantized by:
sahilchachra
Microscaling (MX) block floating-point quantization at FP8 precision. Uses a shared floating-point exponent per block of 32 weights. Compared to affine int8: same bit-width, different numerical format.
Evaluated on Apple M5 Pro with MLX. All metrics measured in a single pass (model loaded once).
1from mlx_lm import load, generate
2
3model, tokenizer = load("sahilchachra/granite-4.1-8b-mxfp8-mlx")
4response = generate(model, tokenizer, prompt="Your prompt here", max_tokens=512, verbose=True)
1from mlx_lm import load, stream_generate
2
3model, tokenizer = load("sahilchachra/granite-4.1-8b-mxfp8-mlx")
4for chunk in stream_generate(model, tokenizer, prompt="Your prompt here", max_tokens=512):
5 print(chunk.text, end="", flush=True)
See
ibm-granite/granite-4.1-8b for full model details, training information, and intended use.