Skip to content

Commit bfce802

Browse files
committed
Update on "Set up CI"
[ghstack-poisoned]
2 parents 5d90b73 + 67a4709 commit bfce802

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_extension.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def _opcheck(self, device):
6262
def test_opcheck_cpu(self):
6363
self._opcheck("cpu")
6464

65+
@unittest.skipIf(not torch.cuda.is_available(), "requires cuda")
6566
def test_opcheck_cuda(self):
6667
self._opcheck("cuda")
6768

0 commit comments

Comments
 (0)