-
I got this error when I try to compile int8 resnet 50 with TVM. I remember seeing this error in other context but forgot if I was able to workaround it or not... Is there an easy mitigation? I think this happens only on certain tile shapes. If this error is unavoidable, we can skip tuning on these shapes.
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
My guess is that you have too many data in a row for your tile size. Can you show me the whole string after |
Beta Was this translation helpful? Give feedback.
-
Ok here is the full log https://gist.github.com/masahi/bb3a09c4f332bf5e4189a796fb4f2a19
Since this is a static assert error, I don't think the input size matters? |
Beta Was this translation helpful? Give feedback.
-
I mean tile size, not input size.
This is too difficult for me to read. Do you have the cuda code? |
Beta Was this translation helpful? Give feedback.
-
ok here is the generated code https://gist.github.com/masahi/df9dfcd97021f3c21d1f2ca5fe3c4946 |
Beta Was this translation helpful? Give feedback.
-
Okay, this is an align1 int 8 tensor core kernel. I've never tried it. I think you can use a little bigger alignment for this tile size. The problem here is that if you store only 1 element a time, you would needs too many predicates for all the stores. |
Beta Was this translation helpful? Give feedback.
Okay, this is an align1 int 8 tensor core kernel. I've never tried it. I think you can use a little bigger alignment for this tile size.
The problem here is that if you store only 1 element a time, you would needs too many predicates for all the stores.