Unverified Commit a0fcd083 authored by Andrey Talman's avatar Andrey Talman Committed by GitHub
Browse files

Remove limitation for torch.compile and python 3.11 (#8102)

parent ef2c281a
...@@ -44,8 +44,6 @@ def smoke_test_compile() -> None: ...@@ -44,8 +44,6 @@ def smoke_test_compile() -> None:
except RuntimeError: except RuntimeError:
if sys.platform == "win32": if sys.platform == "win32":
print("Successfully caught torch.compile RuntimeError on win") print("Successfully caught torch.compile RuntimeError on win")
elif sys.version_info >= (3, 11, 0):
print("Successfully caught torch.compile RuntimeError on Python 3.11")
else: else:
raise raise
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment