Repository navigation
73 lines (65 loc) · 1.96 KB
/
Copy patheval.yaml
File metadata and controls
73 lines (65 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: Run Benchmark Batch
on:
workflow_dispatch:
inputs:
model:
description: 'Model to evaluate (see run_batch.py MODELS dict)'
required: true
type: string
start:
description: 'Start task index (inclusive)'
required: true
type: number
end:
description: 'End task index (exclusive)'
required: true
type: number
parallel:
description: 'Max concurrent tasks'
required: false
default: '3'
type: string
tracking_id:
description: 'UUID for orchestrator to match results'
required: true
type: string
run_start:
description: 'Run start timestamp for aggregation'
required: true
type: string
jobs:
run-batch:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "latest"
- name: Set up Python
run: uv python install 3.12
- name: Install dependencies
run: uv sync
- name: Run benchmark batch
env:
BROWSER_USE_SETUP_LOGGING: "false"
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
BROWSER_USE_API_KEY: ${{ secrets.BROWSER_USE_API_KEY }}
run: |
uv run python run_batch.py \
--model "${{ inputs.model }}" \
--start ${{ inputs.start }} \
--end ${{ inputs.end }} \
--parallel ${{ inputs.parallel }} \
--tracking-id "${{ inputs.tracking_id }}" \
--run-start "${{ inputs.run_start }}" \
--output result.json
- name: Upload result
uses: actions/upload-artifact@v4
with:
name: batch-${{ inputs.tracking_id }}
path: result.json
retention-days: 30