Repository navigation
refactor(agentic-if-realworld): use the standard vLLM model client - #6160
Conversation
Signed-off-by: ericyang0 <[email protected]>
|
I’d like us to move the adaptive profile off Please use the SimpleAgent session example on main as a wiring reference. Its Keep Please add an integration test through the configured environment/session entrypoints, covering incomplete delivery, session cleanup, and resume without new policy calls. The migration should also preserve the frozen token caps and stop for reconciliation after ambiguous dispatch; the stock client’s retry and budget-refitting defaults need explicit handling. |
Signed-off-by: ericyang0 <[email protected]>
|
@yaoyu-33 I’ve addressed your feedback in #6160. The adaptive profile now uses agent sessions, with explicit retry/token-cap settings and HTTP tests covering cleanup and resume. Could you take another look? Thank you so much All 2,260 local tests and the live synthetic smoke passed; new-head hosted CI is still pending. |
Signed-off-by: ericyang0 <[email protected]>
|
/ok to test 0fb55dd |
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/44199777737 |
ba3cd7e
Agentic IF Realworld's adaptive profile used a benchmark-specific model adapter, bypassing the stock client's token capture and reasoning conversion. This follow-up to #5013 selects the standard vLLM model client, forwards the frozen attempt seed through its existing metadata interface, and retains the full Responses payload, including token metadata. The verifier scores a separate projection. A separate issue is unnecessary for this integration follow-up.
The five-phase first-complete schedule, independent judge resume, frozen wrapper/data/validator and Sol/medium judge remain unchanged. Preserve main's provider repetition checks in the Responses projection; two regression cases failed before the fix and pass afterward. The 969 released tasks remain evaluation-only. Public changes contain runtime code, documentation and independently synthetic test cases.
Compatibility:
raw_receipt.yamlretains the former adapter profile.native.yamlcontinues supporting other standard clients for ordinary single-turn collection; the seeded adaptive schedule requiresvllm_model. Existing EFB pins and saved runs keep their original transport. After this merges, EFB needs a separate Gym pin/configuration update and a new run directory. Responses receipts identify their logical request separately from upstream HTTP bytes; this change does not establish historical score comparability.Validation on the published tree (base
b2a27913e248fe4c7e9a975e7df6b2fbe18aa3fb):gym env testinstallations and the complete core/sandbox/all-server suites were not run.3a30d34dfc7cd6a8416f2259b688557af04f3fc4, one independently synthetic task ran through live GLM-5.3 and GPT-6.1 Sol/medium, passed health/P0, and completed resume with zero new policy/judge calls and unchanged receipts/captures. The hosted endpoint did not supply live training token IDs; token retention is covered by mock-engine HTTP integration tests.No real benchmark inputs, training run, full 969-task rerun, deployment or downstream repin was performed. Hosted CI and maintainer review are pending. The commit includes DCO sign-off.