mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[ONNX] Set dump_exported_program to True in bench (#131670)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/131670 Approved by: https://github.com/titaiwangms
This commit is contained in:
committed by
PyTorch MergeBot
parent
85fa66be04
commit
9db567f17d
@ -1690,7 +1690,7 @@ class OnnxModelFromTorchScript(OnnxModel):
|
||||
torch_onnx.patch_torch(
|
||||
error_report=True,
|
||||
profile=True,
|
||||
dump_exported_program=False,
|
||||
dump_exported_program=True,
|
||||
artifacts_dir=os.path.dirname(output_path),
|
||||
)
|
||||
else:
|
||||
|
Reference in New Issue
Block a user