echuraev commented on code in PR #13874:
URL: https://github.com/apache/tvm/pull/13874#discussion_r1091540942
##########
python/tvm/autotvm/tophub.py:
##########
@@ -110,6 +110,8 @@ def context(target, extra_files=None):
device = tgt.attrs.get("device", "")
if device != "":
possible_names.append(_alias(device))
+ for k in tgt.keys:
+ possible_names.append(k)
Review Comment:
Please add an explanatory comment to describe what you are trying to fix
here.
Also, probably this would work in the same way?
```suggestion
possible_names.extend(tgt.keys)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]