Skip to content

Commit

Permalink
[fbsync] [Python 3.12] Fix for, Dynamo is not supported on Python 3.1…
Browse files Browse the repository at this point in the history
…2+ error (#8137)

Reviewed By: vmoens

Differential Revision: D52539000

fbshipit-source-id: bb0932eea527064eec4faae9ab96a1ea2ef8038c
  • Loading branch information
NicolasHug authored and facebook-github-bot committed Jan 16, 2024
1 parent fe72eb7 commit 6d80a82
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ def main() -> None:
if torch.cuda.is_available():
smoke_test_torchvision_decode_jpeg("cuda")
smoke_test_torchvision_resnet50_classify("cuda")
smoke_test_compile()

# TODO: remove once pytorch/pytorch#110436 is resolved
if sys.version_info < (3, 12, 0):
smoke_test_compile()

if torch.backends.mps.is_available():
smoke_test_torchvision_resnet50_classify("mps")
Expand Down

0 comments on commit 6d80a82

Please sign in to comment.