AndrewZhaoLuo commented on issue #14615: URL: https://github.com/apache/tvm/issues/14615#issuecomment-1511793932
Hey @jikechao , @echuraev is correct in that you need the VM to support dynamic shape. His code is actually correct except instead of `vmc = relay.vm.compile(model, target="llvm", params=params)` you should do `vmc = relay.vm.compile(irmod, target="llvm", params=params)` The error here is `model` is the ONNX Serialized model, while the `irmod` is the TVM serialized model (in relay). Compile takes in the relay model instead of onnx model (which is what the error is). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
