Skip to content

Commit

Permalink
torch version compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Lzhang-hub committed Jun 19, 2024
1 parent e0e095f commit 5872724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlrover/trainer/torch/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@


def version_less_than_230():
return Version(torch.__version__) < Version("2.3.0")
return Version(torch.__version__) <= Version("2.2.2")

0 comments on commit 5872724

Please sign in to comment.