Skip to content

Commit

Permalink
[HPU][misc] add comments for explanation (vllm-project#12034)
Browse files Browse the repository at this point in the history
Signed-off-by: youkaichao <youkaichao@gmail.com>
Signed-off-by: Isotr0py <2037008807@qq.com>
  • Loading branch information
youkaichao authored and Isotr0py committed Feb 2, 2025
1 parent 0a54eac commit 979582f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .buildkite/run-hpu-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ set -ex
docker build -t hpu-test-env -f Dockerfile.hpu .

# Setup cleanup
# certain versions of HPU software stack have a bug that can
# override the exit code of the script, so we need to use
# separate remove_docker_container and remove_docker_container_and_exit
# functions, while other platforms only need one remove_docker_container
# function.
EXITCODE=1
remove_docker_container() { docker rm -f hpu-test || true; }
remove_docker_container_and_exit() { remove_docker_container; exit $EXITCODE; }
Expand Down

0 comments on commit 979582f

Please sign in to comment.