We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b611fb0 commit a3263c1Copy full SHA for a3263c1
test/smoke_test.py
@@ -136,7 +136,7 @@ def main() -> None:
136
smoke_test_torchvision_resnet50_classify("cuda")
137
138
# torch.compile is not supported on Python 3.14+ and Python built with GIL disabled
139
- if sys.version_info < (3, 14, 0) and sysconfig.get_config_var("Py_GIL_DISABLED") == 0:
+ if sys.version_info < (3, 14, 0) and not sysconfig.get_config_var("Py_GIL_DISABLED"):
140
smoke_test_compile()
141
142
if torch.backends.mps.is_available():
0 commit comments