Commit fcf15650 authored by rusty1s's avatar rusty1s
Browse files

skip metis test

parent 80fe5c0f
import pytest
from itertools import product from itertools import product
import pytest
import torch import torch
from torch_sparse.tensor import SparseTensor from torch_sparse.tensor import SparseTensor
from .utils import devices from .utils import devices
try: try:
torch.ops.torch_sparse.partition rowptr = torch.tensor([0, 1])
col = torch.tensor([0])
torch.ops.torch_sparse.partition(rowptr, col, None, 1)
with_metis = True with_metis = True
except RuntimeError: except RuntimeError:
with_metis = False with_metis = False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment