justinchuby / torch-onnx

Prototype of the next torch exporter
MIT License
1 stars 1 forks source link

Throw only torch.export errors #81

Closed justinchuby closed 2 weeks ago

justinchuby commented 2 weeks ago

We throw e_export and not e_trace because we want to focus on the torch.export.export error. The torch.jit.trace error is due to the fallback and can be confusing to users. e_trace is still saved in the error report and will include e_export as well.