[Perf] Support stream interval for reducing host overhead (#27869)

Signed-off-by: elvischenv <219235043+elvischenv@users.noreply.github.com>
Co-authored-by: Nick Hill <nhill@redhat.com>
This commit is contained in:
elvischenv
2025-11-13 13:21:25 -05:00
committed by GitHub
co-authored by Nick Hill
parent f9f3b596f3
commit 5d6ce2b960
6 changed files with 67 additions and 5 deletions
+2 -1
View File
@@ -96,8 +96,9 @@ class LLMEngine:
)
# OutputProcessor (convert EngineCoreOutputs --> RequestOutput).
stream_interval = self.vllm_config.scheduler_config.stream_interval
self.output_processor = OutputProcessor(
self.tokenizer, log_stats=self.log_stats
self.tokenizer, log_stats=self.log_stats, stream_interval=stream_interval
)
endpoint = self.observability_config.otlp_traces_endpoint
if endpoint is not None: