[BE] Rename should_torch_compile_mm_vit to should_torch_compile_mm_encoder (#36281)

Signed-off-by: Lucas Kabela <lucaskabela@meta.com>
This commit is contained in:
Lucas Kabela
2026-03-09 18:22:05 +00:00
committed by GitHub
parent 10a5f4d53d
commit 3fd03f1ec2
6 changed files with 23 additions and 17 deletions
-5
View File
@@ -143,11 +143,6 @@ def is_vit_use_data_parallel():
return mm_encoder_tp_mode == "data"
def should_torch_compile_mm_vit(vllm_config: VllmConfig) -> bool:
"""Callable to be passed to `@support_torch_compile`'s `enable_if` argument."""
return vllm_config.compilation_config.compile_mm_encoder
VisionFeatureSelectStrategyStr = Literal["class", "default", "full"]
VisionFeatureSelectStrategy: TypeAlias = (