@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / bb59c90248
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 8, 06:15 UTC

[CI] Write bake config to temp directory instead of repo root (#34569)

Signed-off-by: Amr Mahdi <amrmahdi@meta.com>

Amr Mahdi committed Feb 15, 2026 at 22:15 UTC bb59c902480ddb054e7f3f0762b386e0d4e269bd
1 file changed +6 -1
.buildkite/image_build/image_build.sh
+6 -1
@@ -142,7 +142,12 @@ resolve_parent_commit() {
142
143 print_bake_config() {
144 echo "--- :page_facing_up: Resolved bake configuration"
145 - BAKE_CONFIG_FILE="bake-config-build-${BUILDKITE_BUILD_NUMBER:-local}.json"
145 + # Write to a temp directory to avoid polluting the repo root (which is the
146 + # Docker build context). Files left in the repo root get COPY'd into the
147 + # image and can cause duplicate artifact uploads from downstream steps.
148 + local bake_tmp
149 + bake_tmp="$(mktemp -d)"
150 + BAKE_CONFIG_FILE="${bake_tmp}/bake-config-build-${BUILDKITE_BUILD_NUMBER:-local}.json"
151 docker buildx bake -f "${VLLM_BAKE_FILE_PATH}" -f "${CI_HCL_PATH}" --print "${TARGET}" | tee "${BAKE_CONFIG_FILE}" || true
152 echo "Saved bake config to ${BAKE_CONFIG_FILE}"
153 echo "--- :arrow_down: Uploading bake config to Buildkite"