Quantization: Block floating-point MX FP4 (microscaling)
Precision: ~4 bits/weight
Group size: 32
Disk size: 4253 MB
Quantized by:
sahilchachra
Microscaling (MX) block floating-point quantization at FP4 precision. Uses a shared floating-point exponent per block of 32 weights instead of integer affine scaling. Different numerical properties vs affine int4 — may suit different workloads.
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-mxfp4-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-mxfp4-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.