[MM][CG] Simplify ViT CUDA graph interfaces (#44484)

Signed-off-by: shen-shanshan <467638484@qq.com>
This commit is contained in:
Shanshan Shen
2026-06-08 05:57:06 +00:00
committed by GitHub
parent eebce65756
commit 8fb0274415
2 changed files with 2 additions and 8 deletions
+2 -2
View File
@@ -1524,8 +1524,8 @@ class SupportsEncoderCudaGraph(Protocol):
self,
mm_kwargs: dict[str, Any],
) -> str:
"""Return the modality of the inputs."""
...
"""Return the modality of the inputs (default: image-only)."""
return "image"
def get_max_frames_per_video(
self,
-6
View File
@@ -709,12 +709,6 @@ class Step3VLForConditionalGeneration(
out_hidden_size=self.config.hidden_size,
)
def get_input_modality(
self,
mm_kwargs: dict[str, Any],
) -> str:
return "image"
def get_encoder_cudagraph_budget_range(
self,
vllm_config: "VllmConfig",