Skip to content

Conversation

@ahao-anyscale
Copy link
Contributor

@ahao-anyscale ahao-anyscale commented Oct 21, 2025

Purpose

When running with Qwen/Qwen3-30B-A3B, reasoning_content is empty despite correctly formed <think> tag. Relevant issue: ray-project/ray#57919

Test Plan

Run requests with Qwen/Qwen3-30B-A3B and observe that reasoning_content is populated instead of content.


Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.
  • (Optional) Release notes update. If your change is user facing, please update the release notes draft in the Google Doc.

@mergify mergify bot added the qwen Related to Qwen models label Oct 21, 2025
@ruisearch42 ruisearch42 added the ready ONLY add when PR is ready to merge/full CI is needed label Oct 21, 2025
@ahao-anyscale ahao-anyscale marked this pull request as ready for review October 21, 2025 16:40
@staticmethod
def verify_and_update_config(vllm_config: "VllmConfig") -> None:
structured_outputs_config = vllm_config.structured_outputs_config
if structured_outputs_config.reasoning_parser == "":
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you start vLLM?

This field structured_outputs_config.reasoning_parser can be set via the parameter --reasoning-parser qwen3.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the user intended to supply these arguments? I seems that it would make more sense to automatically set them for reasoning models. I saw that gptoss had its reasoning-parser set automatically via verify_and_update_config. Thanks for reviewing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

qwen Related to Qwen models ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants