Skip to content

Commit

Permalink
docs: improve tutorials
Browse files Browse the repository at this point in the history
  • Loading branch information
ymjiang committed Jun 29, 2019
1 parent cb88d29 commit ec55073
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/step-by-step-tutorials.md → docs/step-by-step-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The goal of this tutorial is to help you run BytePS quickly. To ensure that you
```
docker pull bytepsimage/worker_tensorflow
nvidia-docker run --shm-size=32768m -it bytepsimage/worker_tensorflow bash
nvidia-docker run -it --net=host --shm-size=32768m bytepsimage/worker_tensorflow bash
# now you are in docker environment
export NVIDIA_VISIBLE_DEVICES=0,1,2,3 # say you have 4 GPUs
Expand All @@ -35,7 +35,7 @@ python /usr/local/byteps/launcher/launch.py \
```
docker pull bytepsimage/worker_pytorch
nvidia-docker run --shm-size=32768m -it bytepsimage/worker_pytorch bash
nvidia-docker run -it --net=host --shm-size=32768m bytepsimage/worker_pytorch bash
# now you are in docker environment
export NVIDIA_VISIBLE_DEVICES=0,1,2,3 # say you have 4 GPUs
Expand All @@ -59,7 +59,7 @@ python /usr/local/byteps/launcher/launch.py \
```
docker pull bytepsimage/worker_mxnet
nvidia-docker run --shm-size=32768m -it bytepsimage/worker_mxnet bash
nvidia-docker run -it --net=host --shm-size=32768m bytepsimage/worker_mxnet bash
# now you are in docker environment
export NVIDIA_VISIBLE_DEVICES=0,1,2,3 # say you have 4 GPUs
Expand Down Expand Up @@ -89,7 +89,7 @@ For the scheduler:
# scheduler can use the same image as servers
docker pull bytepsimage/byteps_server
docker run -it bytepsimage/byteps_server bash
docker run -it --net=host bytepsimage/byteps_server bash
# now you are in docker environment
export DMLC_NUM_WORKER=2
Expand All @@ -105,7 +105,7 @@ For the server:
```
docker pull bytepsimage/byteps_server
docker run -it bytepsimage/byteps_server bash
docker run -it --net=host bytepsimage/byteps_server bash
# now you are in docker environment
export DMLC_NUM_WORKER=2
Expand All @@ -123,7 +123,7 @@ For worker-0:
```
docker pull bytepsimage/worker_mxnet
nvidia-docker run --shm-size=32768m -it bytepsimage/worker_mxnet bash
nvidia-docker run -it --net=host --shm-size=32768m bytepsimage/worker_mxnet bash
# now you are in docker environment
export NVIDIA_VISIBLE_DEVICES=0,1,2,3 # say you have 4 GPUs
Expand All @@ -145,7 +145,7 @@ For worker-1:
```
docker pull bytepsimage/worker_mxnet
nvidia-docker run --shm-size=32768m -it bytepsimage/worker_mxnet bash
nvidia-docker run -it --net=host --shm-size=32768m bytepsimage/worker_mxnet bash
# now you are in docker environment
export NVIDIA_VISIBLE_DEVICES=0,1,2,3 # say you have 4 GPUs
Expand Down

0 comments on commit ec55073

Please sign in to comment.