[ONNX] Improves documentation of ONNX exporter#135372
[ONNX] Improves documentation of ONNX exporter#135372xadupre wants to merge 5 commits intopytorch:mainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/135372
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 4fecb3f with merge base 24482e5 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
torch/onnx/__init__.py
Outdated
| :func:`torch.export.export` for more details. This is only used when dynamo is True. | ||
| Only one parameter `dynamic_axes` or `dynamic_shapes` should be set | ||
| at the same time. |
There was a problem hiding this comment.
Thanks! I was meaning to improve this one. Would it be possible to include a note:
| :func:`torch.export.export` for more details. This is only used when dynamo is True. | |
| Only one parameter `dynamic_axes` or `dynamic_shapes` should be set | |
| at the same time. | |
| :func:`torch.export.export` for more details. This is only used (and preferred) when dynamo is True. | |
| Only one parameter `dynamic_axes` or `dynamic_shapes` should be set | |
| at the same time. |
There was a problem hiding this comment.
For dynamic_axes:
[...] When dynamo=True, a best effort conversion is done to convert to the dynamic_shapes argument for :func:`torch.export.export`.
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@pytorchbot merge -f "docs" |
|
You need to provide a reason for using force merge, in the format @pytorchbot merge -f 'Explanation'.
|
|
@pytorchbot merge -f "documentation updates only" |
|
The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
The PR updates the documentation to reflect the changes introduced in pytorch 2.5 and related to onnx exporter. Pull Request resolved: pytorch#135372 Approved by: https://github.com/justinchuby Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com> (cherry picked from commit 5e14586)
The PR updates the documentation to reflect the changes introduced in pytorch 2.5 and related to onnx exporter. Pull Request resolved: #135372 Approved by: https://github.com/justinchuby Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com> (cherry picked from commit 5e14586) Co-authored-by: Xavier Dupré <xadupre@users.noreply.github.com>
The PR updates the documentation to reflect the changes introduced in pytorch 2.5 and related to onnx exporter. Pull Request resolved: pytorch#135372 Approved by: https://github.com/justinchuby Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
The PR updates the documentation to reflect the changes introduced in pytorch 2.5 and related to onnx exporter.