Files
hao-ai-lab-FastVideo/v2/models/wan21/__init__.py
T
SolitaryThinker 4e331eb7ff [refactor] v2: use absolute imports (v2.*) everywhere instead of relative
Mechanical conversion of every relative import under v2/ to an absolute v2.* path
(from .x / ..x / ...x -> from v2.<pkg>.x) so imports are unambiguous, grep-able, and
stable when code is copied/moved between entrypoints (VideoGenerator, CLI, server).

Surgical prefix-only rewrite: only the 'from <dots><module>' prefix changed — import
names, parentheses, multi-line formatting, comments, and ordering are byte-for-byte
preserved (no collapsing, no reorder, no unrelated reformatting).

- 471 imports across 125 files; v2/tests/ was already absolute (untouched).
- Validated: all 125 files compile, every 'from v2.* import' target resolves to a real
  module/package, zero relative imports remain (full sweep), CPU mini suite green
  (202 passed, 2 skipped).
2026-07-04 17:15:34 +00:00

15 lines
536 B
Python

"""Wan2.1-1.3B — bidirectional video diffusion (T2V)."""
from __future__ import annotations
from v2.models.wan21.card import (
build_wan21_card,
build_wan22_a14b_card,
build_wan22_ti2v_card,
stamp_wan21_checkpoints,
)
from v2.models.wan21.loop import WanDenoiseLoop, latent_shape
from v2.models.wan21.program import build_wan_t2v_program
__all__ = ["build_wan21_card", "build_wan22_ti2v_card", "build_wan22_a14b_card",
"stamp_wan21_checkpoints", "build_wan_t2v_program", "WanDenoiseLoop", "latent_shape"]