740fb22966
[BE][Easy][4/19] enforce style for empty lines in import segments in functorch/
( #129755 )
...
See https://github.com/pytorch/pytorch/pull/129751#issue-2380881501 . Most changes are auto-generated by linter.
You can review these PRs via:
```bash
git diff --ignore-all-space --ignore-blank-lines HEAD~1
```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/129755
Approved by: https://github.com/zou3519
ghstack dependencies: #129752
2024-07-18 05:08:03 +00:00
a28bfb5ed5
[4/N][Easy] fix typo for usort
config in pyproject.toml
(kown
-> known
): sort functorch ( #127125 )
...
The `usort` config in `pyproject.toml` has no effect due to a typo. Fixing the typo make `usort` do more and generate the changes in the PR. Except `pyproject.toml`, all changes are generated by `lintrunner -a --take UFMT --all-files`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/127125
Approved by: https://github.com/Skylion007
ghstack dependencies: #127122 , #127123 , #127124
2024-05-25 22:45:38 +00:00
e6ec0efaf8
Apply UFMT to all non test/torch files ( #106205 )
...
Signed-off-by: Edward Z. Yang <ezyang@meta.com >
Pull Request resolved: https://github.com/pytorch/pytorch/pull/106205
Approved by: https://github.com/albanD
2023-07-29 02:56:24 +00:00
1feff6bb69
[functorch] update compile example imports ( pytorch/functorch#834 )
2022-07-21 13:41:34 -07:00
c94446a04d
[functorch] Fixed python code formatting and added flake8 setup ( pytorch/functorch#346 )
...
* Fixed python code formatting and added flake8 setup
* Fixes config.yaml
* Added missing setup.cfg
* Removed flake8 job from circle ci and setup GHA
* More flake8 fixes
* Fixed test_conv2d
* Fixed failing flake8
2022-07-21 13:41:17 -07:00
7e13e3c6f5
[functorch] added option to skip specialization cache
2022-07-21 13:41:03 -07:00
9ca5ae86d0
[functorch] Added eager-mode fusion prototype
2022-07-21 13:40:59 -07:00