KEMBAR78
[ONNX] Set fallback=False by default · Issue #162697 · pytorch/pytorch · GitHub
Skip to content

[ONNX] Set fallback=False by default #162697

@justinchuby

Description

@justinchuby

Setting fallback=True in torch.onnx.export complicates the error messages for users using the exporter with default settings, who are expecting the exporter to take the dynamo path. It will tall users to provide the f arg, for example, and flushes the dynamo error messages with torchscript errors if both paths fails etc.

Overall, it leads to a confusing experience and IMO should only be turned on at user request.

cc @titaiwangms @xadupre

Metadata

Metadata

Assignees

Labels

module: onnxRelated to torch.onnxtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions