Skip to content

Commit 738919b

Browse files
committed
reproduce
1 parent 2f902ae commit 738919b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/smoke_test/smoke_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def smoke_test_cuda(package: str) -> None:
8181
import torchvision
8282
# There is an issue with current windows runners calling conda from python
8383
# https://github.com/pytorch/test-infra/issues/1054
84-
if installation_str.find("nightly") != -1 or platform.system() == "Windows" :
84+
if installation_str.find("nightly") != -1:
8585
# just print out cuda version, as version check were already performed during import
8686
print(f"torchvision cuda: {torch.ops.torchvision._cuda_version()}")
8787
print(f"torchaudio cuda: {torch.ops.torchaudio.cuda_version()}")

0 commit comments

Comments
 (0)