Skip to content

Commit

Permalink
[fbsync] Remove limitation for torch.compile and python 3.11 (#8102)
Browse files Browse the repository at this point in the history
Reviewed By: vmoens

Differential Revision: D51391964

fbshipit-source-id: 50052fd556ecd6c42cdfbc2ab5c0030eb3e83708
  • Loading branch information
NicolasHug authored and facebook-github-bot committed Nov 16, 2023
1 parent 34f7aa6 commit 85546aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ def smoke_test_compile() -> None:
except RuntimeError:
if sys.platform == "win32":
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:
raise

Expand Down

0 comments on commit 85546aa

Please sign in to comment.