Skip to content

fix(pd_vllm): prefill request hygiene, ignore_eos support, usage in its own chunk - #55

Merged
mzmssg merged 2 commits into
tile-ai:mainfrom
WSEmma:fix/pd-vllm-inferx-fixes
Aug 5, 2026
Merged

fix(pd_vllm): prefill request hygiene, ignore_eos support, usage in its own chunk#55
mzmssg merged 2 commits into
tile-ai:mainfrom
WSEmma:fix/pd-vllm-inferx-fixes

Conversation

@WSEmma

@WSEmma WSEmma commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Two fixes for serving OpenAI-compatible clients over a PD deployment.

The prefill request now drops stream_options and max_completion_tokens from the client body: 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.

ignore_eos is now forwarded to the decode engine and honoured by the MLA/NSA adapter, streaming usage moves into its own trailing chunk carrying total_tokens (the shape vLLM and the OpenAI API emit), and the transformers / tokenizers pins are relaxed to >=.

CrimsonDump and others added 2 commits August 5, 2026 15:54
…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.
@mzmssg
mzmssg merged commit 24d9912 into tile-ai:main Aug 5, 2026
2 checks 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