Commit Graph

17 Commits

Author SHA1 Message Date
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
33938cfddd [BE][Ez] Update ruff to 0.2.2 (#120517)
Updates ruff to 0.2.2. This updates the config and handles some of the new rules that have come out of preview.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/120517
Approved by: https://github.com/albanD
2024-02-24 07:13:53 +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
bb6b24c622 [BE] Dockerize PyTorch docs jobs (#100601)
Saw some connection error to pip in docs jobs today, so let's dockerize it:

* https://github.com/pytorch/pytorch/actions/runs/4877612277/jobs/8702572072
* https://github.com/pytorch/pytorch/actions/runs/4877612277/jobs/8702572072

Some additional fixes:
* Moving the docs script from under `.circleci` to under `.ci` as they should be
* Linter (as scripts under .ci are subjected to shellcheck)
* Fix some minor Sphinx warnings in functorch docs

### Testing
Docs previews look fine:

* https://docs-preview.pytorch.org/100601/index.html
* https://docs-preview.pytorch.org/100601/cppdocs/index.html
* https://docs-preview.pytorch.org/100601/functorchdocs/index.html

Pull Request resolved: https://github.com/pytorch/pytorch/pull/100601
Approved by: https://github.com/clee2000
2023-05-05 06:24:46 +00:00
6d2f8114be Revert "[BE] Dockerize PyTorch docs jobs (#100601)"
This reverts commit 2703684acf5643ca69ecfac4bdb861abe2a8aa41.

Reverted https://github.com/pytorch/pytorch/pull/100601 on behalf of https://github.com/huydhn due to Curiously, this breaks inductor jobs ([comment](https://github.com/pytorch/pytorch/pull/100601#issuecomment-1535515587))
2023-05-04 23:13:15 +00:00
2703684acf [BE] Dockerize PyTorch docs jobs (#100601)
Saw some connection error to pip in docs jobs today, so let's dockerize it:

* https://github.com/pytorch/pytorch/actions/runs/4877612277/jobs/8702572072
* https://github.com/pytorch/pytorch/actions/runs/4877612277/jobs/8702572072

Some additional fixes:
* Moving the docs script from under `.circleci` to under `.ci` as they should be
* Linter (as scripts under .ci is subjected to shellcheck)
* Fix some minor Sphinx warnings in functorch docs

### Testing
Docs previews look fine:

* https://docs-preview.pytorch.org/100601/index.html
* https://docs-preview.pytorch.org/100601/cppdocs/index.html
* https://docs-preview.pytorch.org/100601/functorchdocs/index.html

Pull Request resolved: https://github.com/pytorch/pytorch/pull/100601
Approved by: https://github.com/clee2000
2023-05-04 20:33:51 +00:00
50000f3cdc Align functorch docs with PyTorch's (#85856)
This PR:
- changes the header/footer to be the same as PyTorch docs
- removes the functorch logo (we don't need it anymore, functorch has
been adopted into PyTorch)
- adjusts the functorch docs to make it clear that the page is functorch
documentation.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/85856
Approved by: https://github.com/svekars, https://github.com/samdow
2022-09-29 20:00:34 +00:00
7095647db6 [functorch] Fix some lint issues (pytorch/functorch#606) 2022-07-21 13:41:26 -07:00
33aead5f7b [functorch] Update readme (pytorch/functorch#589)
and minor main-branch-only website changes.
2022-07-21 13:41:26 -07:00
67948ebd9a [functorch] Fix docs build 2022-07-21 13:41:23 -07:00
565365baaf [functorch] GHA docs build; nbsphinx -> myst-nb (pytorch/functorch#517) 2022-07-21 13:41:22 -07:00
cc68964c06 [functorch] Improve version rendering on docs website 2022-07-21 13:41:22 -07:00
e4d20b58c4 [functorch] Change docs name 2022-07-21 13:41:22 -07:00
dda66b2cae [functorch] Switched docs theme to pytorch-theme (pytorch/functorch#453)
* Switched to pytorch-theme

* Added missing function transforms

* Updated layout

* Added simple text logo and added vjp docs
2022-07-21 13:41:21 -07:00
fd4d82ee0d [functorch] quick cleanup 2022-07-21 13:41:17 -07:00
20997b4917 [functorch] Fix some linting 2022-07-21 13:41:13 -07:00
24a91e4115 [functorch] Docs build (pytorch/functorch#227)
cd into docs/ and run `make html` and view the html in build/html
2022-07-21 13:41:09 -07:00