Repository navigation
fix: Compatibility with vllm 0.20 tool-calling - #1432
Merged
Merged
Conversation
ananthsub
approved these changes
Jun 5, 2026
Signed-off-by: Teodor-Dumitru Ene <[email protected]>
cwing-nvidia
added a commit
that referenced
this pull request
Jun 6, 2026
Bring the branch up to date with main (18 commits). One conflict in responses_api_models/vllm_model/app.py: main edits the VLLMConverter class there, but this branch extracted it to nemo_gym/responses_converter.py. Resolved by keeping our extraction and porting the one converter change from main that we did not already have: - #1432 (vllm 0.20 tool-calling): guard `if tools:` instead of `if tools is not None:` so empty `tools: []` is not sent to vLLM, ported into nemo_gym/responses_converter.py. (#1511's converter reasoning-parser change was already ported in an earlier commit on this branch and auto-reconciled.) Signed-off-by: Chris Wing <[email protected]>
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.
vllm 0.20 has stricter Pydantic checking that does not allow for the
toolsfield to be an empty list.The official published Nemotron-3-Nano-RL training blend contains entries with
tools: []. This causes errors.This change prevents
tools: []entries from being propagated to vllm, preventing any such errors.