Repository navigation
fix(vllm_model): use reasoning parser option in converter - #1511
Merged
Merged
Conversation
Signed-off-by: Christian Munley <[email protected]>
Signed-off-by: Christian Munley <[email protected]>
fsiino-nvidia
approved these changes
Jun 3, 2026
cmunley1
marked this pull request as ready for review
June 3, 2026 20:29
4 of 14 tasks
cwing-nvidia
added a commit
that referenced
this pull request
Jun 6, 2026
The converter extraction predated #1511, so the moved ResponsesConverter dropped the uses_reasoning_parser gating that #1511 added to VLLMConverter. Restore config-aware reasoning parsing: - Add uses_reasoning_parser field + gate to ResponsesConverter so <think> extraction is skipped when the parser is disabled - Pass uses_reasoning_parser through get_converter in vllm_model and genrm_model, and through the inference_provider converter - Port #1511's vllm_model test updates and add an inference_provider test covering the parser-disabled passthrough case Ref #1511 Signed-off-by: Chris Wing <[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.
No description provided.