Skip to content

Add method to analyze reverts: analyze_reverts_missing_from_branch #6834

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

Merged
merged 3 commits into from
Jun 26, 2025

Conversation

atalman
Copy link
Contributor

@atalman atalman commented Jun 25, 2025

Usage:

python github_analyze.py --analyze-missing-reverts-from-branch --repo-path ~/local/pytorch --remote upstream --branch release/2.8
Analyzing reverts in main branch not present in release/2.8 branch
Total commits in main but not in release/2.8: 62
Total commits in release/2.8 but not in main: 1

Found 8 revert(s) in main branch not present in release/2.8 branch:
================================================================================
Commit Hash: 029e2b05c225588098d3eba445fd04189691f77d
Author: PyTorch MergeBot <[email protected]>
Date: 2025-06-25 06:05:40
Title: Revert "[Quant][CPU] fix fake_quantize_per_tensor_affine of inf values (#155109)"
Reverted GitHub Commit: 19ffb5e6f7606436249742b0f3efc0bab244dc55
Body Preview:     
    This reverts commit 19ffb5e6f7606436249742b0f3efc0bab244dc55.
    
    Reverted https://github.com/pytorch/pytorch/pull/155109 on behalf of https://github.com/albanD due to The corresponding ...
--------------------------------------------------------------------------------
Commit Hash: 3dd872e6d53560933d8d7fc11357617746d37168
Author: PyTorch MergeBot <[email protected]>
Date: 2025-06-24 17:11:35
Title: Revert "Add DeviceAllocator as the base device allocator (#138222)"
Reverted GitHub Commit: 92409b6c89fbfbd3caa79c81b1e3d9e7917d3bc7
Body Preview:     
    This reverts commit 92409b6c89fbfbd3caa79c81b1e3d9e7917d3bc7.
    
    Reverted https://github.com/pytorch/pytorch/pull/138222 on behalf of https://github.com/Camyll due to internal build fai...
--------------------------------------------------------------------------------
Commit Hash: 6459a5c7a92e7a38db374780b91116cc958b6af9
Author: PyTorch MergeBot <[email protected]>
Date: 2025-06-24 17:11:35
Title: Revert "Add unified memory APIs for torch.accelerator (#152932)"
Reverted GitHub Commit: 35e44067c4d9cc9be2652c0b9098885c5a321029
Body Preview:     
    This reverts commit 35e44067c4d9cc9be2652c0b9098885c5a321029.
    
    Reverted https://github.com/pytorch/pytorch/pull/152932 on behalf of https://github.com/Camyll due to internal build fai...
--------------------------------------------------------------------------------
Commit Hash: fd4bb29410c035b31ca55262c3012cadb1194aae
Author: PyTorch MergeBot <[email protected]>
Date: 2025-06-24 16:45:13
Title: Revert "[logging] dynamo_timed for CachingAutotuner.coordinate_descent_tuning (#156517)"
Reverted GitHub Commit: fb75dea2c1b93c78dccf08d5fd5e20b362ecd405
Body Preview:     
    This reverts commit fb75dea2c1b93c78dccf08d5fd5e20b362ecd405.
    
    Reverted https://github.com/pytorch/pytorch/pull/156517 on behalf of https://github.com/Camyll due to internal reverted ...
--------------------------------------------------------------------------------
Commit Hash: 4bd18e31e5a38d0e84ce915b1fa124058c6373fa
Author: PyTorch MergeBot <[email protected]>
Date: 2025-06-24 16:34:21
Title: Revert "Add fx_graph_runnable tests boilerplate (#156552)"
Reverted GitHub Commit: 0a2ec7681d2af973d8daaf7905431a088739dc90
Body Preview:     
    This reverts commit 0a2ec7681d2af973d8daaf7905431a088739dc90.
    
    Reverted https://github.com/pytorch/pytorch/pull/156552 on behalf of https://github.com/Camyll due to breaking internal ...
--------------------------------------------------------------------------------
Commit Hash: 1dc1eedd4369f6e6bb79d5315e3ffc1bdc59b709
Author: PyTorch MergeBot <[email protected]>
Date: 2025-06-24 13:44:42
Title: Revert "[dynamo] Graph break on `torch.Tensor.data` assignment with mismatched dtype (#156623)"
Reverted GitHub Commit: c1ad4b8e7a16f54c35a3908b56ed7d9f95eef586
Body Preview:     
    This reverts commit c1ad4b8e7a16f54c35a3908b56ed7d9f95eef586.
    
    Reverted https://github.com/pytorch/pytorch/pull/156623 on behalf of https://github.com/albanD due to Breaks Dynamo test...
--------------------------------------------------------------------------------
Commit Hash: aa280ea19fb20923d048909fa98af092e18ca2fb
Author: PyTorch MergeBot <[email protected]>
Date: 2025-06-24 13:05:39
Title: Revert "Remove remaining CUDA 12.4 CI code (#155412)"
Reverted GitHub Commit: 9fed2addedb42da86b657165fe14eadc911232cf
Body Preview:     
    This reverts commit 9fed2addedb42da86b657165fe14eadc911232cf.
    
    Reverted https://github.com/pytorch/pytorch/pull/155412 on behalf of https://github.com/Camyll due to cuda 12.4 still ne...
--------------------------------------------------------------------------------
Commit Hash: 19f851ce10b16f0ed11d18d937ca7b32746153b0
Author: PyTorch MergeBot <[email protected]>
Date: 2025-06-24 13:02:07
Title: Revert "Simplify nvtx3 CMake handling, always use nvtx3 (#153784)"
Reverted GitHub Commit: 099d0d6121125062ebc05771c8330cb7cd8d053a
Body Preview:     
    This reverts commit 099d0d6121125062ebc05771c8330cb7cd8d053a.
    
    Reverted https://github.com/pytorch/pytorch/pull/153784 on behalf of https://github.com/Camyll due to breaking internal ...
--------------------------------------------------------------------------------

Copy link

vercel bot commented Jun 25, 2025

@atalman is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@pytorch-bot pytorch-bot bot added the ci-no-td label Jun 25, 2025
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 25, 2025
Copy link
Contributor

@Camyll Camyll left a comment

Choose a reason for hiding this comment

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

lgtm

@atalman atalman merged commit d9fcd77 into pytorch:main Jun 26, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-no-td CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants