Skip to content

Commit

Permalink
[Versioning] Fix torch deps (pytorch#2340)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens authored Aug 2, 2024
1 parent c2c487b commit 812f936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ def _get_pytorch_version(is_nightly, is_local):
# if "PYTORCH_VERSION" in os.environ:
# return f"torch=={os.environ['PYTORCH_VERSION']}"
if is_nightly:
return "torch>=2.4.0.dev"
return "torch>=2.5.0.dev"
elif is_local:
return "torch"
return "torch>=2.3.0"
return "torch>=2.4.0"


def _get_packages():
Expand Down

0 comments on commit 812f936

Please sign in to comment.