Mlx

Latest version: v0.21.0

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

Scan your dependencies

Page 2 of 7

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

0.17.3

🚀

0.17.1

🐛

0.17.0

Highlights
* `mx.einsum`: [PR](https://github.com/ml-explore/mlx/pull/1269)
* Big speedups in reductions: [benchmarks](https://github.com/ml-explore/mlx/pull/1300#issuecomment-2303267940)
* 2x faster model loading: [PR](https://github.com/ml-explore/mlx/pull/1330)
* `mx.fast.metal_kernel` for custom GPU kernels: [docs](https://ml-explore.github.io/mlx/build/html/dev/custom_metal_kernels.html)

Core
* Faster program exits
* Laplace sampling
* `mx.nan_to_num`
* `nn.tanh` gelu approximation
* Fused GPU quantization ops
* Faster group norm
* bf16 winograd conv
* vmap support for `mx.scatter`
* `mx.pad` "edge" padding
* More numerically stable `mx.var`
* `mx.linalg.cholesky_inv`/`mx.linalg.tri_inv`
* `mx.isfinite`
* Complex `mx.sign` now mirrors NumPy 2.0 behaviour
* More flexible `mx.fast.rope`
* Update to `nanobind` 2.1

Bug Fixes
* gguf zero initialization
* expm1f overflow handling
* bfloat16 hadamard
* large arrays for various ops
* rope fix
* bf16 array creation
* preserve dtype in `nn.Dropout`
* `nn.TransformerEncoder` with `norm_first=False`
* excess copies from contiguity bug

0.16.3

🚀

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.