Skip to content

Commit

Permalink
name
Browse files Browse the repository at this point in the history
  • Loading branch information
Glen authored and Glen committed Dec 8, 2024
1 parent c138de0 commit c3c80c6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/bench_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 &
Expand Down

0 comments on commit c3c80c6

Please sign in to comment.