Skip to content

[ONNX] Design ONNX exporter errors #77316

@justinchuby

Description

@justinchuby

A lot of times the onnx exporter raises Runtime errors. We can design better classes of errors to surface the right/actionable information to users.

Unsupported ops

Current behavior

torch.onnx.symbolic_registry.UnsupportedOperatorError: Exporting the operator prim::DictConstruct to ONNX opset version 14 is not supported. Please feel free to request support or submit a pull request on PyTorch GitHub.

What may be useful for users

  1. Whether it is supported in other opset versions
  2. Where and how to request support

Quantized op

Runtime error during symbolic conversion

  • Context can be included to aid troubleshooting

Metadata

Metadata

Assignees

Labels

module: onnxRelated to torch.onnxonnx-triagedtriaged by ONNX teamtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions