File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Eval Protocol Rollout
22
3- run-name : rollout:${{ inputs.rollout_id }}
3+ run-name : rollout:${{ fromJSON( inputs.metadata) .rollout_id }}
44
55on :
66 workflow_dispatch :
77 inputs :
88 model :
9- description : ' Model to use for the rollout '
9+ description : ' Model to use'
1010 required : true
1111 type : string
12- rollout_id :
13- description : ' Rollout ID for tracking '
12+ metadata :
13+ description : ' JSON serialized metadata object '
1414 required : true
1515 type : string
16- prompt :
17- description : ' User prompt for the rollout '
16+ model_base_url :
17+ description : ' Base URL for the model API '
1818 required : true
1919 type : string
2020
2121jobs :
2222 rollout :
2323 runs-on : ubuntu-latest
24- name : rollout-${{ inputs.rollout_id }}
2524
2625 steps :
2726 - name : Checkout code
4342 run : |
4443 python tests/github_actions/rollout_worker.py \
4544 --model "${{ inputs.model }}" \
46- --rollout-id "${{ inputs.rollout_id }}" \
47- --prompt "${{ inputs.prompt }}"
48-
49- - name : Upload rollout trace
50- uses : actions/upload-artifact@v4
51- if : always() # Upload even if the rollout failed
52- with :
53- name : rollout-trace-${{ inputs.rollout_id }}
54- path : rollout_trace_${{ inputs.rollout_id }}.json
55- retention-days : 7
45+ --metadata '${{ inputs.metadata }}' \
46+ --model-base-url "${{ inputs.model_base_url }}"
You can’t perform that action at this time.
0 commit comments