11 Commits

Author SHA1 Message Date
7d01f6e6f2 Add ignorable commits on run_test.py to git blame ignore (#145787)
Chanced upon it while searching through cpp_extension related code.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/145787
Approved by: https://github.com/malfet
2025-01-27 23:24:48 +00:00
d065e8a9de [ez] add lint commits to .git-blame-ignore-revs (#144576)
Test Plan: Ran git blame on .lintrunner.toml and github's linter (+ manual testing) shows all commits exist
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144576
Approved by: https://github.com/janeyx99
2025-01-15 17:39:29 +00:00
eaa24821f2 Revert "[ez] add lint commits to .git-blame-ignore-revs (#144576)"
This reverts commit 49c1f81be84466d015705b1882320919eecffa82.

Reverted https://github.com/pytorch/pytorch/pull/144576 on behalf of https://github.com/janeyx99 due to need to redo with better testing ([comment](https://github.com/pytorch/pytorch/pull/144576#issuecomment-2585456893))
2025-01-11 21:53:00 +00:00
49c1f81be8 [ez] add lint commits to .git-blame-ignore-revs (#144576)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144576
Approved by: https://github.com/janeyx99
2025-01-11 02:09:46 +00:00
c35f12c67c [EZ] Add formatting changes to .git-blame-ignore-revs (#130627)
Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/130627
Approved by: https://github.com/izaitsevfb, https://github.com/clee2000
2024-07-12 16:37:46 +00:00
71523c2289 Add 116583 to .git-blame-ignore-revs (#116676)
since #116583 is purely cosmetic.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/116676
Approved by: https://github.com/janeyx99
2024-01-03 19:37:31 +00:00
59d0dea90f Only make a shallow copy when loading optimizer state_dict (#106082)
The thing we do still deep copy is the param_groups, which is much lighter weight. This should also save memory when loading from a checkpoint.

The deepcopy was introduced in ecfcf39f30, but module.py had only a shallow copy at that point so it did not actually bring parity.

Incorporates an XLA fix, which is why I'm updating the pin to ca5eab87a7

Pull Request resolved: https://github.com/pytorch/pytorch/pull/106082
Approved by: https://github.com/albanD, https://github.com/Skylion007
2023-08-01 05:33:31 +00:00
a4ebc61f15 Ignore UFMT revs in blame (#106246)
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/106246
Approved by: https://github.com/Skylion007
2023-07-29 23:37:21 +00:00
258525093e Exclude clang-format diff from git-blame (#103000)
Add https://github.com/pytorch/pytorch/pull/102887 to `.git-blame-ignore-revs`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/103000
Approved by: https://github.com/Skylion007
2023-06-05 22:59:01 +00:00
6a96bda445 [BE] Add clang-format changes to blame-ignore-revs (#79593)
Includes 30fb2c4aba and 95b15c266b

Pull Request resolved: https://github.com/pytorch/pytorch/pull/79593
Approved by: https://github.com/janeyx99
2022-06-15 14:59:47 +00:00
9cb4e1cbf9 Add a .git-blame-ignore-revs file (#77357)
Hello!

@malfet @janeyx99 This PR adds a [`.git-blame-ignore-revs`](https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view) file to the PyTorch repo, to hide a few big noisy commits which currently make the GitHub blame view more difficult to use. See this blog post: https://github.blog/changelog/2022-03-24-ignore-commits-in-the-blame-view-beta/
Pull Request resolved: https://github.com/pytorch/pytorch/pull/77357
Approved by: https://github.com/seemethere
2022-05-12 18:07:47 +00:00