Skip to content

Commit a3263c1

Browse files
committed
fix_logic
1 parent b611fb0 commit a3263c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/smoke_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def main() -> None:
136136
smoke_test_torchvision_resnet50_classify("cuda")
137137

138138
# 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:
139+
if sys.version_info < (3, 14, 0) and not sysconfig.get_config_var("Py_GIL_DISABLED"):
140140
smoke_test_compile()
141141

142142
if torch.backends.mps.is_available():

0 commit comments

Comments
 (0)