diff --git a/Deep_learning/Deep-learning.rst b/Deep_learning/Deep-learning.rst index 5a6b65a3..1e603f7f 100644 --- a/Deep_learning/Deep-learning.rst +++ b/Deep_learning/Deep-learning.rst @@ -143,8 +143,7 @@ Recommended:Install using published PyTorch ROCm docker image: cd ~ git clone https://github.com/pytorch/pytorch.git cd pytorch - git submodule init - git submodule update + git submodule update --init --recursive 4. Start a docker container using the downloaded image: @@ -203,9 +202,9 @@ Option 2: Install using PyTorch upstream docker file cd ~ git clone https://github.com/pytorch/pytorch.git - cd pytorch - git submodule init - git submodule update + cd pytorch + git submodule update --init --recursive + 3. Build PyTorch docker image: @@ -295,9 +294,9 @@ Note: This will mount your host home directory on /data in the container. cd ~ git clone https://github.com/pytorch/pytorch.git or git clone https://github.com/ROCmSoftwarePlatform/pytorch.git - cd pytorch - git submodule init - git submodule update + cd pytorch + git submodule update --init --recursive + 6. Run "hipify" to prepare source code (in the container):