Mlx

Latest version: v0.21.0

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

Scan your dependencies

Page 4 of 7

0.14.1

Not secure
🚀

0.14.0

Not secure
Highlights

* Small-size build that JIT compiles kernels and omits the CPU backend which results in a binary <4MB
- Series of PRs [1](https://github.com/ml-explore/mlx/pull/1105), [2](https://github.com/ml-explore/mlx/pull/1123), [3](https://github.com/ml-explore/mlx/pull/1091), [4](https://github.com/ml-explore/mlx/pull/1132), [5](https://github.com/ml-explore/mlx/pull/1139)
* `mx.gather_qmm` quantized equivalent for `mx.gather_mm` which speeds up MoE inference by ~2x
- [Some numbers](https://github.com/ml-explore/mlx-examples/pull/782)
* Grouped 2D convolutions
- [Some numbers](https://github.com/ml-explore/mlx/pull/1129)


Core

* `mx.conjugate`
* `mx.conv3d` and `nn.Conv3d`
* List based indexing
* Started `mx.distributed` which uses MPI (if installed) for communication across machines
- `mx.distributed.init`
- `mx.distributed.all_gather`
- `mx.distributed.all_reduce_sum`
* Support conversion to and from dlpack
* `mx.linalg.cholesky` on CPU
* `mx.quantized_matmul` sped up for vector-matrix products
* `mx.trace`
* `mx.block_masked_mm` now supports floating point masks!

Fixes

* Error messaging in eval
* Add some missing docs
* Scatter index bug
* The extensions example now compiles and runs
* CPU copy bug with many dimensions

0.13.1

Not secure
🚀

0.13.0

Not secure
Highlights
* Block sparse matrix multiply speeds up MoEs by >2x
* [some numbers](https://github.com/ml-explore/mlx/pull/1058)
* Improved quantization algorithm should work well for all networks
* [see evaluations](https://github.com/ml-explore/mlx/pull/1061)
* Improved gpu command submission speeds up training and inference
* [some numbers](https://github.com/ml-explore/mlx/pull/1085)

Core
* Bitwise ops added:
- `mx.bitwise_[or|and|xor]`, `mx.[left|right]_shift`, operator overloads
* Groups added to Conv1d
* Added `mx.metal.device_info` to get better informed memory limits
* Added resettable memory stats
* `mlx.optimizers.clip_grad_norm` and `mlx.utils.tree_reduce` added
* Add `mx.arctan2`
* Unary ops now accept array-like inputs ie one can do `mx.sqrt(2)`

Bugfixes
* Fixed shape for slice update
* Bugfix in quantize that used slightly wrong scales/biases
* Fixed memory leak for multi-output primitives encountered with gradient checkpointing
* Fixed conversion from other frameworks for all datatypes
* Fixed index overflow for matmul with large batch size
* Fixed initialization ordering that occasionally caused segfaults

0.12.2

Not secure

0.12.1

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.