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

pull/3898/head^2
Liu Ziming 2023-06-05 15:57:35 +08:00 committed by GitHub
parent dbb32692d2
commit 8065cc5fba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ def get_launch_command(
extra_launch_args = dict()
torch_version = version.parse(torch.__version__)
assert torch_version.major == 1
assert torch_version.major >= 1
if torch_version.minor < 9:
cmd = [