Skip to content

Commit f0a397c

Browse files
authored
Mute tests with dpnp.cumlogsumexp (#2728)
The PR proposes temporary disable tests with `dpnp.cumlogsumexp` when `axis is None` and running on PTL GPU device. The tests must be enabled back once the issue in internal CI is resolved.
1 parent 0ecd18e commit f0a397c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dpnp/tests/test_mathematical.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
has_support_aspect16,
3434
has_support_aspect64,
3535
is_intel_numpy,
36+
is_ptl,
3637
numpy_version,
3738
)
3839
from .third_party.cupy import testing
@@ -217,6 +218,9 @@ def _get_exp_array(self, a, axis, dtype):
217218
@pytest.mark.parametrize("axis", [None, 2, -1])
218219
@pytest.mark.parametrize("include_initial", [True, False])
219220
def test_basic(self, dtype, axis, include_initial):
221+
if axis is None and is_ptl():
222+
pytest.skip("due to SAT-8336")
223+
220224
a = dpnp.ones((3, 4, 5, 6, 7), dtype=dtype)
221225
res = dpnp.cumlogsumexp(a, axis=axis, include_initial=include_initial)
222226

@@ -234,6 +238,9 @@ def test_basic(self, dtype, axis, include_initial):
234238
@pytest.mark.parametrize("axis", [None, 2, -1])
235239
@pytest.mark.parametrize("include_initial", [True, False])
236240
def test_include_initial(self, dtype, axis, include_initial):
241+
if axis is None and is_ptl():
242+
pytest.skip("due to SAT-8336")
243+
237244
a = dpnp.ones((3, 4, 5, 6, 7), dtype=dtype)
238245

239246
if dpnp.issubdtype(a, dpnp.float32):

0 commit comments

Comments
 (0)