mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[docs] remove --recursive flag from readme (#150785)
Fixes #150745 See https://github.com/pytorch/pytorch/issues/150745#issuecomment-2784216663 Cloning with `--recursive` as shown in the docs prevents users from checking out commits from before NCCL was removed as a submodule. Pull Request resolved: https://github.com/pytorch/pytorch/pull/150785 Approved by: https://github.com/atalman
This commit is contained in:
committed by
PyTorch MergeBot
parent
d9f47c75de
commit
5f18b7d877
@ -221,7 +221,7 @@ Other potentially useful environment variables may be found in `setup.py`.
|
||||
|
||||
#### Get the PyTorch Source
|
||||
```bash
|
||||
git clone --recursive https://github.com/pytorch/pytorch
|
||||
git clone https://github.com/pytorch/pytorch
|
||||
cd pytorch
|
||||
# if you are updating an existing checkout
|
||||
git submodule sync
|
||||
|
Reference in New Issue
Block a user