feat: configure Torch Dynamo recompile limit from environment (#7243)
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
This commit is contained in:
1 parent
d418004b6b
commit
6715c57b2d
6 files changed
+111
-1
No files matched your search
@@ -1,3 +1,6 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM-Omni project
|
||||
|
||||
"""
|
||||
vLLM-Omni: Multi-modality models inference and serving with
|
||||
non-autoregressive structures.
|
||||
@@ -38,6 +41,10 @@ except ModuleNotFoundError as exc: # pragma: no cover - optional dependency
|
||||
|
||||
from .config import OmniModelConfig
|
||||
|
||||
# Apply the process-wide default at vllm_omni import; later backend policies
|
||||
# take precedence.
|
||||
from . import env_override as _env_override # isort:skip # noqa: F401, E402
|
||||
|
||||
|
||||
def __getattr__(name: str):
|
||||
# Lazy import for AsyncOmni and Omni to avoid pulling in heavy
|
||||
|
||||
Reference in new issue
Block a user