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
eb952ea8
Unverified
Commit
eb952ea8
authored
Sep 01, 2023
by
栾鹏
Committed by
GitHub
Sep 01, 2023
Browse files
Update Dockerfile (#4499)
fix dockerfile build
parent
cbac7822
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
docker/Dockerfile
docker/Dockerfile
+3
-2
No files found.
docker/Dockerfile
View file @
eb952ea8
...
...
@@ -18,7 +18,7 @@ RUN apt-get update && \
rm
-rf
/var/lib/apt/lists/
*
# install torch
RUN
conda
install
pytorch
==
1.12.1
torchvision
==
0.13.1
torchaudio
==
0.12.1
cudatoolkit
=
11.3
-c
pytorch
RUN
conda
install
-y
pytorch
==
1.12.1
torchvision
==
0.13.1
torchaudio
==
0.12.1
cudatoolkit
=
11.3
-c
pytorch
# install ninja
RUN
apt-get update
&&
\
...
...
@@ -43,8 +43,9 @@ RUN git clone -b ${VERSION} https://github.com/hpcaitech/ColossalAI.git \
RUN
pip
install
--no-cache-dir
titans
# install tensornvme
RUN
conda
install
cmake
&&
\
RUN
conda
install
-y
cmake
&&
\
git clone https://github.com/hpcaitech/TensorNVMe.git
&&
\
cd
TensorNVMe
&&
\
apt update
-y
&&
apt
install
-y
libaio-dev
&&
\
pip
install
-r
requirements.txt
&&
\
pip
install
-v
--no-cache-dir
.
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