Merge branch 'main' into patches

Signed-off-by: MOVZX <movzx@yahoo.com>
This commit is contained in:
2026-10-15 21:16:39 +07:00
1693 changed files with 99919 additions and 32440 deletions
+8 -1
View File
@@ -1085,6 +1085,7 @@ class CompilationConfig:
vllm_config: "VllmConfig",
prefix: str = "",
is_encoder: bool = False,
use_aot_compile: bool = True,
) -> str | Callable:
"""Initialize the backend for the compilation config from a vllm config.
@@ -1093,6 +1094,7 @@ class CompilationConfig:
prefix: Cache directory prefix for this compiled module.
is_encoder: Whether this module is used in an encoder (as
opposed to a text backbone).
use_aot_compile: Whether the module permits AOT and direct artifacts.
Returns:
The backend for the compilation config.
@@ -1124,7 +1126,12 @@ class CompilationConfig:
from vllm.compilation.backends import VllmBackend
return VllmBackend(vllm_config, prefix=prefix, is_encoder=is_encoder)
return VllmBackend(
vllm_config,
prefix=prefix,
is_encoder=is_encoder,
use_aot_compile=use_aot_compile,
)
def post_init_cudagraph_sizes(self) -> None:
"""To complete the initialization after cudagraph related