Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Adding recursive flag to update all submodules #77

Open
wants to merge 1 commit into
base: revamp
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions Deep_learning/Deep-learning.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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:

Expand Down Expand Up @@ -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):

Expand Down