File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,11 @@ You can add any other [engine-args](../configuration/engine_args.md) you need af
4141 create a custom Dockerfile on top of the base image with an extra layer that installs them:
4242
4343 ```Dockerfile
44- FROM vllm/vllm-openai:v0.9 .0
44+ FROM vllm/vllm-openai:v0.11 .0
4545
4646 # e.g. install the `audio` optional dependencies
4747 # NOTE: Make sure the version of vLLM matches the base image!
48- RUN uv pip install --system vllm[audio]==0.9 .0
48+ RUN uv pip install --system vllm[audio]==0.11 .0
4949 ```
5050
5151!!! tip
Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ def get_mm_max_contiguous_tokens(
368368 self ,
369369 seq_len : int ,
370370 mm_counts : Mapping [str , int ] | None = None ,
371- ):
371+ ) -> Mapping [ str , int ] :
372372 """
373373 Returns the maximum length of the multimodal (image placeholders+text)
374374 tokens, including any break/text tokens in-between image embeddings.
Original file line number Diff line number Diff line change @@ -113,14 +113,12 @@ def __init__(
113113 # req_id -> Request
114114 self .requests : dict [str , Request ] = {}
115115 # Scheduling policy
116- if self .scheduler_config .policy == "priority" :
117- self .policy = SchedulingPolicy .PRIORITY
118- elif self .scheduler_config .policy == "fcfs" :
119- self .policy = SchedulingPolicy .FCFS
120- else :
116+ try :
117+ self .policy = SchedulingPolicy (self .scheduler_config .policy )
118+ except ValueError as e :
121119 raise ValueError (
122120 f"Unknown scheduling policy: { self .scheduler_config .policy } "
123- )
121+ ) from e
124122 # Priority queues for requests.
125123 self .waiting = create_request_queue (self .policy )
126124 self .running : list [Request ] = []
You can’t perform that action at this time.
0 commit comments