You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/02/10 18:40:07 UTC

[GitHub] [tvm] leandron commented on pull request #7427: Make the TVM targets list available in Python

leandron commented on pull request #7427:
URL: https://github.com/apache/tvm/pull/7427#issuecomment-776924911


   > I reviewed the changes again based on the discussion. Why don't we just add a syntactic sugar`Target.list_tags().keys()` in the Python side so that we don't need a new function?
   
   I might be wrong, but I was looking into the sources and trying to understand this. When  you mention `list_tags()`, are you referring to `tvm.target.tag.list_tags()`?
   
   If so, I'm not getting what I expected to get from there, is that a bug?
   ```
   >>> tvm.target.tag.list_tags()
   {"nvidia/gtx1080ti": cuda -keys=cuda,gpu -arch=sm_61 -max_num_threads=1024 -thread_warp_size=32, "nvidia/rtx2080ti": cuda -keys=cuda,gpu -arch=sm_75 -max_num_threads=1024 -thread_warp_size=32}
   ```
   
   @junrushao1994, what is the conceptual difference between `kind` and `tag`, in the target jargon?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org