[Apache TVM Discuss] [Questions] Adding manual scratchpad management code in custom TIR pass

2022-06-07 Thread 夏余鑫 via Apache TVM Discuss
Hello, is your problem solved now? I also encountered a similar problem. --- [Visit Topic](https://discuss.tvm.apache.org/t/adding-manual-scratchpad-management-code-in-custom-tir-pass/8614/4) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from th

[Apache TVM Discuss] [Questions] How do I add custom data load and write back through TIR?

2022-06-07 Thread 夏余鑫 via Apache TVM Discuss
This is the relationship and the source of the data: ![image|622x499](upload://qZxuxp1ZZwlyFisdyyu8KSww53p.png) In the picture, the top is what I have and the bottom is what I want. Among them: x == A,y == B,z == C; GM2LM is data loading LM2GM is data write back How can I add something to TIR to

[Apache TVM Discuss] [Questions] Intution on why this int8 algorithm is slower?

2022-06-07 Thread masahi via Apache TVM Discuss
Maybe the slowdown is due to int16 fallback? Or, since you modified the compute, the "right" schedule may not be getting called. --- [Visit Topic](https://discuss.tvm.apache.org/t/intution-on-why-this-int8-algorithm-is-slower/12920/2) to respond. You are receiving this because you enable

[Apache TVM Discuss] [Questions] Intution on why this int8 algorithm is slower?

2022-06-07 Thread Wheest via Apache TVM Discuss
I've been exploring quantization in TVM, and one thing that I found that on the CPU there is a special compute/schedule for running int8 conv2d on the CPU ([see here](https://github.com/apache/tvm/blob/main/python/tvm/topi/x86/conv2d_int8.py#L132)). From what I can tell, it seems to be pret

[Apache TVM Discuss] [Questions] [Tensorflow] AttributeError: has no attribute name_hint

2022-06-07 Thread Homagni Saha via Apache TVM Discuss
Hello, I have a very similar problem I was trying to implement deeplabv3plus using this code - https://github.com/keras-team/keras-io/blob/master/examples/vision/deeplabv3_plus.py The model compiles in tensorflow, also able to convert to onnx but finally when I run this function mod, params =