Files
hao-ai-lab-FastVideo/v2/training/methods/__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

23 lines
1.1 KiB
Python

"""Training methods — all on Wan2.1-1.3B, all over the SHARED loops (design_v3 §10)."""
from __future__ import annotations
from v2.training.methods.base import TrainingMethod, new_instance, predict_x0
from v2.training.methods.diffusion_nft import DiffusionNFTMethod, build_diffusion_nft
from v2.training.methods.dmd2 import DMD2Method, build_dmd2
from v2.training.methods.finetune import FineTuneMethod, build_finetune
from v2.training.methods.joint_multi_rl import JointMultiExpertRL, build_joint_multi_rl
from v2.training.methods.self_forcing import SelfForcingMethod, build_self_forcing
from v2.training.methods.unified_rl import UnifiedRLMethod, build_unified_rl
from v2.training.methods.workflow_rl import WorkflowRLMethod, build_workflow_rl
__all__ = [
"TrainingMethod", "new_instance", "predict_x0",
"FineTuneMethod", "build_finetune",
"DMD2Method", "build_dmd2",
"DiffusionNFTMethod", "build_diffusion_nft",
"SelfForcingMethod", "build_self_forcing",
"UnifiedRLMethod", "build_unified_rl",
"JointMultiExpertRL", "build_joint_multi_rl",
"WorkflowRLMethod", "build_workflow_rl",
]