This is an automated email from the ASF dual-hosted git repository. tqchen pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push: new 5dc9627 [Metal] Remove matching Metal to OpenCL in tophub (#8211) 5dc9627 is described below commit 5dc962711b177f90de1560cb530ad3e3bee06d39 Author: Egor Churaev <egor.chur...@gmail.com> AuthorDate: Wed Jun 9 17:11:11 2021 +0300 [Metal] Remove matching Metal to OpenCL in tophub (#8211) --- python/tvm/autotvm/tophub.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/tvm/autotvm/tophub.py b/python/tvm/autotvm/tophub.py index f346b33..5c0a463 100644 --- a/python/tvm/autotvm/tophub.py +++ b/python/tvm/autotvm/tophub.py @@ -65,7 +65,6 @@ def _alias(name): """convert alias for some packages""" table = { "vtacpu": "vta", - "metal": "opencl", "webgpu": "opencl", "vulkan": "opencl", "nvptx": "cuda", @@ -201,6 +200,8 @@ def load_reference_log(backend, model, workload_name): """ backend = _alias(backend) + if backend not in PACKAGE_VERSION: + return [] version = PACKAGE_VERSION[backend] package_name = "%s_%s.log" % (backend, version) filename = Path(AUTOTVM_TOPHUB_ROOT_PATH, package_name)