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
4d5dbf48
Unverified
Commit
4d5dbf48
authored
Jul 15, 2022
by
Frank Lee
Committed by
GitHub
Jul 15, 2022
Browse files
[workflow] fixed trigger condition for 8-gpu unit test (#1323)
parent
e8acf55e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.github/workflows/build_gpu_8.yml
.github/workflows/build_gpu_8.yml
+1
-1
No files found.
.github/workflows/build_gpu_8.yml
View file @
4d5dbf48
...
@@ -30,7 +30,7 @@ jobs:
...
@@ -30,7 +30,7 @@ jobs:
-
name
:
Unit Testing
-
name
:
Unit Testing
run
:
|
run
:
|
gpu_used=$(nvidia-smi -i 0 --query-gpu=memory.used --format=csv,noheader,nounits)
gpu_used=$(nvidia-smi -i 0 --query-gpu=memory.used --format=csv,noheader,nounits)
[ "$gpu_used" -
gt
"100" ] && PYTHONPATH=$PWD pytest tests
[ "$gpu_used" -
le
"100" ] && PYTHONPATH=$PWD pytest tests
env
:
env
:
DATA
:
/data/scratch/cifar-10
DATA
:
/data/scratch/cifar-10
\ No newline at end of file
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