ollama/x
Jesse Gross 2b4a99376c nn: speed up prefill on double-scale nvfp4 models
ModelOpt checkpoints apply a float32 global scale to every projection
output on top of the per-group quantization scales. Running the
multiply and the cast back to the activation dtype as separate eager
ops costs an extra kernel launch and a materialized intermediate per
projection.

Compile the multiply and cast into one kernel. On an M5 Max (medians
of order-swapped A/B runs against main; greedy outputs byte-identical):

    qwen3.6:27b        prefill  703 -> 769 t/s  +7.9%
    muse-glimmer:30b   prefill  790 -> 843 t/s  +6.7%

Speculative decode is unchanged within noise on both models. Only
checkpoints with a global scale are affected; single-scale nvfp4,
mxfp8, and affine checkpoints take the unchanged path.
2026-08-12 13:25:33 -07:00
..
create nemotron_h: support the Nemotron 3.5 prompt layout (#17672) 2026-08-11 06:18:51 -07:00
imagegen/manifest imagegen: remove MLX image generation code (#16615) 2026-07-28 15:35:28 -07:00
internal Release v0.32.7 (#17646) 2026-08-10 04:04:56 -07:00
mlxrunner mlx: implement Nemotron 3 Nano Omni (#17060) 2026-08-10 21:42:34 -07:00
models nn: speed up prefill on double-scale nvfp4 models 2026-08-12 13:25:33 -07:00
quant mlx: x/create rewrite (#16919) 2026-07-03 18:30:45 -07:00
safetensors mlx: Support NVIDIA TensorRT Model Optimizer import (#15566) 2026-04-27 18:28:10 -07:00
server mlx: x/create rewrite (#16919) 2026-07-03 18:30:45 -07:00
tokenizer Release v0.32.7 (#17646) 2026-08-10 04:04:56 -07:00
transfer test: harden flaky updater and transfer unit tests (#17378) 2026-07-24 13:23:30 -07:00