Skip to content

Fix/vllm sampling params#450

Merged
ArtemVazh merged 2 commits intomainfrom
fix/vllm-sampling-params
Apr 9, 2026
Merged

Fix/vllm sampling params#450
ArtemVazh merged 2 commits intomainfrom
fix/vllm-sampling-params

Conversation

@ArtemVazh
Copy link
Copy Markdown
Collaborator

Updated from #431

@ArtemVazh ArtemVazh requested a review from smirnovlad April 9, 2026 11:37
Copy link
Copy Markdown
Collaborator

@smirnovlad smirnovlad left a comment

Choose a reason for hiding this comment

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

LGTM. Two important fixes:

  1. copy(self.sampling_params) prevents mutating the shared instance — without this, n bleeds across calls.
  2. Forwarding max_new_tokensmax_tokens for vLLM.

@ArtemVazh ArtemVazh merged commit c5ce6a6 into main Apr 9, 2026
1 check passed
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.

3 participants