The Stream Stutters
Your streaming chat product runs on vLLM with chunked prefill enabled. Users complain that generation "stutters": tokens arrive smoothly for a second, then pause for several hundred milliseconds, then resume. Time to first token is excellent. The pauses correlate with other users pasting long documents.
llm = LLM(
model=MODEL,
gpu_memory_utilization=0.90,
max_num_seqs=256,
max_num_batched_tokens=32768, # tokens scheduled per engine step
)
Which change addresses the complaint, and what does it cost you?
Sign in to answer questions and track your progress
Sign In