From 725b50d4369390450726cc321b0db34001b8ce4a Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Mon, 7 Jul 2025 09:13:59 -0500 Subject: [PATCH 1/3] Temporary mute tests failing in public CI --- dpnp/tests/test_product.py | 5 +++++ dpnp/tests/test_umath.py | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/dpnp/tests/test_product.py b/dpnp/tests/test_product.py index 5fa74edfe2d8..5d790821feef 100644 --- a/dpnp/tests/test_product.py +++ b/dpnp/tests/test_product.py @@ -12,7 +12,9 @@ assert_dtype_allclose, generate_random_numpy_array, get_all_dtypes, + is_gpu_device, is_ptl, + is_win_platform, numpy_version, ) from .third_party.cupy import testing @@ -2167,6 +2169,9 @@ class TestVecmat: def setup_method(self): numpy.random.seed(42) + @pytest.mark.skip( + is_win_platform() and not is_gpu_device(), reason="SAT-8073" + ) @pytest.mark.parametrize("dtype", get_all_dtypes(no_none=True)) @pytest.mark.parametrize( "shape1, shape2", diff --git a/dpnp/tests/test_umath.py b/dpnp/tests/test_umath.py index 56f55de2f1c7..ce4aca631df3 100644 --- a/dpnp/tests/test_umath.py +++ b/dpnp/tests/test_umath.py @@ -23,6 +23,7 @@ has_support_aspect64, is_cuda_device, is_gpu_device, + is_win_platform, ) # full list of umaths @@ -121,6 +122,9 @@ def test_umaths(test_cases): pytest.skip("dpnp.modf is not supported with dpnp.float16") elif is_cuda_device(): pytest.skip("dpnp.modf is not supported on CUDA device") + elif umath == "vecmat": + if is_win_platform() and not is_gpu_device(): + pytest.skip("SAT-8073") expected = getattr(numpy, umath)(*args) result = getattr(dpnp, umath)(*iargs) From fc42d7ceb7493c6ea87ac0aec8fec98d73cd2922 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Mon, 7 Jul 2025 09:57:52 -0500 Subject: [PATCH 2/3] Fix typo in skip command --- dpnp/tests/test_product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpnp/tests/test_product.py b/dpnp/tests/test_product.py index 5d790821feef..f644933a8eac 100644 --- a/dpnp/tests/test_product.py +++ b/dpnp/tests/test_product.py @@ -2169,7 +2169,7 @@ class TestVecmat: def setup_method(self): numpy.random.seed(42) - @pytest.mark.skip( + @pytest.mark.skipif( is_win_platform() and not is_gpu_device(), reason="SAT-8073" ) @pytest.mark.parametrize("dtype", get_all_dtypes(no_none=True)) From 22aef148e7a25e6aa21f06cbed462febcdf11f24 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Mon, 7 Jul 2025 11:04:42 -0500 Subject: [PATCH 3/3] Apply the same temporary w/a to tests with dpnp.matvec --- dpnp/tests/test_product.py | 3 +++ dpnp/tests/test_umath.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dpnp/tests/test_product.py b/dpnp/tests/test_product.py index f644933a8eac..983fd2161d2d 100644 --- a/dpnp/tests/test_product.py +++ b/dpnp/tests/test_product.py @@ -1443,6 +1443,9 @@ class TestMatvec: def setup_method(self): numpy.random.seed(42) + @pytest.mark.skipif( + is_win_platform() and not is_gpu_device(), reason="SAT-8073" + ) @pytest.mark.parametrize("dtype", get_all_dtypes(no_none=True)) @pytest.mark.parametrize( "shape1, shape2", diff --git a/dpnp/tests/test_umath.py b/dpnp/tests/test_umath.py index ce4aca631df3..0039d74789f7 100644 --- a/dpnp/tests/test_umath.py +++ b/dpnp/tests/test_umath.py @@ -122,7 +122,7 @@ def test_umaths(test_cases): pytest.skip("dpnp.modf is not supported with dpnp.float16") elif is_cuda_device(): pytest.skip("dpnp.modf is not supported on CUDA device") - elif umath == "vecmat": + elif umath in ["vecmat", "matvec"]: if is_win_platform() and not is_gpu_device(): pytest.skip("SAT-8073")