Skip to content

Skip upstream failing tests. #231

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
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: 2 additions & 0 deletions test/test_sparse.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ def test_shape(sparse_dims, nnz, with_size):
test_shape(3, 10, [100, 100, 100, 5, 5, 5, 0])
test_shape(3, 0, [0, 0, 100, 5, 5, 5, 0])

@skipIfRocm
def test_Sparse_to_Sparse_copy_(self):
# This is for testing torch.copy_(SparseTensor, SparseTensor)
sparse_dims = 3
Expand Down Expand Up @@ -535,6 +536,7 @@ def test_Sparse_to_Sparse_copy_(self):
self.assertEqual(None, x1.grad)

@unittest.skipIf(torch.cuda.device_count() < 2, "no multi-GPU")
@skipIfRocm
def test_Sparse_to_Sparse_copy_multi_gpu(self):
# This is for testing torch.copy_(SparseTensor, SparseTensor) across GPU devices
sparse_dims = 3
Expand Down