[TVM Discuss] [Development] VM executor AlterOpLayout broken

2020-06-24 Thread Wuwei Lin via TVM Discuss
When I Used VMExecutor to run a CNN model, it threw an error ``` RuntimeError: Check failed: VerifyMemory(func): Direct host side access to device memory is detected. Did you forget to bind? PrimFunc([placeholder, transform_weight]) attrs={"global_symbol": "fused_nn_contrib_conv2d_winograd_wei

[TVM Discuss] [Development] Conflict with XGBoost when Thrust is enabled

2020-06-11 Thread Wuwei Lin via TVM Discuss
Unfortunately I'm not able to reproduce in a docker right now. I'll update here if I find a way to reproduce it --- [Visit Topic](https://discuss.tvm.ai/t/conflict-with-xgboost-when-thrust-is-enabled/6889/4) to respond. You are receiving this because you enabled mailing list mode. To un

[TVM Discuss] [Development] Conflict with XGBoost when Thrust is enabled

2020-06-04 Thread Wuwei Lin via TVM Discuss
When `USE_THRUST=ON`, unknown CUDA error happened: ``` File "/home/ubuntu/tvm/src/runtime/cuda/cuda_device_api.cc", line 108 CUDA: Check failed: e == cudaSuccess || e == cudaErrorCudartUnloading: unknown error ``` It can be reproduced with the following script ``` import numpy as np import tvm

[TVM Discuss] [Development] [Quantization] Add support for conv2D transpose

2020-05-02 Thread Wuwei Lin via TVM Discuss
It is a missing feature. Rules should be added to https://github.com/apache/incubator-tvm/blob/master/python/tvm/relay/quantize/_annotate.py and https://github.com/apache/incubator-tvm/blob/master/src/relay/quantize/calibrate.cc For performance part, you might also need to take a look of `conv

[TVM Discuss] [Development] Can customized convolution operator be fused with topi.nn.relu?

2019-10-17 Thread Wuwei Lin via TVM Discuss
You need call traverse_inline in your schedule function, which should be similar to `schedule_conv2d_nchw` --- [Visit Topic](http://tracking.discuss.tvm.ai/tracking/click?d=HAfqW0WEU_lor6ZW857wZyOyMAsmW1aj1uWgF-pZAaGc7CpXi4Zg5tueK7PhYq-5pJbdmXn8wG8ZG7HHibk2M3RJjyE5k8jp7fMWA6eY9fbayCkrmg1gv

[TVM Discuss] [Development] Quantization broken due to PR #3135

2019-07-06 Thread Wuwei Lin via TVM Discuss
Okay I will send a patch --- [Visit Topic](https://discuss.tvm.ai/t/quantization-broken-due-to-pr-3135/3237/4) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/9aef064ab6d6d8

[TVM Discuss] [Development] [solved][Relay] Broken case of type infer

2019-07-02 Thread Wuwei Lin via TVM Discuss
solved in latest master --- [Visit Topic](https://discuss.tvm.ai/t/solved-relay-broken-case-of-type-infer/3169/2) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/a3f9cac923e

[TVM Discuss] [Development] Improving quantization accuracy with more precise bias

2019-05-08 Thread Wuwei Lin via TVM Discuss
The above example after annotation: ``` data || sim_quantize(QINPUT) sim_quantize(QINPUT) || add(bn_bias) | ... / | add ``` data is usually output of previous conv2d. There are duplicated simula

[TVM Discuss] [Development] [Relay] Sub-functions printed in reverse order

2019-03-22 Thread Wuwei Lin via TVM Discuss
This issue is introduced by https://github.com/dmlc/tvm/pull/2605 It is useful to print relay ir after passes for debug. Adding `print(ir_pass.pass_debug_print(func, show_meta_data=False))` after `ir_pass.fuse_ops` in relay.build_module, sub-functions are printted in reverse order which are d