From db0f5eb5c3e9c137f44f41f46c59d8aa2f4daaed Mon Sep 17 00:00:00 2001 From: Oliver Guhr Date: Thu, 16 Apr 2020 11:44:29 +0200 Subject: [PATCH] Adding recursive flag to update all submodules also changed the command to a one liner --- Deep_learning/Deep-learning.rst | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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):