]> khamidou — GitHub mirrors - safetensors.git/commit
Adding MLX backend. (#419)
authorNicolas Patry <patry.nicolas@protonmail.com>
Fri, 5 Jan 2024 13:36:08 +0000 (14:36 +0100)
committerGitHub <noreply@github.com>
Fri, 5 Jan 2024 13:36:08 +0000 (14:36 +0100)
commit56659f4b87b1433b2ed240e662e23c76fcf57dc3
treed794dee62883fda40a71fc3c4993a8d65ecb6b32
parent1006cd7053d3fdc389f82884429902e0eae95c76
Adding MLX backend. (#419)

* Adding MLX backend.

* Apply suggestions from code review

Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
* Update bindings/python/py_src/safetensors/mlx.py

Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
* Update bindings/python/py_src/safetensors/mlx.py

Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
---------

Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
bindings/python/benches/test_mlx.py [new file with mode: 0644]
bindings/python/py_src/safetensors/mlx.py [new file with mode: 0644]
bindings/python/src/lib.rs
bindings/python/tests/test_mlx_comparison.py [new file with mode: 0644]