We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e51a327 commit 65a4b5dCopy full SHA for 65a4b5d
test/smoke_test/smoke_test.py
@@ -37,7 +37,7 @@ def check_version(package: str) -> None:
37
if channel == "nightly":
38
check_nightly_binaries_date(options.package)
39
else:
40
- if torch.__version__ != stable_version:
+ if torch.__version__.startswith(stable_version):
41
raise RuntimeError(
42
f"Torch version mismatch, expected {stable_version} for channel {channel}. But its {torch.__version__}"
43
)
0 commit comments