Sweep all 296 v2 modules: simplify verbose docstrings/comments and remove 376 dangling "(design_vN §X)" citations to the now-deleted design docs (v2/README.md is the source of truth). Comment/docstring-only — AST-verified code-identical; the CPU suite holds at 237 passed / 5 pre-existing. Also applies yapf + ruff --fix auto-fixes (import ordering, forward-ref annotation de-quoting under `from __future__ import annotations`; behavior- neutral, suite-confirmed) and adds the legitimate domain terms mot/clen/te to the codespell ignore-list. Remaining ruff (24) + mypy (68 no-untyped-call) findings are pre-existing v2 debt, untouched here.
24 lines
949 B
Python
24 lines
949 B
Python
"""Execution plane — engine + scheduler."""
|
|
from __future__ import annotations
|
|
|
|
from v2.runtime.async_engine import AsyncEngine, RequestState
|
|
from v2.runtime.context import RuntimeLoopContext
|
|
from v2.runtime.disaggregated import DisaggregatedRunner
|
|
from v2.runtime.engine import Engine, ProgramRunner
|
|
from v2.runtime.pools import DeployConfig, PoolSet, RolePool, RolePoolSpec, wan_t2v_disaggregated
|
|
from v2.runtime.session import WorldModelSession
|
|
from v2.runtime.scheduler import (
|
|
AdmissionController,
|
|
AdmissionInfeasible,
|
|
BatchScheduler,
|
|
SchedulerMetrics,
|
|
StepTicket,
|
|
WorkUnit,
|
|
)
|
|
|
|
__all__ = [
|
|
"Engine", "ProgramRunner", "RuntimeLoopContext", "AdmissionController", "AdmissionInfeasible", "BatchScheduler",
|
|
"SchedulerMetrics", "StepTicket", "WorkUnit", "AsyncEngine", "RequestState", "DisaggregatedRunner",
|
|
"WorldModelSession", "DeployConfig", "PoolSet", "RolePool", "RolePoolSpec", "wan_t2v_disaggregated"
|
|
]
|