Commit Graph

7 Commits

Author SHA1 Message Date
75651e3cc4 Add remaining ToCs to ToC lint (#56487)
Summary:
The lint was originally added in https://github.com/pytorch/pytorch/issues/54974, but at the time I didn't realize that these other Markdown files also each have a table of contents:

- `GLOSSARY.md`
- `torch/csrc/jit/OVERVIEW.md`
- `torch/csrc/jit/docs/serialization.md`
- `torch/fx/OVERVIEW.md`

This PR adds those files to the lint, and also changes the rule from using a fixed list of filenames to a `git grep` command that finds all Markdown files containing this magic comment:

```md

```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/56487

Test Plan: The "Lint / toc" job in GitHub Actions.

Reviewed By: janeyx99

Differential Revision: D27884885

Pulled By: samestep

fbshipit-source-id: 5462437502b17fba93abf5098e21754bf566a4fe
2021-04-20 10:28:47 -07:00
c619892482 Fix errata (#49903)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/49903

Test Plan: Imported from OSS

Reviewed By: ngimel

Differential Revision: D25718411

Pulled By: ansley

fbshipit-source-id: 0cc365c5a53077752dc1c5a5c4a65b873baa3604
2020-12-28 20:40:41 -08:00
856215509d [jit] update to serialization doc (#39025)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/39025

Test Plan: Imported from OSS

Differential Revision: D21911710

Pulled By: wanchaol

fbshipit-source-id: e3c346feef2ddc36c671d5e1469702854dbfebb3
2020-06-05 17:49:08 -07:00
b9c537514c [JIT] Remove import statement thing in serialization docs (#38578)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/38578

Test Plan: Imported from OSS

Differential Revision: D21603383

Pulled By: jamesr66a

fbshipit-source-id: 07c7eb62f048406f2e21528e32c677d18eb87cce
2020-05-15 18:26:36 -07:00
c235be42dd [jit] kill script namespace (#34515)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/34515

Once upon a time we thought this was necessary. In reality it is not, so
removing it.

For backcompat, our public interface (defined in `api/`) still has
typedefs to the old `script::` names.

There was only one collision: `Pass` as a `Stmt` and `Pass` as a graph
transform. I renamed one of them.

Test Plan: Imported from OSS

Differential Revision: D20353503

Pulled By: suo

fbshipit-source-id: 48bb911ce75120a8c9e0c6fb65262ef775dfba93
2020-03-11 23:32:48 -07:00
e0ab255a51 Updates to serialization.md (#31372)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/31372

Keeping it current with the latest changes.

Test Plan: Imported from OSS

Differential Revision: D19145986

Pulled By: suo

fbshipit-source-id: 88122e66fa87a354ef8e87faffe58551074e3f03
2019-12-17 21:29:12 -08:00
1c86b8a783 add docs for serialization
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/23456

Test Plan: Imported from OSS

Differential Revision: D16552602

Pulled By: suo

fbshipit-source-id: 41e333af97e43fcef2b7f6e02c36a805ceb64573
2019-07-30 17:19:57 -07:00