Skip to content

Commit d3d2e2e

Browse files
committed
Change order of build and cleanup
Signed-off-by: Carol Zheng <[email protected]>
1 parent 5a9f2df commit d3d2e2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.buildkite/scripts/hardware_ci/run-tpu-v1-test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ trap remove_docker_container EXIT
1313
# Remove the container that might not be cleaned up in the previous run.
1414
remove_docker_container
1515

16+
# Build the docker image.
17+
docker build -f docker/Dockerfile.tpu -t vllm-tpu .
18+
1619
# Set up cleanup.
1720
cleanup_docker() {
1821
# Get Docker's root directory
@@ -39,9 +42,6 @@ cleanup_docker() {
3942
}
4043
cleanup_docker
4144

42-
# Build the docker image.
43-
docker build -f docker/Dockerfile.tpu -t vllm-tpu .
44-
4545
# For HF_TOKEN.
4646
source /etc/environment
4747

0 commit comments

Comments
 (0)