MLX LM 0.31.0 release notes
MLX LM 0.31.0 was released on March 7, 2026. The latest version is 0.32.2.
Release notes
What's Changed
- Fix save/load of CacheList by @angeloskath in https://github.com/ml-explore/mlx-lm/pull/886
- Share model by @angeloskath in https://github.com/ml-explore/mlx-lm/pull/871
- Fix mixed quant predicates for MLA models by @spicyneuron in https://github.com/ml-explore/mlx-lm/pull/892
- Add JoyAI LLM Flash by @kernelpool in https://github.com/ml-explore/mlx-lm/pull/894
- perplexity: add --trust-remote-code option by @ivanfioravanti in https://github.com/ml-explore/mlx-lm/pull/896
- server: add usage.prompt_tokens_details.cached_tokens to json response by @percontation in https://github.com/ml-explore/mlx-lm/pull/849
- Fix qwen3.5 casting to fp32 by @awni in https://github.com/ml-explore/mlx-lm/pull/902
- Fix sharded rms norm in MiniMax M2.5 by @angeloskath in https://github.com/ml-explore/mlx-lm/pull/898
- Bump for next version by @awni in https://github.com/ml-explore/mlx-lm/pull/904
- Add tie_word_embeddings modulars in mistral and qwen3 moe by @Goekdeniz-Guelmez in https://github.com/ml-explore/mlx-lm/pull/889
- Allow reading LFM2 models nested rope params by @ykhrustalev in https://github.com/ml-explore/mlx-lm/pull/908
- Improve the cache size limits by @angeloskath in https://github.com/ml-explore/mlx-lm/pull/906
- Make the cache limits more friendly by @angeloskath in https://github.com/ml-explore/mlx-lm/pull/910
- Add 'mx.clear_cache()' to piecewise prompt processing in server. by @N8python in https://github.com/ml-explore/mlx-lm/pull/917
- Add filter guard to ArraysCache.nbytes property by @f1yn in https://github.com/ml-explore/mlx-lm/pull/918
- Add tokens to eval to avoid large graphs when they are not used by @awni in https://github.com/ml-explore/mlx-lm/pull/924
- Clear the cache during batch generation by @awni in https://github.com/ml-explore/mlx-lm/pull/926
- Fix qwen3.5 sanitize by @awni in https://github.com/ml-explore/mlx-lm/pull/928
- step3p5: use rotating cache for sliding attention layers by @lyonsno in https://github.com/ml-explore/mlx-lm/pull/949
- Proposal:
--prefill-step-sizeas cmd line argument for speed/memory usage trade-off by @Abioy in https://github.com/ml-explore/mlx-lm/pull/943 - fix:
convert()uses incorrect defaults for quantization mode by @spicyneuron in https://github.com/ml-explore/mlx-lm/pull/935 - Bump minor by @angeloskath in https://github.com/ml-explore/mlx-lm/pull/954
- Ensure normalization does not promote to fp32 by @angeloskath in https://github.com/ml-explore/mlx-lm/pull/951
- Better caching in the server by @angeloskath in https://github.com/ml-explore/mlx-lm/pull/911
- Adds tensor parallelism for Qwen 3.5 by @angeloskath in https://github.com/ml-explore/mlx-lm/pull/957
New Contributors
- @spicyneuron made their first contribution in https://github.com/ml-explore/mlx-lm/pull/892
- @ykhrustalev made their first contribution in https://github.com/ml-explore/mlx-lm/pull/908
- @f1yn made their first contribution in https://github.com/ml-explore/mlx-lm/pull/918
- @lyonsno made their first contribution in https://github.com/ml-explore/mlx-lm/pull/949
- @Abioy made their first contribution in https://github.com/ml-explore/mlx-lm/pull/943
Full Changelog: https://github.com/ml-explore/mlx-lm/compare/v0.30.7...v0.31.0
Source: GitHub release v0.31.0