From 0a9d495e2ef2d6e9472575d862e8fe17ca0717c8 Mon Sep 17 00:00:00 2001 From: Ricardo Vieira Date: Tue, 18 Nov 2025 11:46:09 +0100 Subject: [PATCH 1/2] Force environment dependent xfail test to fail --- tests/tensor/test_math.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/tensor/test_math.py b/tests/tensor/test_math.py index fc7f5cdd17..cac6463dfa 100644 --- a/tests/tensor/test_math.py +++ b/tests/tensor/test_math.py @@ -1411,9 +1411,7 @@ def _grad_list(self): "uint32", pytest.param( "uint64", - marks=pytest.mark.xfail( - condition=config.mode != "FAST_COMPILE", reason="Fails due to #770" - ), + marks=pytest.mark.xfail(reason="Fails due to #770"), ), ), ) @@ -1433,6 +1431,10 @@ def test_uint(self, dtype): assert max_out.dtype == dtype i_max = function([n], max_out)(data) assert i_max == itype.max + if dtype == "uint64": + assert ( + 0 + ) # It's not failing in all the CIs but we have XPASS(strict) enabled @pytest.mark.xfail( condition=config.mode != "FAST_COMPILE", reason="Fails due to #770" From 97101c4201787a5274592a938a3b45e7fa886bf7 Mon Sep 17 00:00:00 2001 From: Ricardo Vieira Date: Tue, 18 Nov 2025 12:57:04 +0100 Subject: [PATCH 2/2] New version of MLX crashing in CI --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8a28d79393..2c44c4d44f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -205,7 +205,7 @@ jobs: if [[ $INSTALL_NUMBA == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" "numba>=0.57"; fi if [[ $INSTALL_JAX == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" jax jaxlib numpyro equinox && pip install tfp-nightly; fi if [[ $INSTALL_TORCH == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" pytorch pytorch-cuda=12.1 "mkl<=2024.0" -c pytorch -c nvidia; fi - if [[ $INSTALL_MLX == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" mlx; fi + if [[ $INSTALL_MLX == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" "mlx<0.29.4"; fi if [[ $INSTALL_XARRAY == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" xarray xarray-einstats; fi pip install -e ./