Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[ONNX] Adjust and add deprecation messages#146639

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

Closed

Conversation

@justinchuby
Copy link
Collaborator

@justinchubyjustinchuby commentedFeb 6, 2025
edited
Loading

Adjust and add deprecation messages to torch.onnx utilities and verification methods because they are only related to torch script and are obsolete.

Removed unused_exporter_states.py and removed the internal deprecation module in favor of the typing_extensions deprecated decorator.

@pytorch-bot
Copy link

pytorch-botbot commentedFeb 6, 2025
edited
Loading

🔗 Helpful Links

🧪 See artifacts and rendered test results athud.pytorch.org/pr/146639

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

⏳ No Failures, 1 Pending

As of commit6e50139 with merge base41e6d18 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-botpytorch-botbot added the release notes: onnxtorch.onnx related changes that should show up in the release notes labelFeb 6, 2025
@justinchubyjustinchuby changed the title[ONNX] Create deprecation warning on dynamo_export[ONNX] Deprecate old featuresFeb 6, 2025
@justinchubyjustinchuby changed the title[ONNX] Deprecate old features[ONNX] Adjust and add deprecation messagesFeb 7, 2025
@justinchubyjustinchuby marked this pull request as ready for reviewFebruary 7, 2025 04:29
@justinchubyjustinchuby added module: onnxRelated to torch.onnx topic: deprecationtopic category labelsFeb 7, 2025
Copy link
Collaborator

@titaiwangmstitaiwangms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Why are we removing category

@justinchuby
Copy link
CollaboratorAuthor

justinchuby commentedFeb 7, 2025
edited
Loading

Why are we removing category

That's because I realized DeprecationWarning is the default:https://docs.python.org/3/library/warnings.html#warnings.deprecated

@justinchuby
Copy link
CollaboratorAuthor

@pytorchbot merge

pytorch-bot[bot] reacted with thumbs up emoji

@pytorch-botpytorch-botbot added the ciflow/trunkTrigger trunk jobs on your pull request labelFeb 7, 2025
@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

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
For more information seepytorch-bot wiki.

@justinchuby
Copy link
CollaboratorAuthor

@pytorchbot merge

pytorch-bot[bot] reacted with thumbs up emoji

@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

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
For more information seepytorch-bot wiki.

@justinchuby
Copy link
CollaboratorAuthor

@pytorchbot merge -f "rocm timed out"

pytorch-bot[bot] reacted with thumbs up emoji

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag,bypassing any CI checks (ETA: 1-5 minutes). Please use-f as last resort and instead consider-i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in thewiki.

Questions? Feedback? Please reach out to thePyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@atalman
Copy link
Contributor

@pytorchmergebot revert -c ghfirst -m "Sorry Need to revert#146425"

pytorch-bot[bot] reacted with thumbs up emoji

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a revert job. Check the current statushere.
Questions? Feedback? Please reach out to thePyTorch DevX Team

@pytorchmergebot
Copy link
Collaborator

@justinchuby your PR has been successfully reverted.

pytorchmergebot added a commit that referenced this pull requestFeb 10, 2025
@pytorchmergebotpytorchmergebot added Reverted ci-no-tdDo not run TD on this PR labelsFeb 10, 2025
justinchuby added a commit to justinchuby/pytorch that referenced this pull requestFeb 11, 2025
Adjust and add deprecation messages to torch.onnx utilities and verification methods because they are only related to torch script and are obsolete.Removed unused `_exporter_states.py` and removed the internal deprecation module in favor of the typing_extensions deprecated decorator.Pull Requestresolved:pytorch#146639Approved by:https://github.com/titaiwangms
@justinchuby
Copy link
CollaboratorAuthor

Replaced by#146923

pytorchmergebot pushed a commit that referenced this pull requestFeb 12, 2025
Reland two PRs-#146425-#146639Fixed by removing the deprecation warning on a base class `ExportOptions`.Pull Requestresolved:#146923Approved by:https://github.com/titaiwangms
Raymo111 pushed a commit that referenced this pull requestFeb 20, 2025
Adjust and add deprecation messages to torch.onnx utilities and verification methods because they are only related to torch script and are obsolete.Removed unused `_exporter_states.py` and removed the internal deprecation module in favor of the typing_extensions deprecated decorator.Pull Requestresolved:#146639Approved by:https://github.com/titaiwangms
Raymo111 pushed a commit that referenced this pull requestFeb 20, 2025
Raymo111 pushed a commit that referenced this pull requestFeb 20, 2025
Reland two PRs-#146425-#146639Fixed by removing the deprecation warning on a base class `ExportOptions`.Pull Requestresolved:#146923Approved by:https://github.com/titaiwangms
majing921201 pushed a commit to majing921201/pytorch that referenced this pull requestMar 4, 2025
majing921201 pushed a commit to majing921201/pytorch that referenced this pull requestMar 4, 2025
…146923)Reland two PRs-pytorch#146425-pytorch#146639Fixed by removing the deprecation warning on a base class `ExportOptions`.Pull Requestresolved:pytorch#146923Approved by:https://github.com/titaiwangms
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@titaiwangmstitaiwangmstitaiwangms approved these changes

@shubhambhokare1shubhambhokare1Awaiting requested review from shubhambhokare1

@wschinwschinAwaiting requested review from wschin

Assignees

No one assigned

Labels

ci-no-tdDo not run TD on this PRciflow/trunkTrigger trunk jobs on your pull requestMergedmodule: onnxRelated to torch.onnxopen sourcerelease notes: onnxtorch.onnx related changes that should show up in the release notesRevertedtopic: deprecationtopic category

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@justinchuby@pytorchmergebot@atalman@titaiwangms@pytorchbot

[8]ページ先頭

©2009-2025 Movatter.jp