Skip to content

Commit

Permalink
No torch 3.13 support on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
gaogaotiantian committed Nov 15, 2024
1 parent e5504cd commit bf04f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_torch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def support_torch():
if sys.platform == "win32":
return sys.version_info < (3, 13)
if sys.platform == "darwin":
return platform.machine().lower() == "arm64"
return platform.machine().lower() == "arm64" and sys.version_info < (3, 13)


@package_matrix(["~torch", "torch"] if support_torch() else ["~torch"])
Expand Down

0 comments on commit bf04f2f

Please sign in to comment.