[misc] Remove is_torch_equal_or_newer(2.4) cases (#32296)

Signed-off-by: angelayi <yiangela7@gmail.com>
This commit is contained in:
Angela Yi
2026-01-13 23:22:07 -08:00
committed by GitHub
parent 6b176095e3
commit 7933638051
4 changed files with 24 additions and 54 deletions
-2
View File
@@ -96,7 +96,6 @@ from vllm.utils.platform_utils import is_pin_memory_available
from vllm.utils.torch_utils import (
get_dtype_size,
kv_cache_dtype_str_to_dtype,
supports_dynamo,
)
from vllm.v1.attention.backend import (
AttentionBackend,
@@ -3944,7 +3943,6 @@ class GPUModelRunner(
if (
self.vllm_config.compilation_config.mode
== CompilationMode.STOCK_TORCH_COMPILE
and supports_dynamo()
):
backend = self.vllm_config.compilation_config.init_backend(self.vllm_config)
compilation_counter.stock_torch_compile_count += 1