Skip to content

Commit 81c53d3

Browse files
committed
.
1 parent 67058ba commit 81c53d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def needs_cuda(test_item):
2222

2323

2424
def cpu_and_cuda():
25+
# TODO: Figure out how to dedupe this logic in needs_cuda() and here.
2526
if not torch.cuda.is_available():
2627
if os.environ.get("FAIL_WITHOUT_CUDA") == "1":
2728
raise RuntimeError("CUDA is required for this test")

0 commit comments

Comments
 (0)