[Apache TVM Discuss] [Questions] Hierarchy in TVM

2022-03-15 Thread Xqdan via Apache TVM Discuss
Is it possibile to extend tf/pytorch to keep this information? --- [Visit Topic](https://discuss.tvm.apache.org/t/hierarchy-in-tvm/12306/3) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.

[Apache TVM Discuss] [Application] TVM Community Survey

2021-06-23 Thread Xqdan via Apache TVM Discuss
[quote="hogepodge, post:1, topic:10305"] What platforms are you using TVM for? * [ ] X86 CPU * [ ] ARM CPU * [ ] Other CPU * [ ] NVidia GPU * [ ] AMD GPU * [ ] Other GPU * [ ] Embedded Platform [/quote] We are using TVM for DSA NPU, can you add one option, thanks! --- [Visit Topic](https:/

[Apache TVM Discuss] [Questions] Do we have any way to process codegen with more fine grade control?

2021-05-07 Thread Xqdan via Apache TVM Discuss
I post an exmple for intrinsics choosing. ``` for (i, 0, 65535) { C[i] = (A[i] + B[i]) } ``` ``` Call Engine: veadd_mm // normal ===stmt cost : 2061.94 (smallest cost) shape : 1x65535 [ tx.veadd_mm(tir.tvm_access_ptr(tir.type_annotation(), C, (int64)0, (int64)65535, 2), tir.tvm_access_ptr(

[Apache TVM Discuss] [Questions] Do we have any way to process codegen with more fine grade control?

2021-05-06 Thread Xqdan via Apache TVM Discuss
All we need is **a target backend which can emit and optimize intrinsic ir**. Let's take a look at what we've done in akg, which is a tensor compiler for Davinci core based on tvm. ![image|690x317](upload://jTGrmmQAzngMTBGlRI2CgNBry9x.png) **Why we do this?** 1) NPU has more SIMD intrinsics

[Apache TVM Discuss] [Questions] ReduceNode in TIR

2020-10-29 Thread Xqdan via Apache TVM Discuss
Hi, ReduceNode only exisits in ScheduleOps for the tvm 0.6, is it still true in latest tvm? if it is true, I'm confused two passes after ScheduleOps have ReduceNode logical. Can anyone explain a little bit? Thanks in advance. https://github.com/apache/incubator-tvm/blob/1831c17998b29f3797f364