Fixed installing dependencies instructions in CONTRIBUTING.md (#142334)

In the original code, “pip install -r requirements” missed the suffix “.txt”, so I'll add it.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/142334
Approved by: https://github.com/malfet
This commit is contained in:
叶家希 2024-12-08 19:35:31 +00:00 committed by PyTorch MergeBot
parent e343f46464
commit c814dd08aa

View file

@ -288,7 +288,7 @@ The following packages should be installed with either `conda` or `pip`:
- `pytest` - recommended to run tests more selectively
Running
```
pip install -r requirements
pip install -r requirements.txt
```
will install these dependencies for you.