Skip to content

fix(pd_vllm): drop stream_options / max_completion_tokens from the prefill request - #54

Closed
WSEmma wants to merge 1 commit into
tile-ai:mainfrom
WSEmma:fix/pd-prefill-drop-contradicting-fields
Closed

fix(pd_vllm): drop stream_options / max_completion_tokens from the prefill request#54
WSEmma wants to merge 1 commit into
tile-ai:mainfrom
WSEmma:fix/pd-prefill-drop-contradicting-fields

Conversation

@WSEmma

@WSEmma WSEmma commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Supports streaming clients against a PD deployment: the prefill request now drops stream_options and max_completion_tokens from the client body, since the first contradicts the stream=False we force (vLLM rejects the pair with a 400 during body parsing) and the second overrides our max_tokens=1.

Verified with vllm bench serve --backend openai-chat, which sends both unconditionally and previously failed every request.

@WSEmma
WSEmma force-pushed the fix/pd-prefill-drop-contradicting-fields branch from 03c9b0f to 35c8782 Compare August 5, 2026 07:25
@WSEmma WSEmma changed the title fix(pd_vllm): drop stream_options / max_completion_tokens from the prefill leg fix(pd_vllm): drop stream_options / max_completion_tokens from the prefill request Aug 5, 2026
@WSEmma
WSEmma force-pushed the fix/pd-prefill-drop-contradicting-fields branch from 35c8782 to 604badd Compare August 5, 2026 07:28
…efill request

Supports streaming clients against a PD deployment: the prefill request now
drops stream_options and max_completion_tokens from the client body, since the
first contradicts the stream=False we force (vLLM rejects the pair with a 400
during body parsing) and the second overrides our max_tokens=1.

Verified with `vllm bench serve --backend openai-chat`, which sends both
unconditionally and previously failed every request.
@WSEmma
WSEmma force-pushed the fix/pd-prefill-drop-contradicting-fields branch from 604badd to 9a96655 Compare August 5, 2026 07:34
@WSEmma WSEmma closed this Aug 5, 2026
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