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
e17a4318
Unverified
Commit
e17a4318
authored
May 24, 2022
by
Frank Lee
Committed by
GitHub
May 24, 2022
Browse files
[ci] update the docker image name (#1017)
parent
d182b0bd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
9 deletions
+4
-9
.github/workflows/build.yml
.github/workflows/build.yml
+1
-1
.github/workflows/release_bdist.yml
.github/workflows/release_bdist.yml
+2
-2
docker/Dockerfile
docker/Dockerfile
+1
-6
No files found.
.github/workflows/build.yml
View file @
e17a4318
...
@@ -14,7 +14,7 @@ jobs:
...
@@ -14,7 +14,7 @@ jobs:
contains( github.event.pull_request.labels.*.name, 'Run Build and Test')
contains( github.event.pull_request.labels.*.name, 'Run Build and Test')
runs-on
:
[
self-hosted
,
gpu
]
runs-on
:
[
self-hosted
,
gpu
]
container
:
container
:
image
:
frankleeeee
/pytorch-cuda:1.10.1-11.3.0
image
:
hpcaitech
/pytorch-cuda:1.10.1-11.3.0
options
:
--gpus all --rm -v /data/scratch/cifar-10:/data/scratch/cifar-10
options
:
--gpus all --rm -v /data/scratch/cifar-10:/data/scratch/cifar-10
timeout-minutes
:
40
timeout-minutes
:
40
steps
:
steps
:
...
...
.github/workflows/release_bdist.yml
View file @
e17a4318
...
@@ -28,9 +28,9 @@ jobs:
...
@@ -28,9 +28,9 @@ jobs:
steps
:
steps
:
-
id
:
set-matrix
-
id
:
set-matrix
run
:
|
run
:
|
[ "${{github.event.inputs.cuda_version}}" != "" ] && matrix="[\"
frankleeeee
/cuda-conda:${{github.event.inputs.cuda_version}}\"]"
[ "${{github.event.inputs.cuda_version}}" != "" ] && matrix="[\"
hpcaitech
/cuda-conda:${{github.event.inputs.cuda_version}}\"]"
[ "${{github.event.inputs.cuda_version}}" == "" ] || [ "${{github.event.inputs.version}}" == "all" ] && \
[ "${{github.event.inputs.cuda_version}}" == "" ] || [ "${{github.event.inputs.version}}" == "all" ] && \
matrix="[\"
frankleeeee
/cuda-conda:11.3\", \"
frankleeeee
/cuda-conda:11.1\", \"
frankleeeee
/cuda-conda:10.2\"]"
matrix="[\"
hpcaitech
/cuda-conda:11.3\", \"
hpcaitech
/cuda-conda:11.1\", \"
hpcaitech
/cuda-conda:10.2\"]"
echo $matrix
echo $matrix
echo "::set-output name=matrix::{\"container\":$(echo $matrix)}"
echo "::set-output name=matrix::{\"container\":$(echo $matrix)}"
...
...
docker/Dockerfile
View file @
e17a4318
FROM
nvcr.io/nvidia/pytorch:21.07-py3
FROM
hpcaitech/pytorch-cuda:1.10.1-11.3.0
# install dependencies
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
# install colossalai
RUN
git clone https://github.com/hpcaitech/ColossalAI.git
\
RUN
git clone https://github.com/hpcaitech/ColossalAI.git
\
...
...
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