[Platform] Add platform pluggable framework #24597
Annotations
42 errors and 2 warnings
mypy (3.9):
vllm/platforms/__init__.py#L12
Incompatible types in assignment (expression has type "None", variable has type "Platform") [assignment]
|
mypy (3.9):
vllm/platforms/__init__.py#L23
Incompatible import of "CurrentPlatform" (imported name has type "type[TpuPlatform]", local name has type "Platform") [assignment]
|
mypy (3.9):
vllm/platforms/__init__.py#L34
Incompatible import of "CurrentPlatform" (imported name has type "type[CudaPlatformBase]", local name has type "Platform") [assignment]
|
mypy (3.9):
vllm/platforms/__init__.py#L46
Incompatible import of "CurrentPlatform" (imported name has type "type[CudaPlatformBase]", local name has type "Platform") [assignment]
|
mypy (3.9):
vllm/platforms/__init__.py#L55
Incompatible import of "CurrentPlatform" (imported name has type "type[RocmPlatform]", local name has type "Platform") [assignment]
|
mypy (3.9):
vllm/platforms/__init__.py#L66
Incompatible import of "CurrentPlatform" (imported name has type "type[HpuPlatform]", local name has type "Platform") [assignment]
|
mypy (3.9):
vllm/platforms/__init__.py#L78
Incompatible import of "CurrentPlatform" (imported name has type "type[XPUPlatform]", local name has type "Platform") [assignment]
|
mypy (3.9):
vllm/platforms/__init__.py#L87
Incompatible import of "CurrentPlatform" (imported name has type "type[CpuPlatform]", local name has type "Platform") [assignment]
|
mypy (3.9):
vllm/platforms/__init__.py#L95
Incompatible import of "CurrentPlatform" (imported name has type "type[NeuronPlatform]", local name has type "Platform") [assignment]
|
mypy (3.9):
vllm/platforms/__init__.py#L104
Incompatible import of "CurrentPlatform" (imported name has type "type[OpenVinoPlatform]", local name has type "Platform") [assignment]
|
mypy (3.10):
vllm/platforms/__init__.py#L12
Incompatible types in assignment (expression has type "None", variable has type "Platform") [assignment]
|
mypy (3.10):
vllm/platforms/__init__.py#L23
Incompatible import of "CurrentPlatform" (imported name has type "type[TpuPlatform]", local name has type "Platform") [assignment]
|
mypy (3.10):
vllm/platforms/__init__.py#L34
Incompatible import of "CurrentPlatform" (imported name has type "type[CudaPlatformBase]", local name has type "Platform") [assignment]
|
mypy (3.10):
vllm/platforms/__init__.py#L46
Incompatible import of "CurrentPlatform" (imported name has type "type[CudaPlatformBase]", local name has type "Platform") [assignment]
|
mypy (3.10):
vllm/platforms/__init__.py#L55
Incompatible import of "CurrentPlatform" (imported name has type "type[RocmPlatform]", local name has type "Platform") [assignment]
|
mypy (3.10):
vllm/platforms/__init__.py#L66
Incompatible import of "CurrentPlatform" (imported name has type "type[HpuPlatform]", local name has type "Platform") [assignment]
|
mypy (3.10):
vllm/platforms/__init__.py#L78
Incompatible import of "CurrentPlatform" (imported name has type "type[XPUPlatform]", local name has type "Platform") [assignment]
|
mypy (3.10):
vllm/platforms/__init__.py#L87
Incompatible import of "CurrentPlatform" (imported name has type "type[CpuPlatform]", local name has type "Platform") [assignment]
|
mypy (3.10):
vllm/platforms/__init__.py#L95
Incompatible import of "CurrentPlatform" (imported name has type "type[NeuronPlatform]", local name has type "Platform") [assignment]
|
mypy (3.10):
vllm/platforms/__init__.py#L104
Incompatible import of "CurrentPlatform" (imported name has type "type[OpenVinoPlatform]", local name has type "Platform") [assignment]
|
mypy (3.11)
The job was canceled because "_3_9" failed.
|
mypy (3.11):
vllm/platforms/__init__.py#L12
Incompatible types in assignment (expression has type "None", variable has type "Platform") [assignment]
|
mypy (3.11):
vllm/platforms/__init__.py#L23
Incompatible import of "CurrentPlatform" (imported name has type "type[TpuPlatform]", local name has type "Platform") [assignment]
|
mypy (3.11):
vllm/platforms/__init__.py#L34
Incompatible import of "CurrentPlatform" (imported name has type "type[CudaPlatformBase]", local name has type "Platform") [assignment]
|
mypy (3.11):
vllm/platforms/__init__.py#L46
Incompatible import of "CurrentPlatform" (imported name has type "type[CudaPlatformBase]", local name has type "Platform") [assignment]
|
mypy (3.11):
vllm/platforms/__init__.py#L55
Incompatible import of "CurrentPlatform" (imported name has type "type[RocmPlatform]", local name has type "Platform") [assignment]
|
mypy (3.11):
vllm/platforms/__init__.py#L66
Incompatible import of "CurrentPlatform" (imported name has type "type[HpuPlatform]", local name has type "Platform") [assignment]
|
mypy (3.11):
vllm/platforms/__init__.py#L78
Incompatible import of "CurrentPlatform" (imported name has type "type[XPUPlatform]", local name has type "Platform") [assignment]
|
mypy (3.11):
vllm/platforms/__init__.py#L87
Incompatible import of "CurrentPlatform" (imported name has type "type[CpuPlatform]", local name has type "Platform") [assignment]
|
mypy (3.11):
vllm/platforms/__init__.py#L95
Incompatible import of "CurrentPlatform" (imported name has type "type[NeuronPlatform]", local name has type "Platform") [assignment]
|
mypy (3.11):
vllm/platforms/__init__.py#L104
Incompatible import of "CurrentPlatform" (imported name has type "type[OpenVinoPlatform]", local name has type "Platform") [assignment]
|
mypy (3.12)
The job was canceled because "_3_9" failed.
|
mypy (3.12):
vllm/platforms/__init__.py#L12
Incompatible types in assignment (expression has type "None", variable has type "Platform") [assignment]
|
mypy (3.12):
vllm/platforms/__init__.py#L23
Incompatible import of "CurrentPlatform" (imported name has type "type[TpuPlatform]", local name has type "Platform") [assignment]
|
mypy (3.12):
vllm/platforms/__init__.py#L34
Incompatible import of "CurrentPlatform" (imported name has type "type[CudaPlatformBase]", local name has type "Platform") [assignment]
|
mypy (3.12):
vllm/platforms/__init__.py#L46
Incompatible import of "CurrentPlatform" (imported name has type "type[CudaPlatformBase]", local name has type "Platform") [assignment]
|
mypy (3.12):
vllm/platforms/__init__.py#L55
Incompatible import of "CurrentPlatform" (imported name has type "type[RocmPlatform]", local name has type "Platform") [assignment]
|
mypy (3.12):
vllm/platforms/__init__.py#L66
Incompatible import of "CurrentPlatform" (imported name has type "type[HpuPlatform]", local name has type "Platform") [assignment]
|
mypy (3.12):
vllm/platforms/__init__.py#L78
Incompatible import of "CurrentPlatform" (imported name has type "type[XPUPlatform]", local name has type "Platform") [assignment]
|
mypy (3.12):
vllm/platforms/__init__.py#L87
Incompatible import of "CurrentPlatform" (imported name has type "type[CpuPlatform]", local name has type "Platform") [assignment]
|
mypy (3.12):
vllm/platforms/__init__.py#L95
Incompatible import of "CurrentPlatform" (imported name has type "type[NeuronPlatform]", local name has type "Platform") [assignment]
|
mypy (3.12):
vllm/platforms/__init__.py#L104
Incompatible import of "CurrentPlatform" (imported name has type "type[OpenVinoPlatform]", local name has type "Platform") [assignment]
|
mypy (3.9)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
mypy (3.10)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|