Mlx

Latest version: v0.24.1

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 9

0.19.3

🚀

0.19.2

🚀🚀

0.19.1

🚀

0.19.0

Highlights
* Speed improvements
* Up to 6x faster CPU indexing [benchmarks](https://github.com/ml-explore/mlx/pull/1450)
* Faster Metal compiled kernels for strided inputs [benchmarks](https://github.com/ml-explore/mlx/pull/1486)
* Faster generation with fused-attention kernel [benchmarks](https://github.com/ml-explore/mlx/pull/1497)
* Gradient for grouped convolutions
* Due to Python 3.8's end-of-life we no longer test with it on CI

Core
* New features
* Gradient for grouped convolutions
* `mx.roll`
* `mx.random.permutation`
* `mx.real` and `mx.imag`
* Performance
* Up to 6x faster CPU indexing [benchmarks](https://github.com/ml-explore/mlx/pull/1450)
* Faster CPU sort [benchmarks](https://github.com/ml-explore/mlx/pull/1453)
* Faster Metal compiled kernels for strided inputs [benchmarks](https://github.com/ml-explore/mlx/pull/1486)
* Faster generation with fused-attention kernel [benchmarks](https://github.com/ml-explore/mlx/pull/1497)
* Bulk eval in safetensors to avoid unnecessary serialization of work
* Misc
* Bump to nanobind 2.2
* Move testing to python 3.9 due to 3.8's end-of-life
* Make the GPU device more thread safe
* Fix the submodule stubs for better IDE support
* CI generated docs that will never be stale

NN
* Add support for grouped 1D convolutions to the nn API
* Add some missing type annotations

Bugfixes
* Fix and speedup row-reduce with few rows
* Fix normalization primitive segfault with unexpected inputs
* Fix complex power on the GPU
* Fix freeing deep unevaluated graphs [details](https://github.com/ml-explore/mlx/pull/1462)
* Fix race with `array::is_available`
* Consistently handle softmax with all `-inf` inputs
* Fix streams in affine quantize
* Fix CPU compile preamble for some linux machines
* Stream safety in CPU compilation
* Fix CPU compile segfault at program shutdown

0.18.1

Fix for 139

What's Changed
* Support using class probabilities as targets in `func crossEntropy()` by minghuaw in https://github.com/ml-explore/mlx-swift/pull/142
* Change default reduction type of `binaryCrossEntropy` to `mean` by minghuaw in https://github.com/ml-explore/mlx-swift/pull/144
* Add the groups parameter to MLXNN.Conv1d by lucasnewman in https://github.com/ml-explore/mlx-swift/pull/154
* switch to v0.18.1 mlx tag by davidkoski in https://github.com/ml-explore/mlx-swift/pull/155

New Contributors
* lucasnewman made their first contribution in https://github.com/ml-explore/mlx-swift/pull/154

**Full Changelog**: https://github.com/ml-explore/mlx-swift/compare/0.18.0...0.18.1

0.18.0

* move to v0.18.0 of mlx

- https://github.com/ml-explore/mlx-c v0.0.10
- https://github.com/ml-explore/mlx/compare/v0.16.0...v0.18.0

* turn on additional swift 6 concurrency checks and fix issues

Page 3 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.