Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

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

Lines changed: 1 addition & 1 deletion
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)