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
cc236916
Unverified
Commit
cc236916
authored
Apr 06, 2022
by
Frank Lee
Committed by
GitHub
Apr 06, 2022
Browse files
[ci] replace the dngc ocker image with self-built pytorch image (#672)
parent
03e1d359
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
.github/workflows/build.yml
.github/workflows/build.yml
+2
-2
.github/workflows/compatibility_test.yml
.github/workflows/compatibility_test.yml
+5
-5
No files found.
.github/workflows/build.yml
View file @
cc236916
...
@@ -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
:
nvcr.io/nvidia/pytorch:21.07-py3
image
:
frankleeeee/pytorch-cuda:1.10.1-11.3.0
options
:
--gpus all --rm --ipc=host -v /data/scratch/cifar-10:/data/scratch/cifar-10
options
:
--gpus all --rm --ipc=host -v /data/scratch/cifar-10:/data/scratch/cifar-10
timeout-minutes
:
40
timeout-minutes
:
40
steps
:
steps
:
...
@@ -32,6 +32,6 @@ jobs:
...
@@ -32,6 +32,6 @@ jobs:
pip install -v --no-cache-dir .
pip install -v --no-cache-dir .
-
name
:
Unit Testing
-
name
:
Unit Testing
run
:
|
run
:
|
pytest tests
PYTHONPATH=$PWD
pytest tests
env
:
env
:
DATA
:
/data/scratch/cifar-10
DATA
:
/data/scratch/cifar-10
.github/workflows/compatibility_test.yml
View file @
cc236916
...
@@ -14,10 +14,10 @@ jobs:
...
@@ -14,10 +14,10 @@ jobs:
# 20.10: PyTorch 1.7.0a0+7036e91 + Python 3.8
# 20.10: PyTorch 1.7.0a0+7036e91 + Python 3.8
# 20.12: PyTorch 1.8.0a0+1606899 + Python 3.8
# 20.12: PyTorch 1.8.0a0+1606899 + Python 3.8
# 21.06: PyTorch 1.9.0a0+c3d40fd + Python 3.8
# 21.06: PyTorch 1.9.0a0+c3d40fd + Python 3.8
container
:
[
"
nvcr.io/nvidia/pytorch:20.07-py3
"
,
container
:
[
"
frankleeeee/pytorch-cuda:1.9.0-11.1.1
"
,
"
nvcr.io/nvidia/pytorch:20.10-py3
"
,
"
frankleeeee/pytorch-cuda:1.8.1-11.1.1
"
,
"
nvcr.io/nvidia/pytorch:20.12-py
3"
,
"
frankleeeee/pytorch-cuda:1.7.1-11.0.
3"
,
"
nvcr.io/nvidia/pytorch:21.06-py3
"
]
"
frankleeeee/pytorch-cuda:1.6.0-10.2
"
]
container
:
container
:
image
:
${{ matrix.container }}
image
:
${{ matrix.container }}
options
:
--gpus all --rm --ipc=host -v /data/scratch/cifar-10:/data/scratch/cifar-10
options
:
--gpus all --rm --ipc=host -v /data/scratch/cifar-10:/data/scratch/cifar-10
...
@@ -35,7 +35,7 @@ jobs:
...
@@ -35,7 +35,7 @@ jobs:
pip install -v --no-cache-dir .
pip install -v --no-cache-dir .
-
name
:
Unit Testing
-
name
:
Unit Testing
run
:
|
run
:
|
pytest tests
PYTHONPATH=$PWD
pytest tests
env
:
env
:
DATA
:
/data/scratch/cifar-10
DATA
:
/data/scratch/cifar-10
...
...
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