Skip to content

Commit 57e3cda

Browse files
committed
Fix deps install
1 parent 78ff33d commit 57e3cda

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/benchmark_v2.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@ jobs:
5555
ref: ${{ inputs.commit_sha || github.sha }}
5656

5757
- name: Install benchmark dependencies
58-
working-directory: benchmark_v2
5958
run: |
60-
python3 -m pip install -r requirements.txt
59+
run: python3 -m pip install -r benchmark_v2/requirements.txt
6160
6261
- name: Reinstall transformers in edit mode
6362
run: |
@@ -98,9 +97,8 @@ jobs:
9897
echo "Benchmark arguments: $args"
9998
10099
- name: Run benchmark v2
101-
working-directory: benchmark_v2
102100
run: |
103101
echo "Running benchmark with args: ${{ steps.prepare-args.outputs.benchmark_args }}"
104-
python3 run_benchmarks.py ${{ steps.prepare-args.outputs.benchmark_args }}
102+
python3 benchmark_v2/run_benchmarks.py ${{ steps.prepare-args.outputs.benchmark_args }}
105103
env:
106104
HF_TOKEN: ${{ secrets.HF_HUB_READ_TOKEN }}

0 commit comments

Comments
 (0)