mlx/python/tests
Awni Hannun 4758c8baa1
Start to cleanup/unify accelerate and common back-ends (Part 1/N) (#1777)
* start to cleanup/unify accelerate and common back-ends

* more progress

* simplify

* add half type and allow infs in simd exp

* unify softmax + quantized, more dispatches to simd quantized mm

* add sin/cos, use simd in vector-scalar ops

* faster CPU vectorize quant

* faster erf/erfinv
2025-01-29 14:34:49 -08:00
..
mlx_tests.py Make MLX build on x64 macOS (#901) 2024-03-27 06:14:29 -07:00
mpi_test_distributed.py Ring distributed backend (#1784) 2025-01-27 22:15:01 -08:00
ring_test_distributed.py Ring distributed backend (#1784) 2025-01-27 22:15:01 -08:00
run_ring_test.sh Ring distributed backend (#1784) 2025-01-27 22:15:01 -08:00
test_array.py Dynamic slicing (#1741) 2025-01-07 14:02:16 -08:00
test_autograd.py matmul jvps (#1772) 2025-01-17 10:36:26 -08:00
test_bf16.py fix creating array from bf16 tensors in jax / torch (#1305) 2024-08-01 16:20:51 -07:00
test_blas.py Masked gemv (#1211) 2024-06-14 09:52:26 -07:00
test_compile.py recompile when shapeless is different (#1776) 2025-01-20 21:07:10 -08:00
test_constants.py Array api (#1289) 2024-07-26 10:40:49 -07:00
test_conv_transpose.py Fix cpu segfault (#1488) 2024-10-14 16:17:03 -07:00
test_conv.py add dilation for conv 3d layers + test for 3d conv w/ dilation (#1802) 2025-01-28 06:17:07 -08:00
test_device.py Adds device context manager (#679) 2024-02-14 14:14:58 -08:00
test_einsum.py Einsum ellipsis (#1788) 2025-01-25 01:28:03 -08:00
test_eval.py More buffer donation with no-ops (#1591) 2024-11-18 08:35:41 -08:00
test_export_import.py Export / import functions to / from a file (#1642) 2024-12-24 11:19:13 -08:00
test_fast_sdpa.py Add boolean mask support in vector SDPA (#1757) 2025-01-07 20:24:53 -08:00
test_fast.py Fix rope fallback to not upcast (#1797) 2025-01-26 19:07:21 -08:00
test_fft.py throw for invalid case and remove test (#1575) 2024-11-08 12:04:03 -08:00
test_graph.py Multi output primitives (#330) 2024-01-08 16:39:08 -08:00
test_init.py feat: Add orthogonal initializer and corresponding tests (#1651) 2025-01-13 07:29:20 -08:00
test_linalg.py non square qr (#1783) 2025-01-21 14:07:47 -08:00
test_load.py Export / import functions to / from a file (#1642) 2024-12-24 11:19:13 -08:00
test_losses.py Improve stability of BCE loss calculation for input probabilities close to or exactly 0 or 1 (#1280) 2024-07-24 08:38:22 -07:00
test_metal.py Wired (#1510) 2024-10-25 09:35:33 -07:00
test_nn.py Limit grad recursion depth by not recursing through non-grad inputs (#1764) 2025-01-14 14:33:18 -08:00
test_ops.py Start to cleanup/unify accelerate and common back-ends (Part 1/N) (#1777) 2025-01-29 14:34:49 -08:00
test_optimizers.py Support bias correction in Adam and AdamW optimizers (#1640) 2024-12-06 12:13:34 -08:00
test_quantized.py Start to cleanup/unify accelerate and common back-ends (Part 1/N) (#1777) 2025-01-29 14:34:49 -08:00
test_random.py No reshapes in quantized embedding (#1682) 2024-12-09 18:57:38 -08:00
test_reduce.py Reduce specializations (#1607) 2024-11-21 19:53:00 -08:00
test_tree.py Add isort pre-commit and run (#68) 2023-12-08 11:31:47 -08:00
test_upsample.py Upsample with bicubic interpolation (#967) 2024-04-10 15:47:22 -07:00
test_vmap.py No reshapes in quantized embedding (#1682) 2024-12-09 18:57:38 -08:00