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 2022/04/22 21:46:46 UTC

[GitHub] [tvm] Lunderberg commented on pull request #11097: [TVMScript] Support TVMScript meta-programming

Lunderberg commented on PR #11097:
URL: https://github.com/apache/tvm/pull/11097#issuecomment-1106907278

   I put together [a gist with some meta-parameter tests](https://gist.github.com/Lunderberg/dd38f82810e4e06c0834087d4a96bda9).  The convolution at the start is the sort of thing I'd like to be able to express.  The later tests were me experimenting with things that felt like they should work, but not all of them do.  The main categories of the failures I made were:
   
   * Couldn't get the `T.Buffer` type annotation to work with a meta-parameter for shape/dtype.
   * Some Dtype meta-parameters work, but must be passed through as strings when used in `T.alloc_buffer` or `T.match_buffer`.  Type annotations require `tir_prefix.name` types, and do not work with strings.  I'd like to have a definitive dtype that could be used as a meta-parameter.


-- 
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: commits-unsubscribe@tvm.apache.org

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