We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ea4cde commit 75728a0Copy full SHA for 75728a0
.buildkite/run-hpu-test.sh
@@ -8,6 +8,11 @@ set -ex
8
docker build -t hpu-test-env -f Dockerfile.hpu .
9
10
# Setup cleanup
11
+# certain versions of HPU software stack have a bug that can
12
+# override the exit code of the script, so we need to use
13
+# separate remove_docker_container and remove_docker_container_and_exit
14
+# functions, while other platforms only need one remove_docker_container
15
+# function.
16
EXITCODE=1
17
remove_docker_container() { docker rm -f hpu-test || true; }
18
remove_docker_container_and_exit() { remove_docker_container; exit $EXITCODE; }
0 commit comments