[Apache TVM Discuss] [Questions] How to I use prefetch with GPU codegen

2020-10-12 Thread Zhiying Xu via Apache TVM Discuss
I am facing the same problem with prefetching data from shared mem to registers. Did you solve this? --- [Visit Topic](https://discuss.tvm.apache.org/t/how-to-i-use-prefetch-with-gpu-codegen/7294/2) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe

[Apache TVM Discuss] [Questions] Dose TVM only support dense operation?

2020-10-12 Thread yufeng via Apache TVM Discuss
Hi, I follow the build step in https://discuss.tvm.apache.org/t/tvm-and-blas-libraries/4760 to use the mkl-dnn. Then I run the script tutorials/get_started/relay_quick_start.py and print the module ir. It seems the convolution operation not use mkldnn. After that, I grep the src/include/pyth

[Apache TVM Discuss] [Questions] Auto-scheduling for lstm operator

2020-10-12 Thread jialipang via Apache TVM Discuss
Hi Experts, @Lianminzheng @jcf94 I tried to define a new operator for lstm network.The computation declaration for lstm op has been tested and it is correct. Now I want to use auto-scheduling to automatically generate a large search space and find a good schedule in the space. But it can no

[Apache TVM Discuss] [Questions] Can the TVM stack target RISC-V?

2020-10-12 Thread Davide Giri via Apache TVM Discuss
Hello, I've seen a few posts talking about RISC-V support, but it's not clear to me what the current state is. Could anybody clarify to what extent RISC-V is supported? Could you provide some pointers to repositories or documentation? Thank you very much! --- [Visit Topic](https://discus

[Apache TVM Discuss] [Questions] [iOS- Auto Tvm] Auto Tuning was not happening for iOS metal target

2020-10-12 Thread Morita Kazutaka via Apache TVM Discuss
@Dileep Can you run tests/ios_rpc_test.py successfully? Your tuning script can run against the llvm target? Can you try the following patch and check if something changes or not? ``` diff --git a/python/tvm/autotvm/measure/local_executor.py b/python/tvm/autotvm/measure/local_executor.py index

[Apache TVM Discuss] [Questions] Prefetch shared memory to registers

2020-10-12 Thread Zhiying Xu via Apache TVM Discuss
Hi, everyone For cuda target, I first fetch data from global memory to shared memory, then I want to achieve software pipeline by prefetching some data from shared memory to registers since shared memory request may consume tens of cycles and sometimes even longer. However, the underlying pr

[Apache TVM Discuss] [Questions] [iOS- Auto Tvm] Auto Tuning was not happening for iOS metal target

2020-10-12 Thread Dileep via Apache TVM Discuss
Hi Team, Any suggestion on the above issue . Thanks --- [Visit Topic](https://discuss.tvm.apache.org/t/ios-auto-tvm-auto-tuning-was-not-happening-for-ios-metal-target/8115/2) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [cl

[Apache TVM Discuss] [Questions] How to verify the correctness of different schedule and tile size in autotvm?

2020-10-12 Thread HaoyuChi via Apache TVM Discuss
The verification code I extracted is: ``` import logging import numpy as np import tvm import random import sys import math import timeit from tvm import relay from tvm import autotvm def numpyBaseline(M,K,N): np_repeat = 100 np_runing_time = timeit.timeit(setup='import numpy\n'

[Apache TVM Discuss] [Questions] How to verify the correctness of different schedule and tile size in autotvm?

2020-10-12 Thread HaoyuChi via Apache TVM Discuss
In my understanding, autotvm implements operators based on opreation and schedule defination. For example, there are pack and no pack implementations in x86/dense.py. In the process of autotuning, the implementation-defined configs are fed into the actual measurement, but No such correctness

[Apache TVM Discuss] [Questions] Add new backend

2020-10-12 Thread Minisparrow via Apache TVM Discuss
this may have some help. https://discuss.tvm.apache.org/t/how-to-retarget-tvm-to-a-new-asic-chip-as-a-device-code-generator/1276/10 https://discuss.tvm.apache.org/t/rfc-support-cce-target-name-in-tvm/922/8 https://tvm.apache.org/docs/tutorials/language/tensorize.html#sphx-glr-tutorials-langua