Skip to content

final plain assertion removal - #192517

Closed
liangel-02 wants to merge 1 commit into
mainfrom
plain_asserts
Closed

liangel-02 wants to merge 1 commit into
mainfrom
plain_asserts

Conversation

@liangel-02

@liangel-02 liangel-02 commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

as title, reviewed claude changes manually, also added a point to claude.md to prevent it from adding plain asserts in the future

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @kadeng @muchulee8 @amjames @chauhang @aakhundov @coconutruben @jataylo @azahed98

@pytorch-bot

pytorch-bot Bot commented Aug 7, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

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

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

Comment thread torch/_dynamo/symbolic_convert.py Resolved
@liangel-02 liangel-02 added the ciflow/trunk Trigger trunk jobs on your pull request label Aug 7, 2026

@Skylion007 Skylion007 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Some of these should be TypeError

@Skylion007

Copy link
Copy Markdown
Collaborator

If we really killed it should we enable the ruff rule that bans plain asserts?

@liangel-02

Copy link
Copy Markdown
Contributor Author

@pytorchbot merge

@pytorchmergebot

Copy link
Copy Markdown
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

ankitbhrdwj pushed a commit to ankitbhrdwj/pytorch that referenced this pull request Aug 12, 2026
as title, reviewed claude changes manually, also added a point to claude.md to prevent it from adding plain asserts in the future

Pull Request resolved: pytorch#192517
Approved by: https://github.com/janeyx99
@github-actions
github-actions Bot deleted the plain_asserts branch November 1, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants