Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

pytorchbot
Copy link
Collaborator

Fixes #150367

This PR makes decomposition table from onnx registry, which includes registered ops not only ATen and prim. This will help to keep the custom ops that are specified in the custom_translation table from decomposition during ONNX export.

Fixes #150367

This PR makes decomposition table from onnx registry, which includes registered ops not only ATen and prim. This will help to keep the custom ops that are specified in the custom_translation table from decomposition during ONNX export.
Pull Request resolved: #151826
Approved by: https://github.com/justinchuby

(cherry picked from commit 6cd1741)
Copy link

pytorch-bot bot commented May 8, 2025

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 3 New Failures, 1 Unrelated Failure

As of commit cf8ade9 with merge base 924a247 (image):

NEW FAILURES - The following jobs have failed:

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

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

@pytorch-bot pytorch-bot bot added the release notes: onnx torch.onnx related changes that should show up in the release notes label May 8, 2025
@atalman
Copy link
Contributor

atalman commented May 14, 2025

@titaiwangms and @justinchuby could you please provide unit test that covers these changes ?

@titaiwangms
Copy link
Collaborator

Hi @atalman thanks for reviewing this! Should we merge the test to main and create another cherry pick for it, or we add the test in this PR?

pytorchmergebot pushed a commit that referenced this pull request May 16, 2025
Added a test to strengthen the case for cherry-picking #153168. The original PR didn’t include this test since the fix for decomp_table and the registry was already covered by existing tests. However, it's reasonable to include a dedicated test for the specific issue (#150367 ) when considering the cherry-pick.
Pull Request resolved: #153671
Approved by: https://github.com/justinchuby
pytorchbot pushed a commit that referenced this pull request May 16, 2025
Added a test to strengthen the case for cherry-picking #153168. The original PR didn’t include this test since the fix for decomp_table and the registry was already covered by existing tests. However, it's reasonable to include a dedicated test for the specific issue (#150367 ) when considering the cherry-pick.
Pull Request resolved: #153671
Approved by: https://github.com/justinchuby

(cherry picked from commit 658d17d)
@titaiwangms
Copy link
Collaborator

titaiwangms commented May 16, 2025

@titaiwangms and @justinchuby could you please provide unit test that covers these changes ?

@atalman #153729 Thank you! The test has been added!

Added a test to strengthen the case for cherry-picking #153168. The original PR didn’t include this test since the fix for decomp_table and the registry was already covered by existing tests. However, it's reasonable to include a dedicated test for the specific issue (#150367 ) when considering the cherry-pick.
Pull Request resolved: #153671
Approved by: https://github.com/justinchuby
@atalman atalman merged commit b8d9208 into release/2.7 May 20, 2025
178 of 186 checks passed
@github-actions github-actions bot deleted the cherry-pick-151826-by-pytorch_bot_bot_ branch June 21, 2025 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

open source release notes: onnx torch.onnx related changes that should show up in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants