[Apache TVM Discuss] [Questions] Custom datatypes in AutoScheduler?

2022-03-25 Thread Victor van Acht via Apache TVM Discuss
@vinx13 I modified reset_global_scope() in env.py into the following: import tvm def reset_global_scope(global_scope): """Reset global autotvm state. This is needed to initialize PopenPool workers.""" global GLOBAL_SCOPE GLOBAL_SCOPE.deep_copy(global_scope)

[Apache TVM Discuss] [Questions] How params are converted and stored in lib.get_params()

2022-03-25 Thread Ligeng Zhu via Apache TVM Discuss
@Ganler But if we change the `mod[‘main’]` to `mod`, then the if-statement is not entered and the binding is not performed ```python lib = relay.build(mod, target="llvm", params=tp) print(len(lib.get_params().keys())) # 1 ``` And I added `print(mod)` before and after https://github.com/apach

[Apache TVM Discuss] [Questions] Custom datatypes in AutoScheduler?

2022-03-25 Thread Wuwei Lin via Apache TVM Discuss
The modified code looks good to me. Maybe you can double check what's going on inside those registrations, e.g. checking whether the mapping in c++ side is indeed updated when `register` is called --- [Visit Topic](https://discuss.tvm.apache.org/t/custom-datatypes-in-autoscheduler/12377/6

[Apache TVM Discuss] [Questions] [AOT] Ordering of functions definition is random

2022-03-25 Thread Gilles Miet via Apache TVM Discuss
@mehrdadh Big thank for the fix ! --- [Visit Topic](https://discuss.tvm.apache.org/t/aot-ordering-of-functions-definition-is-random/12287/3) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apach