Uniform MLX-native affine int4 (group size 32): every quantized tensor — routed MoE experts, Mamba in/out projections, attention q/k/v/o, shared experts, MoE latent projections — is 4-bit; router gate, conv1d, embeddings and lm_head stay bf16.
It trades fidelity for speed versus
mlx-community/Nemotron-3-Ultra-550B-A55B (which keeps the mixing path at int8): ~32% faster decode, at an output-logit cosine of 0.9906 vs the int8-mixing model's 0.9958 (top-1 token agreement 97.9% vs 98.7%) against the source model.
1from mlx_lm import load, generate
2
3model, tokenizer = load("mlx-community/Nemotron-3-Ultra-550B-A55B-4bit")
4
5prompt = "hello"
6
7if tokenizer.chat_template is not None:
8 messages = [{"role": "user", "content": prompt}]
9 prompt = tokenizer.apply_chat_template(
10 messages, add_generation_prompt=True
11 )
12
13response = generate(model, tokenizer, prompt=prompt, verbose=True)