mlx/examples
Awni Hannun 4ba0c24a8f
Export / import functions to / from a file (#1642)
* export and import functions

* refactor + works for few primitives

* nit

* allow primitives with state

* nit

* nit

* simplify serialize / deserialize

* fix for constants

* python bindings

* maybe fix serialize failure case

* add example

* more primitives, training kind of works

* same result for python and c++

* some fixes

* fix export

* template it up

* some simplificatoin

* rebase

* allow kwargs and multiple functions

* exporter

* more primitives for exporting

* deal with endianness

* handle invalid stream

* add docstring
2024-12-24 11:19:13 -08:00
..
cpp Remove "using namespace mlx::core" in benchmarks/examples (#1685) 2024-12-11 07:08:29 -08:00
export Export / import functions to / from a file (#1642) 2024-12-24 11:19:13 -08:00
extensions Bump nanobind to 2.4 + fix (#1710) 2024-12-17 10:57:54 -08:00
python Added MSE message (#500) 2024-01-19 06:27:50 -08:00