Skip to content

Commit

Permalink
[BugFix,Feature] Optional non_blocking in set, to_module and update (#…
Browse files Browse the repository at this point in the history
…718)

(cherry picked from commit 2dc0285)
  • Loading branch information
vmoens committed Apr 3, 2024
1 parent f601549 commit b4d05e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ def write_version_file(version):
def _get_pytorch_version(is_nightly):
# if "PYTORCH_VERSION" in os.environ:
# return f"torch=={os.environ['PYTORCH_VERSION']}"
if is_nightly:
return "torch>=2.3.0.dev"
return "torch>=2.2.1"
return "torch==2.2.2"


def _get_packages():
Expand Down

0 comments on commit b4d05e0

Please sign in to comment.