- Notifications
You must be signed in to change notification settings - Fork26.3k
[ONNX] Supporting different opset versions for torchlib registry#149901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
shubhambhokare1 commentedMar 24, 2025
- Allows opset_version to determine which onnx decomposition to choose
- Adds a cleanup function to modify the registry after it is built
pytorch-botbot commentedMar 24, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
🔗 Helpful Links🧪 See artifacts and rendered test results athud.pytorch.org/pr/149901
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit581da79 with merge base4447352 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
xadupre commentedMar 25, 2025
How do you specify opset for multiple domains? |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
gramalingam commentedMar 25, 2025
Is there a unit test? |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
justinchuby commentedMar 25, 2025
I recommend also implementing glu/attention. Those are the ops more frequently showing up in llms. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
shubhambhokare1 commentedApr 9, 2025
@pytorchbot rebase |
pytorchmergebot commentedApr 9, 2025
@pytorchbot started a rebase job ontorefs/remotes/origin/viable/strict. Check the current statushere |
pytorchmergebot commentedApr 9, 2025
Successfully rebased |
36cffd0 to581da79Compareshubhambhokare1 commentedApr 9, 2025
@pytorchbot merge |
pytorchmergebot commentedApr 9, 2025
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in thewiki. Questions? Feedback? Please reach out to thePyTorch DevX Team |
pytorchmergebot commentedApr 9, 2025
The mergejob 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 |
shubhambhokare1 commentedApr 9, 2025
@pytorchbot merge |
pytorchmergebot commentedApr 9, 2025
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in thewiki. Questions? Feedback? Please reach out to thePyTorch DevX Team |
| *, | ||
| trace_only:bool=False, | ||
| complex:bool=False, | ||
| opset_introduced:int=18, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Maybe set this to _constants.TORCHLIB_OPSET too?
…orch#149901)- Allows opset_version to determine which onnx decomposition to choose- Adds a cleanup function to modify the registry after it is builtPull Requestresolved:pytorch#149901Approved by:https://github.com/justinchuby,https://github.com/titaiwangms
…orch#149901)- Allows opset_version to determine which onnx decomposition to choose- Adds a cleanup function to modify the registry after it is builtPull Requestresolved:pytorch#149901Approved by:https://github.com/justinchuby,https://github.com/titaiwangms
| input_names:Sequence[str]|None=None, | ||
| output_names:Sequence[str]|None=None, | ||
| opset_version:int|None=None, | ||
| opset_version:int|None=_constants.TORCHLIB_OPSET, |
titaiwangmsJul 25, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Should we delete the None and line 70 and 71@justinchuby
Are there other contexts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
None is an allowed input in the main export api. So we accept it here