[Bugfix] Remove stale OmniStage import and type annotation (#3541)

Signed-off-by: Jianliang Qi <jianliang5669@gmail.com>
This commit is contained in:
qiye authored and GitHub committed 2026-05-22 11:32:14 +08:00
1 parent 8e937400dc
commit 0ed3186db1
1 file changed
+1 -3
+1 -3
View File
@@ -13,8 +13,6 @@ from typing import TYPE_CHECKING, Any
if TYPE_CHECKING:
from vllm import SamplingParams
from vllm_omni.entrypoints.omni_stage import OmniStage
_DEFAULT_MOONCAKE_BOOTSTRAP_PORT = 25201
logger = logging.getLogger(__name__)
@@ -131,7 +129,7 @@ class PDDisaggregationMixin:
p_stage = self.stage_configs[p_id]
d_stage = self.stage_configs[d_id]
def _get_kv_cfg(stage: "OmniStage") -> dict[str, Any]:
def _get_kv_cfg(stage: Any) -> dict[str, Any]:
ea = stage.engine_args
cfg = getattr(ea, "kv_transfer_config", None)
if cfg is None: