Repository navigation
final plain assertion removal - #192517
Closed
liangel-02 wants to merge 1 commit into
Closed
liangel-02 wants to merge 1 commit into
liangel-02 wants to merge 1 commit into
Conversation
liangel-02
requested review from
Aidyn-A,
angelayi,
aorenste,
avikchaudhuri,
bdhirsh,
bohnstingl,
eqy,
ezyang,
fmassa,
justinchuby,
malfet,
syed-ahmed,
titaiwangms,
tugsbayasgalan,
xadupre,
ydwu4,
zhxchen17 and
zou3519
as code owners
August 7, 2026 15:42
🔗 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 FailuresAs of commit c32987b with merge base b318b41 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
liangel-02
force-pushed
the
plain_asserts
branch
from
August 7, 2026 16:15
28be6bf to
7a4c187
Compare
janeyx99
reviewed
Aug 7, 2026
janeyx99
approved these changes
Aug 7, 2026
liangel-02
force-pushed
the
plain_asserts
branch
from
August 7, 2026 18:00
7a4c187 to
abab61a
Compare
liangel-02
force-pushed
the
plain_asserts
branch
from
August 7, 2026 18:14
abab61a to
c32987b
Compare
Skylion007
reviewed
Aug 7, 2026
Skylion007
left a comment
Collaborator
There was a problem hiding this comment.
Some of these should be TypeError
Collaborator
|
If we really killed it should we enable the ruff rule that bans plain asserts? |
Contributor
Author
|
@pytorchbot merge |
Collaborator
Merge startedYour 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 |
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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