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.
11 lines
584 B
Python
11 lines
584 B
Python
# STUB: re-exports fastvideo until vendored (see memory: v2-vendoring-approach).
|
|
"""LingBot-World DiT facade.
|
|
|
|
The transformer class is constructed by the loader from the card's ``load_id``, so it is not imported
|
|
here. This stub only re-exports the camera/Plucker embedding builder ``prepare_camera_embedding``
|
|
(poses.npy + intrinsics.npy -> ``c2ws_plucker_emb [B, 6*s^2, F, H, W]``) so the program's camera node
|
|
can build the tensor without reaching into the model package.
|
|
"""
|
|
from fastvideo.models.dits.lingbotworld.cam_utils import ( # noqa: F401
|
|
prepare_camera_embedding, )
|