use base version for version comparison (#19587)

Signed-off-by: Boyuan Feng <boyuan@meta.com>
This commit is contained in:
Boyuan Feng
2025-06-13 15:09:34 +08:00
committed by GitHub
parent cefdb9962d
commit ce688ad46e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ logger = init_logger(__name__)
def make_compiler(compilation_config: CompilationConfig) -> CompilerInterface:
if compilation_config.use_inductor:
if envs.VLLM_USE_STANDALONE_COMPILE and is_torch_equal_or_newer(
"2.8.0"):
"2.8.0a"):
logger.debug("Using InductorStandaloneAdaptor")
return InductorStandaloneAdaptor()
else: