12. Frequently Asked Questions (FAQs)ΒΆ
Q: How to resolve the following error message when compiling an ONNX model exported from PyTorch?
ERROR:TVMC: dynamic shape not supported.
A: This error could be caused by exporting a PyTorch model with dynamic input and output shapes. For example, if your
torch.onnx.export()
call contains adynamic_axes
argument, remove it.