Skip to content

Lora scheduler

Lora scheduler #23672

Triggered via pull request December 6, 2024 00:02
Status Failure
Total duration 29s
Artifacts

mypy.yaml

on: pull_request
Matrix: mypy
Fit to window
Zoom out
Zoom in

Annotations

43 errors and 1 warning
mypy (3.11): vllm/core/lora_scheduler.py#L22
Need type annotation for "active_loras" [var-annotated]
mypy (3.11): vllm/core/lora_scheduler.py#L23
Need type annotation for "all_loras" (hint: "all_loras: set[<type>] = ...") [var-annotated]
mypy (3.11): vllm/core/lora_scheduler.py#L26
Need type annotation for "__prev_scheduled_loras" (hint: "__prev_scheduled_loras: list[<type>] = ...") [var-annotated]
mypy (3.11): vllm/core/scheduler.py#L421
Argument 1 to "LoRAScheduler" has incompatible type "LoRAConfig | None"; expected "LoRAConfig" [arg-type]
mypy (3.11): vllm/core/scheduler.py#L696
Argument 1 to "set" has incompatible type "set[int] | None"; expected "Iterable[int]" [arg-type]
mypy (3.11): 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 (3.11): vllm/core/scheduler.py#L766
Argument 1 to "set" has incompatible type "set[int] | None"; expected "Iterable[int]" [arg-type]
mypy (3.11): vllm/core/scheduler.py#L771
Unsupported right operand type for in ("set[int] | None") [operator]
mypy (3.11): 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 (3.11): vllm/core/scheduler.py#L865
Argument 1 to "update_loras" of "LoRAScheduler" has incompatible type "set[int]"; expected "list[int]" [arg-type]
mypy (3.9)
The job was canceled because "_3_11" failed.
mypy (3.9): vllm/core/lora_scheduler.py#L22
Need type annotation for "active_loras" [var-annotated]
mypy (3.9): vllm/core/lora_scheduler.py#L23
Need type annotation for "all_loras" (hint: "all_loras: set[<type>] = ...") [var-annotated]
mypy (3.9): vllm/core/lora_scheduler.py#L26
Need type annotation for "__prev_scheduled_loras" (hint: "__prev_scheduled_loras: list[<type>] = ...") [var-annotated]
mypy (3.9): vllm/core/scheduler.py#L421
Argument 1 to "LoRAScheduler" has incompatible type "Optional[LoRAConfig]"; expected "LoRAConfig" [arg-type]
mypy (3.9): vllm/core/scheduler.py#L696
Argument 1 to "set" has incompatible type "Optional[set[int]]"; expected "Iterable[int]" [arg-type]
mypy (3.9): vllm/core/scheduler.py#L701
Argument 2 to "_ensure_loras_are_allowed" of "Scheduler" has incompatible type "Optional[set[int]]"; expected "list[int]" [arg-type]
mypy (3.9): vllm/core/scheduler.py#L766
Argument 1 to "set" has incompatible type "Optional[set[int]]"; expected "Iterable[int]" [arg-type]
mypy (3.9): vllm/core/scheduler.py#L771
Unsupported right operand type for in ("Optional[set[int]]") [operator]
mypy (3.9): vllm/core/scheduler.py#L819
Argument 2 to "_ensure_loras_are_allowed" of "Scheduler" has incompatible type "Optional[set[int]]"; expected "list[int]" [arg-type]
mypy (3.9): vllm/core/scheduler.py#L865
Argument 1 to "update_loras" of "LoRAScheduler" has incompatible type "set[int]"; expected "list[int]" [arg-type]
mypy (3.12)
The job was canceled because "_3_11" failed.
mypy (3.12): vllm/core/lora_scheduler.py#L22
Need type annotation for "active_loras" [var-annotated]
mypy (3.12): vllm/core/lora_scheduler.py#L23
Need type annotation for "all_loras" (hint: "all_loras: set[<type>] = ...") [var-annotated]
mypy (3.12): vllm/core/lora_scheduler.py#L26
Need type annotation for "__prev_scheduled_loras" (hint: "__prev_scheduled_loras: list[<type>] = ...") [var-annotated]
mypy (3.12): vllm/core/scheduler.py#L421
Argument 1 to "LoRAScheduler" has incompatible type "LoRAConfig | None"; expected "LoRAConfig" [arg-type]
mypy (3.12): vllm/core/scheduler.py#L696
Argument 1 to "set" has incompatible type "set[int] | None"; expected "Iterable[int]" [arg-type]
mypy (3.12): 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 (3.12): vllm/core/scheduler.py#L766
Argument 1 to "set" has incompatible type "set[int] | None"; expected "Iterable[int]" [arg-type]
mypy (3.12): vllm/core/scheduler.py#L771
Unsupported right operand type for in ("set[int] | None") [operator]
mypy (3.12): 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 (3.12): vllm/core/scheduler.py#L865
Argument 1 to "update_loras" of "LoRAScheduler" has incompatible type "set[int]"; expected "list[int]" [arg-type]
mypy (3.10)
The job was canceled because "_3_11" failed.
mypy (3.10): vllm/core/lora_scheduler.py#L22
Need type annotation for "active_loras" [var-annotated]
mypy (3.10): vllm/core/lora_scheduler.py#L23
Need type annotation for "all_loras" (hint: "all_loras: set[<type>] = ...") [var-annotated]
mypy (3.10): vllm/core/lora_scheduler.py#L26
Need type annotation for "__prev_scheduled_loras" (hint: "__prev_scheduled_loras: list[<type>] = ...") [var-annotated]
mypy (3.10): vllm/core/scheduler.py#L421
Argument 1 to "LoRAScheduler" has incompatible type "LoRAConfig | None"; expected "LoRAConfig" [arg-type]
mypy (3.10): vllm/core/scheduler.py#L696
Argument 1 to "set" has incompatible type "set[int] | None"; expected "Iterable[int]" [arg-type]
mypy (3.10): 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 (3.10): vllm/core/scheduler.py#L766
Argument 1 to "set" has incompatible type "set[int] | None"; expected "Iterable[int]" [arg-type]
mypy (3.10): vllm/core/scheduler.py#L771
Unsupported right operand type for in ("set[int] | None") [operator]
mypy (3.10): 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 (3.10): vllm/core/scheduler.py#L865
Argument 1 to "update_loras" of "LoRAScheduler" has incompatible type "set[int]"; expected "list[int]" [arg-type]
mypy (3.11)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636