Skip to content

Commit 00f38e5

Browse files
committed
[NV] llm-d: bundle multinode_server_logs.tar.gz so EPP/vllm logs reach GHA
Signed-off-by: Ezra Silvera <ezra@il.ibm.com>
1 parent 9c98d8e commit 00f38e5

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

runners/launch_h200-dgxc-slurm.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,17 @@ if [[ "$IS_MULTINODE" == "true" ]]; then
129129
tail -F -s 2 -n+1 "$LOG_FILE" --pid=$POLL_PID 2>/dev/null
130130
wait $POLL_PID
131131

132+
# Bundle every server-side log into the artifact path the
133+
# `Upload server logs` workflow step picks up. Without this, the
134+
# llm-d-vllm path (this branch) leaves the logs on the runner
135+
# host where the user cannot reach them - epp.log, vllm_*.log,
136+
# sidecar_*.log, envoy_*.log, slurm_job-*.{out,err}, etc.
137+
if [[ -d "$BENCHMARK_LOGS_DIR" ]] && compgen -G "$BENCHMARK_LOGS_DIR/*" >/dev/null 2>&1; then
138+
tar czf "$GITHUB_WORKSPACE/multinode_server_logs.tar.gz" \
139+
-C "$BENCHMARK_LOGS_DIR" . 2>/dev/null || \
140+
echo "WARNING: failed to bundle multinode_server_logs.tar.gz" >&2
141+
fi
142+
132143
# Result collection: same shape as AMD path.
133144
for result_file in $(find "${BENCHMARK_LOGS_DIR}" -name "${RESULT_FILENAME}*.json" 2>/dev/null); do
134145
file_name=$(basename "$result_file")

0 commit comments

Comments
 (0)