vllm.multimodal.media.decode
¶
Classes:
-
MediaDecodeJob–A submitted decode and its location in the original request.
Functions:
-
collect_media_decodes–Drain every decode before reporting the first failure in request order.
-
collect_media_decodes_async–Drain decodes through caller cancellation without blocking the event loop.
-
submit_media_decodes–Append submitted work immediately so partial submission can be drained.
MediaDecodeJob
¶
collect_media_decodes(jobs, error_factory)
¶
Drain every decode before reporting the first failure in request order.
Source code in vllm/multimodal/media/decode.py
collect_media_decodes_async(jobs, error_factory)
async
¶
Drain decodes through caller cancellation without blocking the event loop.
Source code in vllm/multimodal/media/decode.py
submit_media_decodes(items, executor, jobs)
¶
Append submitted work immediately so partial submission can be drained.