From c3c80c61c94f5cff02277da701cf83a36dadebc2 Mon Sep 17 00:00:00 2001 From: Glen Date: Sun, 8 Dec 2024 19:02:53 +0000 Subject: [PATCH] name --- .github/workflows/bench_job.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bench_job.yml b/.github/workflows/bench_job.yml index 32a91817b..f267d6e22 100644 --- a/.github/workflows/bench_job.yml +++ b/.github/workflows/bench_job.yml @@ -54,10 +54,11 @@ jobs: aws_access_key_id: ${{ secrets.S3_EXO_BENCHMARKS_AWS_ACCESS_KEY_ID }} aws_secret_key: ${{ secrets.S3_EXO_BENCHMARKS_AWS_SECRET_ACCESS_KEY }} run: | - GITHUB_JOB=$(echo "${{ github.workflow_ref }}" | awk -F'/' '{print $NF}') - UNIQUE_JOB_ID="${GITHUB_JOB}_${GITHUB_RUN_ID}" + CALLING_JOB=$(echo "${{ github.workflow_ref }}" | awk -F'/' '{print $NF}') + export GITHUB_JOB=$CALLING_JOB # Export it for child processes + UNIQUE_JOB_ID="${CALLING_JOB}_${GITHUB_RUN_ID}" ALL_NODE_IDS=$(for i in $(seq ${{ strategy.job-total }} -1 0); do echo -n "${UNIQUE_JOB_ID}_${i},"; done | sed 's/,$//') - MY_NODE_ID="${UNIQUE_JOB_ID}_${{ strategy.job-index }}" + MY_NODE_ID="${UNIQUE_JOB_ID}_${{ strategy.job-index }} source env/bin/activate export PATH="/usr/local/bin:/opt/homebrew/bin:$PATH" exo --node-id="${MY_NODE_ID}" --node-id-filter="${ALL_NODE_IDS}" --chatgpt-api-port 52415 --disable-tui > output1.log 2>&1 &