Unverified Commit 8065cc5f authored by Liu Ziming's avatar Liu Ziming Committed by GitHub
Browse files

Modify torch version requirement to adapt torch 2.0 (#3896)

parent dbb32692
...@@ -154,7 +154,7 @@ def get_launch_command( ...@@ -154,7 +154,7 @@ def get_launch_command(
extra_launch_args = dict() extra_launch_args = dict()
torch_version = version.parse(torch.__version__) torch_version = version.parse(torch.__version__)
assert torch_version.major == 1 assert torch_version.major >= 1
if torch_version.minor < 9: if torch_version.minor < 9:
cmd = [ cmd = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment