mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
update links, fix typos, add readability
@ -2,7 +2,7 @@ New to developing PyTorch? We've got you covered.
|
||||
|
||||
### Unit 1: PyTorch Basics
|
||||
- [Developer Environment Setup](https://github.com/pytorch/pytorch/wiki/PyTorch-Basics#development-setup)
|
||||
- [PyTorch Workflow Cheatsheat](https://github.com/pytorch/pytorch/wiki/PyTorch-Workflow-Cheatsheat)
|
||||
- [PyTorch Workflow Cheatsheet](https://github.com/pytorch/pytorch/wiki/PyTorch-Workflow-Cheatsheet)
|
||||
- [Learn about where and how PyTorch is used](https://github.com/pytorch/pytorch/wiki/PyTorch-Basics#learn-about-how-to-use-pytorch)
|
||||
|
||||
### Unit 2: Tensors, Operators, and Testing
|
||||
|
@ -1,12 +1,12 @@
|
||||
## Development Setup
|
||||
|
||||
Please see https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md#developing-pytorch
|
||||
Please see [[Developer Environment Setup]]
|
||||
|
||||
For fb employees, please read through [this](https://www.internalfb.com/intern/wiki/PyTorch/PyTorchDev/Workflow/PyTorch_environment_setup/) as well.
|
||||
|
||||
## Learn about how to use PyTorch
|
||||
|
||||
Run through the [PyTorch 60 Minute Blitz](https://pytorch.org/tutorials/beginner/deep_learning_60min_blitz.html)
|
||||
Run through the [PyTorch Basics tutorial](https://pytorch.org/tutorials/beginner/basics/intro.html)
|
||||
|
||||
If you're not familiar with machine learning, [here](https://www.youtube.com/playlist?list=PLC1qU-LWwrF64f4QKQT-Vg5Wr4qEE1Zxk) is a nice lecture series.
|
||||
|
||||
|
@ -1,3 +1,12 @@
|
||||
<!-- TODO: Deprecate
|
||||
- lint-as-you-type
|
||||
- https://github.com/pytorch/pytorch/blob/main/CONTRIBUTING.md#running-clang-tidy
|
||||
- https://github.com/pytorch/pytorch/blob/main/CONTRIBUTING.md#local-linting
|
||||
-->
|
||||
|
||||
|
||||
In PyTorch, we enforce lint rules on code in order to help us catch common mistakes and enforce a greater degree of uniformity in our codebase than human reviewers can normally enforce.
|
||||
|
||||
PyTorch uses `lintrunner` to execute lints locally and in CI. This provides developers with a single command to run all the linters, and ensures consistency between the CI and local development environments. See [the `lintrunner` repo](https://github.com/suo/lintrunner) for more info.
|
||||
|
||||
To get started, run the following to install `lintrunner`. Make sure you are at the root of the PyTorch repo:
|
||||
|
Reference in New Issue
Block a user