Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
a1da3900
Unverified
Commit
a1da3900
authored
Jan 18, 2022
by
Frank Lee
Committed by
GitHub
Jan 18, 2022
Browse files
added docker documentation (#152)
parent
7bf1e98b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
README.md
README.md
+16
-0
docker/Dockerfile
docker/Dockerfile
+2
-1
No files found.
README.md
View file @
a1da3900
...
...
@@ -38,6 +38,22 @@ pip install -v --no-cache-dir --global-option="--cuda_ext" .
-
[
Documentation
](
https://www.colossalai.org/
)
## Use Docker
Run the following command to build a docker image from Dockerfile provided.
```
bash
cd
ColossalAI
docker build
-t
colossalai ./docker
```
Run the following command to start the docker container in interactive mode.
```
bash
docker run
-ti
--gpus
all
--rm
--ipc
=
host colossalai bash
```
## Quick View
### Start Distributed Training in Lines
...
...
docker/Dockerfile
View file @
a1da3900
FROM
nvcr.io/nvidia/pytorch:21.07-py3
# install dependencies
RUN
pip
install
-U
pip setuptools wheel
\
RUN
pip config
set
global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
\
&&
pip
install
-U
pip setuptools wheel
\
&&
pip
install
pytest tensorboard deepspeed apex
# install colossalai
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment