We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
benchmark.yml
1 parent 88d1051 commit cbe0ea5Copy full SHA for cbe0ea5
.github/workflows/benchmark.yml
@@ -64,7 +64,7 @@ jobs:
64
commit_id=$GITHUB_SHA
65
fi
66
commit_msg=$(git show -s --format=%s | cut -c1-70)
67
- python3 benchmark/benchmarks_entrypoint.py "${{ github.head_ref || github.ref_name }}" "$commit_id" "$commit_msg"
+ python3 benchmark/benchmarks_entrypoint.py "$BRANCH_NAME" "$commit_id" "$commit_msg"
68
env:
69
HF_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}
70
# Enable this to see debug logs
@@ -73,3 +73,4 @@ jobs:
73
PGHOST: ${{ secrets.TRANSFORMERS_BENCHMARKS_PGHOST }}
74
PGUSER: transformers_benchmarks
75
PGPASSWORD: ${{ secrets.TRANSFORMERS_BENCHMARKS_PGPASSWORD }}
76
+ BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
0 commit comments