[CI] Enable mypy import following for vllm/compilation (#33199)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2026-01-28 08:59:54 +00:00
committed by GitHub
parent 9581185d51
commit f1acbd68c5
5 changed files with 4 additions and 53 deletions
-3
View File
@@ -29,9 +29,6 @@ else:
Torch25CustomGraphPass as CustomGraphPass,
)
# Re-export CustomGraphPass for external usage
__all__ = ["CustomGraphPass"]
_pass_context = None
P = ParamSpec("P")
R = TypeVar("R")
-3
View File
@@ -32,9 +32,6 @@ else:
logger = init_logger(__name__)
# Explicitly exports Range
__all__ = ["Range"]
class CompilationMode(enum.IntEnum):
"""The compilation approach used for torch.compile-based compilation of the
@@ -22,8 +22,6 @@ from .yarn_scaling_rope import YaRNScalingRotaryEmbedding
_ROPE_DICT: dict[tuple[Any, ...], RotaryEmbedding] = {}
__all__ = ["RotaryEmbedding"]
def get_rope(
head_size: int,