Hi
I encounter following error when convert JIT trace to tvm.relayIR:
NotImplementedError: The following operators are not implemented: [‘prim::PythonOp’, ‘aten::ger’, ‘aten::or’, ‘aten::view_as’, ‘aten::index_put_’]
I know how to handle other four operators except prim::PythonOp.
Does anyone know how to solve this unimplemented Operator?
If I print out jit graph, I can’t saw prim::PythonOp in the graph. Thus I don’t know where it comes from.
I definitely use model.eval() and I know there’s post about unimplemented PythonOp which can be solved with tvm.relay.op.vision.roi_align. But my issue here is the model is very big and I don’t know where does this PythonOp come from.
Any suggestions?