From 4298e58e52d2796f42a1f29539feaa9577934251 Mon Sep 17 00:00:00 2001 From: Luis Felipe Castano Date: Wed, 1 Nov 2023 14:51:22 -0500 Subject: [PATCH] fix: tvm list command error --- tvm/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tvm/cli.py b/tvm/cli.py index 714132b..f9ca4a6 100644 --- a/tvm/cli.py +++ b/tvm/cli.py @@ -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