Lora scheduler #23672
Annotations
11 errors
|
Mypy:
vllm/core/lora_scheduler.py#L22
Need type annotation for "active_loras" [var-annotated]
|
Mypy:
vllm/core/lora_scheduler.py#L23
Need type annotation for "all_loras" (hint: "all_loras: set[<type>] = ...") [var-annotated]
|
Mypy:
vllm/core/lora_scheduler.py#L26
Need type annotation for "__prev_scheduled_loras" (hint: "__prev_scheduled_loras: list[<type>] = ...") [var-annotated]
|
Mypy:
vllm/core/scheduler.py#L421
Argument 1 to "LoRAScheduler" has incompatible type "LoRAConfig | None"; expected "LoRAConfig" [arg-type]
|
Mypy:
vllm/core/scheduler.py#L696
Argument 1 to "set" has incompatible type "set[int] | None"; expected "Iterable[int]" [arg-type]
|
Mypy:
vllm/core/scheduler.py#L701
Argument 2 to "_ensure_loras_are_allowed" of "Scheduler" has incompatible type "set[int] | None"; expected "list[int]" [arg-type]
|
Mypy:
vllm/core/scheduler.py#L766
Argument 1 to "set" has incompatible type "set[int] | None"; expected "Iterable[int]" [arg-type]
|
Mypy:
vllm/core/scheduler.py#L771
Unsupported right operand type for in ("set[int] | None") [operator]
|
Mypy:
vllm/core/scheduler.py#L819
Argument 2 to "_ensure_loras_are_allowed" of "Scheduler" has incompatible type "set[int] | None"; expected "list[int]" [arg-type]
|
Mypy:
vllm/core/scheduler.py#L865
Argument 1 to "update_loras" of "LoRAScheduler" has incompatible type "set[int]"; expected "list[int]" [arg-type]
|
Loading