Skip to content

Commit

Permalink
fix: tvm list command error
Browse files Browse the repository at this point in the history
  • Loading branch information
luisfelipec95 committed Nov 1, 2023
1 parent 2b5e5b1 commit 4298e58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tvm/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def list_versions(limit: int):
version_names = lister(limit=limit)
local_versions = version_manager.local_versions(f"{TVM_PATH}")
version_names = list(set(version_names + local_versions))
version_names = [str(version_name) for version_name in version_names]
version_names = sorted(version_names, reverse=False, key=LooseVersion)
global_active = version_manager.current_version(f"{TVM_PATH}")
project_version = None
Expand Down

0 comments on commit 4298e58

Please sign in to comment.