Skip to content

Commit fcf1565

Browse files
committed
skip metis test
1 parent 80fe5c0 commit fcf1565

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/test_metis.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
import pytest
21
from itertools import product
32

3+
import pytest
44
import torch
55
from torch_sparse.tensor import SparseTensor
66

77
from .utils import devices
88

99
try:
10-
torch.ops.torch_sparse.partition
10+
rowptr = torch.tensor([0, 1])
11+
col = torch.tensor([0])
12+
torch.ops.torch_sparse.partition(rowptr, col, None, 1)
1113
with_metis = True
1214
except RuntimeError:
1315
with_metis = False

0 commit comments

Comments
 (0)