Skip to content

fix(vllm_model): use reasoning parser option in converter - #1511

Merged
cmunley1 merged 4 commits into
mainfrom
cmunley1/fix-uses-reasoning-parser-in-converter
Jun 5, 2026
Merged

cmunley1 merged 4 commits into
mainfrom
cmunley1/fix-uses-reasoning-parser-in-converter

Conversation

@cmunley1

@cmunley1 cmunley1 commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Christian Munley <[email protected]>
@copy-pr-bot

copy-pr-bot Bot commented Jun 3, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Signed-off-by: Christian Munley <[email protected]>
@bxyu-nvidia
bxyu-nvidia requested a review from fsiino-nvidia June 3, 2026 20:15
@cmunley1
cmunley1 marked this pull request as ready for review June 3, 2026 20:29
@cmunley1
cmunley1 merged commit f5db4a0 into main Jun 5, 2026
6 checks passed
@cmunley1
cmunley1 deleted the cmunley1/fix-uses-reasoning-parser-in-converter branch June 5, 2026 01:42
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants