mlx/python/tests
Awni Hannun 5798256fcf
Shapeless compilation for some graphs (#687)
* shapeless compilation for some graphs

* update compile benchmark

* default compile a few activations

* buffer donation

* bugfix

* shapeless fix

* update tests to work for cpu and gpu fusion

* test kwargs

* add kwargs to compile

* Recompile when python arguments change

* no compile for tanh

* some constant tests

---------

Co-authored-by: Angelos Katharopoulos <a_katharopoulos@apple.com>
2024-02-19 21:43:54 -08:00
..
mlx_tests.py Buffer Donation (#519) 2024-01-26 16:30:33 -08:00
test_array.py fix tolist for half types (#702) 2024-02-19 09:44:27 -08:00
test_autograd.py Fix eval in trace bugs (#612) 2024-02-02 09:57:12 -08:00
test_bf16.py bump pre commit and fix format (#373) 2024-01-04 16:28:52 -08:00
test_blas.py minor fixes (#631) 2024-02-05 13:27:49 -08:00
test_compile.py Shapeless compilation for some graphs (#687) 2024-02-19 21:43:54 -08:00
test_constants.py feat: Add numpy constants (#428) 2024-01-11 06:47:29 -08:00
test_conv.py Make shape a tuple (#591) 2024-01-30 13:11:01 -08:00
test_device.py Adds device context manager (#679) 2024-02-14 14:14:58 -08:00
test_eval.py Compile with capture (#629) 2024-02-07 17:29:22 -08:00
test_fast.py Custom primitive + RoPE fat op (#676) 2024-02-14 14:04:25 -08:00
test_fft.py Adds device context manager (#679) 2024-02-14 14:14:58 -08:00
test_graph.py Multi output primitives (#330) 2024-01-08 16:39:08 -08:00
test_init.py Make shape a tuple (#591) 2024-01-30 13:11:01 -08:00
test_linalg.py QR factorization (#310) 2024-01-26 09:27:31 -08:00
test_load.py feat: Update pre-commit-config.yaml (#667) 2024-02-11 06:08:20 -08:00
test_losses.py Feat: Add weights argument in BCE Loss and tests (#620) 2024-02-07 09:39:52 -08:00
test_nn.py Pooling layers (#357) 2024-02-12 22:08:13 -08:00
test_ops.py Added support for atleast_1d, atleast_2d, atleast_3d (#694) 2024-02-19 09:40:52 -08:00
test_optimizers.py Support LR schedulers (#334) 2024-02-15 11:26:20 -08:00
test_quantized.py Quantized matmul fix (#677) 2024-02-12 18:54:21 -08:00
test_random.py Add loc and scale to random.normal (#638) 2024-02-07 11:49:59 -08:00
test_reduce.py Add GPU support for uint64/int64 reductions (#569) 2024-01-31 11:18:04 -08:00
test_tree.py Add isort pre-commit and run (#68) 2023-12-08 11:31:47 -08:00
test_vmap.py Reduce vmap + some fixes (#601) 2024-02-01 11:30:28 -08:00