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
04244aaa
".github/git@developer.sourcefind.cn:OpenDAS/colossalai.git" did not exist on "19e1a5cf16ead982eb8818cd69e41b06a5d23b20"
Unverified
Commit
04244aaa
authored
Jan 16, 2024
by
Frank Lee
Committed by
GitHub
Jan 16, 2024
Browse files
[workflow] fixed incomplete bash command (#5272)
parent
ef4f0ee8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
.github/workflows/build_on_schedule.yml
.github/workflows/build_on_schedule.yml
+1
-0
No files found.
.github/workflows/build_on_schedule.yml
View file @
04244aaa
...
@@ -23,6 +23,7 @@ jobs:
...
@@ -23,6 +23,7 @@ jobs:
ngpu=$(nvidia-smi --query-gpu=name --format=csv,noheader | wc -l)
ngpu=$(nvidia-smi --query-gpu=name --format=csv,noheader | wc -l)
endIndex=$(($ngpu-1))
endIndex=$(($ngpu-1))
for i in $(seq 0 $endIndex);
for i in $(seq 0 $endIndex);
do
gpu_used=$(nvidia-smi -i $i --query-gpu=memory.used --format=csv,noheader,nounits)
gpu_used=$(nvidia-smi -i $i --query-gpu=memory.used --format=csv,noheader,nounits)
[ "$gpu_used" -gt "2000" ] && avai=false
[ "$gpu_used" -gt "2000" ] && avai=false
done
done
...
...
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