[Backport release-26.05] python3Packages.mlx: skip flaky test on darwin (#555598)

This commit is contained in:
Ihar Hrachyshka
2026-08-23 03:23:22 +00:00
committed by GitHub

View File

@@ -141,6 +141,12 @@ buildPythonPackage (finalAttrs: {
"test_orthogonal"
"test_vmap_inverse"
"test_vmap_svd"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# M1 Accelerate bug, to be fixed in macOS:
# https://github.com/ml-explore/mlx/issues/3200
# https://github.com/ml-explore/mlx/pull/3563#issuecomment-4784288696
"test_gather_qmm_sorted"
];
disabledTestPaths = lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64) [