[Apache TVM Discuss] [Questions] Generate native C code from TVM IR

2021-12-27 Thread masahi via Apache TVM Discuss
I think "native C-code generation" is used for more niche use cases like micro-TVM / embedded, but yes, we don't typically emit native C code for convolution kernels etc. --- [Visit Topic](https://discuss.tvm.apache.org/t/generate-native-c-code-from-tvm-ir/11792/2) to respond. You are r

[Apache TVM Discuss] [Questions] [BYOC][ONNX] Question about indices tensor of gather-scatter ops

2021-12-27 Thread masahi via Apache TVM Discuss
[quote="Nullko, post:1, topic:11778"] My accelerator runtime’s Gather-Scatter ops require `i32` indices tensors, however, by default Relay uses `i64` indices, is there a simple way to set all indices tensors in a Relay graph to `i32` dtype? [/quote] I don't see an easy way for this, may be you

[Apache TVM Discuss] [Questions] RuntimeWarning: Iterating over a tensor might cause the trace to be incorrect

2021-12-27 Thread masahi via Apache TVM Discuss
This is coming from PyTorch, not TVM. --- [Visit Topic](https://discuss.tvm.apache.org/t/runtimewarning-iterating-over-a-tensor-might-cause-the-trace-to-be-incorrect/11779/2) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [clic

[Apache TVM Discuss] [Questions] Question about what TVM does

2021-12-27 Thread masahi via Apache TVM Discuss
For now, we only support inference. But the community is definitely interested in training support and some people are already working on it. There are some related talks during the TVMcon (recordings will be uploaded next year soon). --- [Visit Topic](https://discuss.tvm.apache.org/t/que

[Apache TVM Discuss] [Questions] [TensorIR] Question on the AutoScheduler-style design space generation

2021-12-27 Thread Yuxiang Wei via Apache TVM Discuss
Hi community, recently I have been studying TVM's auto-scheduler, both [Ansor](https://www.usenix.org/system/files/osdi20-zheng.pdf) for TE and [AutoTIR](https://github.com/apache/tvm-rfcs/blob/main/rfcs/0005-meta-schedule-autotensorir.md) for TensorIR. I read the Ansor paper and basically und