I have succesfully created my own custom datatype (and some custom operators on
this datatype) following the example as in:
[https://tvm.apache.org/docs/how_to/extend_tvm/bring_your_own_datatypes.html](https://tvm.apache.org/docs/how_to/extend_tvm/bring_your_own_datatypes.html)
This works great
I have created a custom datatype in a model that I can compile and run. So far
so good.
Now I would like to optimize the execution of this model by using the
AutoScheduler. However, each of the child processes that are started by the
Autoscheduler errors out with the following error:
No:
@vinx13 I am sorry. I am not an TVM-expert. Your answer is too short for me to
understand. Can you elaborate your answer in more detail?
---
[Visit
Topic](https://discuss.tvm.apache.org/t/custom-datatypes-in-autoscheduler/12377/3)
to respond.
You are receiving this because you enabled ma
@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)