mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Update README.md (#20088)
Summary: Sometimes people need to checkout an older version and build PyTorch. In that case, they need to do `git submodule sync` and maybe `git submodule update --init` as mentioned [here](https://github.com/pytorch/pytorch/issues/20074). Pull Request resolved: https://github.com/pytorch/pytorch/pull/20088 Differential Revision: D15195729 Pulled By: soumith fbshipit-source-id: 73232b801e5524cdba462dd504fb973d95d0498c
This commit is contained in:
committed by
Facebook Github Bot
parent
fb8792e2b6
commit
792bc56ec2
@ -182,6 +182,9 @@ conda install -c pytorch magma-cuda90 # or [magma-cuda80 | magma-cuda92 | magma-
|
||||
```bash
|
||||
git clone --recursive https://github.com/pytorch/pytorch
|
||||
cd pytorch
|
||||
# if you are updating an existing checkout
|
||||
git submodule sync
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
|
||||
#### Install PyTorch
|
||||
|
Reference in New Issue
Block a user