Add dependency-groups.dev to pyproject.toml (#161216)

[PEP 735](https://peps.python.org/pep-0735) introduces the
[dependency-groups] table for a number of use-cases one of
which includes specifying development dependencies for projects.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/161216
Approved by: https://github.com/seemethere
This commit is contained in:
Lakshay Garg
2025-09-04 16:51:33 +00:00
committed by PyTorch MergeBot
parent 019fed39aa
commit 43b7c86a2c
3 changed files with 36 additions and 3 deletions

View File

@ -243,7 +243,7 @@ git submodule update --init --recursive
```bash
# Run this command from the PyTorch directory after cloning the source code using the “Get the PyTorch Source“ section above
pip install -r requirements.txt
pip install --group dev
```
**On Linux**