I’m using relay.frontend.from_pytorch
to convert pytorch model, but face some problem on this:
File “TSM_tvm.py”, line 52, in torch2tvm_module
relay_module, params = tvm.relay.frontend.from_pytorch(scripted_model, shape_list)
File “/home/po/Desktop/tvm/python/tvm/relay/frontend/pytorch.py”, line 3996, in from_pytorch
converter.report_missing_conversion(op_names)
File “/home/po/Desktop/tvm/python/tvm/relay/frontend/pytorch.py”, line 3202, in report_missing_conversion
raise NotImplementedError(msg)
NotImplementedError: The following operators are not implemented: [‘aten::triu’, ‘prim::PythonOp’, ‘aten::copy_’]
python v3.8, pytorch v1.7.0, TVM v0.9
Can anyone help me? Thanks