From a118b8001df6c5f5ec7cef045cb58b95055cd394 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 5 May 2026 12:07:11 -0700 Subject: [PATCH 1/2] Skip failed test due to known driver issue --- .../third_party/cupy/math_tests/test_misc.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/dpnp/tests/third_party/cupy/math_tests/test_misc.py b/dpnp/tests/third_party/cupy/math_tests/test_misc.py index dcc3c4017c6b..0098994a3bff 100644 --- a/dpnp/tests/third_party/cupy/math_tests/test_misc.py +++ b/dpnp/tests/third_party/cupy/math_tests/test_misc.py @@ -4,7 +4,12 @@ import pytest import dpnp as cupy -from dpnp.tests.helper import has_support_aspect64, numpy_version +from dpnp.tests.helper import ( + has_support_aspect64, + is_lts_driver, + is_win_platform, + numpy_version, +) from dpnp.tests.third_party.cupy import testing @@ -113,6 +118,14 @@ def check_unary_inf_nan(self, name, xp, dtype): @testing.for_dtypes(["e", "f", "d", "F", "D"]) @testing.numpy_cupy_array_equal() def check_binary_nan(self, name, xp, dtype): + if ( + not is_win_platform() + and not is_lts_driver() + and name == "minimum" + and dtype == numpy.float16 + ): + pytest.skip("GSD-12679") + a = xp.array( [-3, numpy.nan, -1, numpy.nan, 0, numpy.nan, 2], dtype=dtype ) From 9b742d94d72fa6c98b9c94000bb04f816fd1ba45 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Tue, 5 May 2026 12:08:02 -0700 Subject: [PATCH 2/2] Remove enum for unused LTS version 1.3 --- dpnp/tests/helper.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dpnp/tests/helper.py b/dpnp/tests/helper.py index c0778777ec5e..2cb230fe25dc 100644 --- a/dpnp/tests/helper.py +++ b/dpnp/tests/helper.py @@ -13,7 +13,6 @@ class LTS_VERSION(Enum): - V1_3 = "1.3" V1_6 = "1.6" @@ -489,7 +488,7 @@ def is_lnl(device=None): return _get_dev_mask(device) == 0x6400 -def is_lts_driver(version=LTS_VERSION.V1_3, device=None): +def is_lts_driver(version=LTS_VERSION.V1_6, device=None): """ Return True if a test is running on a GPU device with LTS driver version, False otherwise.