Skip to content

Enable tests for dpnp.einsum since dpctl issue is resolved #2425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dpnp/tests/test_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def test_ones(self, dtype):
@pytest.mark.parametrize("dtype", get_all_dtypes(no_bool=True))
def test_arange(self, dtype):
n = 10**2
m = 10**3 if dtype is not dpnp.float32 else 10**2
m = 10**3 if dtype not in [dpnp.float32, dpnp.complex64] else 10**2
a = numpy.hstack((numpy.arange(n, dtype=dtype),) * m)
b = numpy.flipud(a)
ia = dpnp.array(a)
Expand Down
2 changes: 0 additions & 2 deletions dpnp/tests/third_party/cupy/linalg_tests/test_einsum.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,6 @@ def test_einsum_unary_views(self, xp, dtype):
def test_einsum_unary_dtype(self, xp, dtype_a, dtype_out):
if not numpy.can_cast(dtype_a, dtype_out):
pytest.skip()
if cupy.issubdtype(dtype_a, cupy.unsignedinteger):
pytest.skip("dpctl-2055")
a = testing.shaped_arange(self.shape_a, xp, dtype_a)
return xp.einsum(self.subscripts, a, dtype=dtype_out)

Expand Down
Loading