-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Closed
Labels
module: onnxRelated to torch.onnxRelated to torch.onnxonnx-triagedtriaged by ONNX teamtriaged by ONNX teamtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
🚀 The feature, motivation and pitch
onnx.export only support onnx opset up to version 18. There have been many updates and new operators added since version 18 in ONNX as required from real use cases. For example: #100790
New dynamo export is in progress. It does not run on Windows. Existing users may already have torch.onnx.export in place and have difficulty migrating to dynamo export.
Alternatives
None.
register custom op is not a solution. If one calls torch.onnx.export with version=20, it will fail for many reasons due to amount of op changes since version 18.
One may be able to export to version 18 with customer ops and then use version converter to convert the exported model to version 20. There are likely unexpected errors in the path as well.
Additional context
No response
Metadata
Metadata
Assignees
Labels
module: onnxRelated to torch.onnxRelated to torch.onnxonnx-triagedtriaged by ONNX teamtriaged by ONNX teamtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Type
Projects
Status
Done