File tree 3 files changed +885
-721
lines changed
3 files changed +885
-721
lines changed Original file line number Diff line number Diff line change 16
16
jobs :
17
17
benchmark :
18
18
name : Benchmark
19
+ strategy :
20
+ matrix :
21
+ group : [aws-g5-4xlarge-cache, aws-p4d-24xlarge-plus]
19
22
runs-on :
20
- group : aws-g5-4xlarge-cache
23
+ group : ${{ matrix.group }}
21
24
if : |
22
25
(github.event_name == 'pull_request' && contains( github.event.pull_request.labels.*.name, 'run-benchmark') )||
23
26
(github.event_name == 'push' && github.ref == 'refs/heads/main')
60
63
commit_id=$GITHUB_SHA
61
64
fi
62
65
commit_msg=$(git show -s --format=%s | cut -c1-70)
66
+ df -h
63
67
python3 benchmark/llama.py "${{ github.head_ref || github.ref_name }}" "$commit_id" "$commit_msg"
64
68
env :
65
69
HF_TOKEN : ${{ secrets.HF_HUB_READ_TOKEN }}
70
+ # Enable this to see debug logs
71
+ # HF_HUB_VERBOSITY: debug
72
+ # TRANSFORMERS_VERBOSITY: debug
66
73
PGHOST : ${{ secrets.TRANSFORMERS_BENCHMARKS_PGHOST }}
67
74
PGUSER : transformers_benchmarks
68
75
PGPASSWORD : ${{ secrets.TRANSFORMERS_BENCHMARKS_PGPASSWORD }}
You can’t perform that action at this time.
0 commit comments