Merge main into dev/vllm-align for vLLM 0.31 release
Signed-off-by: tzhouam <tzhouam@connect.ust.hk>
This commit is contained in:
commit
008fa25263
252 files changed
+27589
-1237
No files matched your search
@@ -130,6 +130,7 @@ class AsyncOmni(AsyncOmniBase, EngineClient):
|
||||
reasoning_ended: bool | None = None,
|
||||
reasoning_parser_kwargs: dict[str, Any] | None = None,
|
||||
arrival_time: float | None = None,
|
||||
submitted: asyncio.Future[None] | None = None,
|
||||
) -> AsyncGenerator[OmniRequestOutput, None]:
|
||||
"""Generate outputs for the given prompt(s) asynchronously.
|
||||
|
||||
@@ -300,6 +301,9 @@ class AsyncOmni(AsyncOmniBase, EngineClient):
|
||||
if admitting:
|
||||
await self._release_generate_admission()
|
||||
admitting = False
|
||||
# Callers wait on this before abort so Stage0 observes the sender cache.
|
||||
if submitted is not None and not submitted.done():
|
||||
submitted.set_result(None)
|
||||
# Refresh gauges on arrival.
|
||||
self._publish_request_gauges(len(self.request_states))
|
||||
|
||||
|
||||
Reference in new issue
Block a user