cyy
|
ee97d80be2
|
Apply Ruff fixes and pyupgrade to torch/jit (#144208)
Fixes #ISSUE_NUMBER
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144208
Approved by: https://github.com/davidberard98
|
2025-01-16 00:28:50 +00:00 |
|
bobrenjc93
|
7c25a55c65
|
clean up type nits on torch/jit/_ir_utils.py (#143371)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/143371
Approved by: https://github.com/laithsakka
|
2024-12-17 20:28:07 +00:00 |
|
bobrenjc93
|
e7ec92331e
|
remove allow-untyped-defs for torch/jit/_ir_utils.py (#143366)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/143366
Approved by: https://github.com/aorenste
|
2024-12-17 05:15:15 +00:00 |
|
Aaron Orenstein
|
038b927590
|
Flip default value for mypy disallow_untyped_defs [7/11] (#127844)
See #127836 for details.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/127844
Approved by: https://github.com/oulgen
ghstack dependencies: #127842, #127843
|
2024-06-08 18:49:45 +00:00 |
|
Edward Z. Yang
|
3bf922a6ce
|
Apply UFMT to low traffic torch modules (#106249)
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/106249
Approved by: https://github.com/Skylion007
|
2023-07-29 23:37:30 +00:00 |
|
Aaron Gokaslan
|
8fce9a09cd
|
[BE]: pyupgrade Python to 3.8 - imports and object inheritance only (#94308)
Apply parts of pyupgrade to torch (starting with the safest changes).
This PR only does two things: removes the need to inherit from object and removes unused future imports.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/94308
Approved by: https://github.com/ezyang, https://github.com/albanD
|
2023-02-07 21:10:56 +00:00 |
|
Elias Ellison
|
8bc28e9c9c
|
[JIT] Add more python ir utilities (#69871)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/69871
Test Plan: Imported from OSS
Reviewed By: jbschlosser
Differential Revision: D33515232
Pulled By: eellison
fbshipit-source-id: d48da7b398a3f1a8862789484a4035d874196763
(cherry picked from commit e5976b8b7a4995be25a93601bbae5c52d6d3fca8)
|
2022-02-25 01:07:05 +00:00 |
|