use .dev for version comparison with pytorch nightly release (#20031)

Signed-off-by: Boyuan Feng <boyuan@meta.com>
This commit is contained in:
Boyuan Feng
2025-06-24 21:52:16 +00:00
committed by GitHub
parent ead369845d
commit c01d1c5aba
4 changed files with 19 additions and 5 deletions
+1 -1
View File
@@ -32,7 +32,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.0a"):
"2.8.0.dev"):
logger.debug("Using InductorStandaloneAdaptor")
return InductorStandaloneAdaptor()
else: