Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ONNX] Relax not exist assertion for 'register_pytree_node' #107245

Closed
wants to merge 2 commits into from

Conversation

BowenBao
Copy link
Collaborator

@BowenBao BowenBao commented Aug 15, 2023

Stack from ghstack (oldest at bottom):

To not conflict with potential existing workaround or solution outside of exporter.
Latest huggingface/transformers main (>4.31) patches PyTorch PyTree with support over ModelOutput class.
_PyTreeExtensionContext is kept to support prior versions of transformers.

To not conflict with potential existing workaround or solution outside of exporter.
Latest huggingface/transformers main (>4.31) patches PyTorch PyTree with support over `ModelOutput` class.
`_PyTreeExtensionContext` is kept to support prior versions of transformers.

[ghstack-poisoned]
BowenBao added a commit that referenced this pull request Aug 15, 2023
To not conflict with potential existing workaround or solution outside of exporter.
Latest huggingface/transformers main (>4.31) patches PyTorch PyTree with support over `ModelOutput` class.
`_PyTreeExtensionContext` is kept to support prior versions of transformers.

ghstack-source-id: 70e50b0e6cda42888a117188a9e5c18f3f40acd7
Pull Request resolved: #107245
To not conflict with potential existing workaround or solution outside of exporter.
Latest huggingface/transformers main (>4.31) patches PyTorch PyTree with support over `ModelOutput` class.
`_PyTreeExtensionContext` is kept to support prior versions of transformers.

[ghstack-poisoned]
BowenBao added a commit that referenced this pull request Aug 15, 2023
To not conflict with potential existing workaround or solution outside of exporter.
Latest huggingface/transformers main (>4.31) patches PyTorch PyTree with support over `ModelOutput` class.
`_PyTreeExtensionContext` is kept to support prior versions of transformers.

ghstack-source-id: 518a747bdb894e65a82c898161f512a9c8768dcc
Pull Request resolved: #107245
@BowenBao BowenBao added release notes: onnx torch.onnx related changes that should show up in the release notes topic: improvements topic category ciflow/trunk Trigger trunk jobs on your pull request labels Aug 15, 2023
@BowenBao
Copy link
Collaborator Author

@pytorchbot merge

1 similar comment
@BowenBao
Copy link
Collaborator Author

@pytorchbot merge

@pytorch-bot
Copy link

pytorch-bot bot commented Aug 15, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/107245

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 0a4abd2 with merge base d8ad748 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

The merge job was canceled. If you believe this is a mistake,then you can re trigger it through pytorch-bot.

@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

summerdo pushed a commit to summerdo/pytorch that referenced this pull request Aug 17, 2023
…107245)

To not conflict with potential existing workaround or solution outside of exporter.
Latest huggingface/transformers main (>4.31) patches PyTorch PyTree with support over `ModelOutput` class.
`_PyTreeExtensionContext` is kept to support prior versions of transformers.
Pull Request resolved: pytorch#107245
Approved by: https://github.com/titaiwangms
ghstack dependencies: pytorch#106741, pytorch#107158, pytorch#107165
@facebook-github-bot facebook-github-bot deleted the gh/BowenBao/287/head branch August 19, 2023 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request Merged open source release notes: onnx torch.onnx related changes that should show up in the release notes topic: improvements topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants