Repository navigation
feat(cli): run an Inspect AI task with gym eval run inspect:<package>/<dataset> - #6932
Draft
cwing-nvidia wants to merge 1 commit into
Draft
cwing-nvidia wants to merge 1 commit into
cwing-nvidia wants to merge 1 commit into
Conversation
Contributor
Author
|
/ok to test 2a16781 |
Contributor
|
🌿 Preview your docs: https://nvidia-preview-pr-6932-2a167810144c.docs.buildwithfern.com/nemo/gym |
…/<task> gym eval run accepts an inspect: target. It prepares the task's samples as rows, writes the run configuration, starts the Model Server and the inspect Environment Server, and collects rollouts from the prepared rows through serve_and_collect_rollouts. Adds the docs page and its index row. The server's tests read the recipe from the docs page and run it through the real command, with a toy task and a stub endpoint in place of the eval and the model. --only-tasks and --exclude-tasks select samples by id, as they select tasks for any other target. Signed-off-by: Chris Wing <cwing@nvidia.com>
cwing-nvidia
force-pushed
the
cwing/inspect/eval-run-docs
branch
from
November 30, 2026 17:22
2a16781 to
477080f
Compare
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Contributor
Author
|
/ok to test 477080f |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal of the stack (#6683): run an eval written for Inspect AI in Gym without porting it. The eval's dataset, solver and scorer run as written; Gym serves the model and records every model call.
PR 5 of 5. This PR adds the command and the docs, and completes the first milestone.
What
gym eval run inspect:inspect_evals/bbq +inspect.worker_location=host ...prepares the samples, starts the servers and collects rollouts.Rollout evidence: each eval run twice through Gym and twice with
inspect eval,gpt-4o-miniunless noted.inspect evalo3)model_api: responses,--resume.Validation
mainon macOS.pre-commit run --all-filesandfern checkpass.Compatibility
+inspect.worker_location=hostuntil a sandboxed worker exists.uvand network access to build the worker environment.Follow-ups: tracked in #6923.