Repository navigation
ci: add Fireworks inference provider e2e - #2712
Conversation
Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: Charlie Truong <[email protected]>
|
/claude review |
|
SHIP WITH CARE — the E2E harness and verifier are well-built; two things need a decision before this becomes a merge gate. What this does: adds a Findings (inline):
Nits verified clean: referenced config/data/script paths all exist; Not approving — leaving the gate/secrets decisions to a maintainer. |
Signed-off-by: Charlie Truong <[email protected]>
|
|
||
| - name: Install uv | ||
| run: | | ||
| curl -LsSf "https://astral.sh/uv/0.11.29/install.sh" | sh |
There was a problem hiding this comment.
Could we reuse the dynamic version
Line 75 in e87d5d9
Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: Charlie Truong <[email protected]>
Signed-off-by: Charlie Truong <[email protected]>
What does this PR do?
Adds a matrix-backed hosted-provider E2E job to
cicd-main.yml, starting with Fireworks andaccounts/fireworks/models/gpt-oss-20b.The provider-neutral runner executes directly on
ubuntu-latestwithout the private CI container. It builds and installs the Gym wheel in an isolated environment, then mirrors draft PR #2575's two-request tool loop using the existingexample_single_tool_callfixture:get_weather.The verifier checks the function call and matching tool output structurally without requiring deterministic model prose. It also requires a completed response, positive input/output token usage, and non-empty assistant output. The agent is bounded to two steps and each model response to 1024 output tokens.
The job remains part of the overall
Nemo_CICD_Testgate. Adding another hosted provider requires another matrix row with its provider config, model, and API-key secret name.The provider secret is resolved only into the provider test step environment and consumed through OmegaConf environment interpolation. It is not passed as a CLI argument or written into a config file.
Linear: https://linear.app/nvidia/issue/AUT-769/e2e-testing-with-an-inference-api-provider-fireworks
Testing
pre-commit run --all-filespython -m pytest tests/unit_tests/test_ci_environment.py -q— 36 passeddetect-secrets scan --exclude-files 'pyproject\.toml|\.github/workflows/config/\.secrets\.baseline' --disable-plugin KeywordDetectorgit diff --checkThe live hosted-provider request was not run locally because the credential was not accessed; the new CI job performs that validation with the repository secret.
Checklist
pre-commit run --all-files) (so CI lint/format/copyright pass).git commit -s) (so the DCO check passes).