Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
5adf6f6b
Unverified
Commit
5adf6f6b
authored
Apr 24, 2025
by
Aaruni Aggarwal
Committed by
GitHub
Apr 24, 2025
Browse files
Updating builkite job for IBM Power (#17111)
Signed-off-by:
Aaruni Aggarwal
<
aaruniagg@gmail.com
>
parent
4115f199
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
.buildkite/scripts/hardware_ci/run-cpu-test-ppc64le.sh
.buildkite/scripts/hardware_ci/run-cpu-test-ppc64le.sh
+11
-4
No files found.
.buildkite/scripts/hardware_ci/run-cpu-test-ppc64le.sh
View file @
5adf6f6b
...
...
@@ -5,7 +5,12 @@
set
-ex
# Setup cleanup
remove_docker_container
()
{
podman
rm
-f
cpu-test-ubi9-ppc
||
true
;
podman system prune
-f
;
}
remove_docker_container
()
{
if
[[
-n
"
$container_id
"
]]
;
then
podman
rm
-f
"
$container_id
"
||
true
fi
podman system prune
-f
}
trap
remove_docker_container EXIT
remove_docker_container
...
...
@@ -13,17 +18,17 @@ remove_docker_container
podman build
-t
cpu-test-ubi9-ppc
-f
docker/Dockerfile.ppc64le
.
# Run the image
podman run
-itd
--entrypoint
/bin/bash
-v
/tmp/:/root/.cache/huggingface
--privileged
=
true
--network
host
-e
HF_TOKEN
--name
cpu-test-ubi9-ppc
cpu-test-ubi9-ppc
container_id
=
$(
podman run
-itd
--entrypoint
/bin/bash
-v
/tmp/:/root/.cache/huggingface
--privileged
=
true
--network
host
-e
HF_TOKEN cpu-test-ubi9-ppc
)
function
cpu_tests
()
{
# offline inference
podman
exec
cpu-test-ubi9-ppc
bash
-c
"
podman
exec
-it
"
$container_id
"
bash
-c
"
set -e
python3 examples/offline_inference/basic/generate.py --model facebook/opt-125m"
# Run basic model test
podman
exec
cpu-test-ubi9-ppc
bash
-c
"
podman
exec
-it
"
$container_id
"
bash
-c
"
set -e
pip install pytest pytest-asyncio einops peft Pillow soundfile transformers_stream_generator matplotlib
pip install sentence-transformers datamodel_code_generator
...
...
@@ -33,6 +38,8 @@ function cpu_tests() {
}
# All of CPU tests are expected to be finished less than 40 mins.
export
container_id
export
-f
cpu_tests
timeout
40m bash
-c
cpu_tests
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