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
a7790a92
Unverified
Commit
a7790a92
authored
Mar 26, 2024
by
Hongxin Liu
Committed by
GitHub
Mar 26, 2024
Browse files
[devops] fix example test ci (#5504)
parent
131f32a0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
8 deletions
+3
-8
.github/workflows/example_check_on_dispatch.yml
.github/workflows/example_check_on_dispatch.yml
+1
-3
.github/workflows/example_check_on_pr.yml
.github/workflows/example_check_on_pr.yml
+1
-3
.github/workflows/example_check_on_schedule.yml
.github/workflows/example_check_on_schedule.yml
+1
-2
No files found.
.github/workflows/example_check_on_dispatch.yml
View file @
a7790a92
...
...
@@ -46,7 +46,7 @@ jobs:
matrix
:
${{fromJson(needs.manual_check_matrix_preparation.outputs.matrix)}}
container
:
image
:
hpcaitech/pytorch-cuda:2.1.0-12.1.0
options
:
--gpus all --rm -v /data/scratch/examples-data:/data/
options
:
--gpus all --rm -v /data/scratch/examples-data:/data/
-v /dev/shm
timeout-minutes
:
15
steps
:
-
name
:
📚 Checkout
...
...
@@ -60,5 +60,3 @@ jobs:
echo "Testing ${dir} now"
cd "${PWD}/examples/${dir}"
bash test_ci.sh
env
:
NCCL_SHM_DISABLE
:
1
.github/workflows/example_check_on_pr.yml
View file @
a7790a92
...
...
@@ -78,7 +78,7 @@ jobs:
matrix
:
${{fromJson(needs.detect-changed-example.outputs.matrix)}}
container
:
image
:
hpcaitech/pytorch-cuda:2.1.0-12.1.0
options
:
--gpus all --rm -v /data/scratch/examples-data:/data/
options
:
--gpus all --rm -v /data/scratch/examples-data:/data/
-v /dev/shm
timeout-minutes
:
20
concurrency
:
group
:
${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-run-example-${{ matrix.directory }}
...
...
@@ -95,5 +95,3 @@ jobs:
example_dir=${{ matrix.directory }}
cd "${PWD}/examples/${example_dir}"
bash test_ci.sh
env
:
NCCL_SHM_DISABLE
:
1
.github/workflows/example_check_on_schedule.yml
View file @
a7790a92
...
...
@@ -35,6 +35,7 @@ jobs:
matrix
:
${{fromJson(needs.matrix_preparation.outputs.matrix)}}
container
:
image
:
hpcaitech/pytorch-cuda:2.1.0-12.1.0
options
:
--gpus all --rm -v /data/scratch/examples-data:/data/ -v /dev/shm
timeout-minutes
:
10
steps
:
-
name
:
📚 Checkout
...
...
@@ -50,8 +51,6 @@ jobs:
echo "Testing ${example_dir} now"
cd "${PWD}/examples/${example_dir}"
bash test_ci.sh
env
:
NCCL_SHM_DISABLE
:
1
-
name
:
Notify Lark
id
:
message-preparation
...
...
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