[TVM Discuss] [Questions] Custom Pass is not working from tutorial

2020-04-07 Thread adi-muresan via TVM Discuss
@zhiics done! It's [here](https://github.com/apache/incubator-tvm/pull/5259). --- [Visit Topic](https://discuss.tvm.ai/t/custom-pass-is-not-working-from-tutorial/5549/7) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click he

[TVM Discuss] [Questions] Custom Pass is not working from tutorial

2020-04-06 Thread Zhi via TVM Discuss
@adi-muresan Thanks. Could you file a PR to fix the tutorial? --- [Visit Topic](https://discuss.tvm.ai/t/custom-pass-is-not-working-from-tutorial/5549/6) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://disc

[TVM Discuss] [Questions] Custom Pass is not working from tutorial

2020-04-06 Thread adi-muresan via TVM Discuss
Works! Also needed to change the multiplier constant type to `float32` from `float` as the latter was auto-inferred to `float64` on my system, which caused a type error: custom_pass = CustomPipeline(multiplier=relay.const(3, "float32")) --- [Visit Topic](https://discuss.tvm.ai/t/cust

[TVM Discuss] [Questions] Custom Pass is not working from tutorial

2020-04-03 Thread Zhi via TVM Discuss
This is a careless typo in the tutorial. We actually need `visit_constant`. A PR to fix it is welcome. --- [Visit Topic](https://discuss.tvm.ai/t/custom-pass-is-not-working-from-tutorial/5549/4) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe fro

[TVM Discuss] [Questions] Custom Pass is not working from tutorial

2020-04-03 Thread Haichen Shen via TVM Discuss
@zhiics could you take a look at this question? --- [Visit Topic](https://discuss.tvm.ai/t/custom-pass-is-not-working-from-tutorial/5549/3) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.ai/ema

[TVM Discuss] [Questions] Custom Pass is not working from tutorial

2020-04-01 Thread adi-muresan via TVM Discuss
Experiencing the same problem here. The tutorial on [implementing a pass using python decorators](https://docs.tvm.ai/tutorials/dev/relay_pass_infra.html#implement-a-pass-using-python-decorator) does not seem to work. While `transform_function` is being called, its wrapping `visit_const` is n