Files
hao-ai-lab-FastVideo/v2/loop/__init__.py
T
SolitaryThinker a9e5f6ee7a [refactor] rename package mini_fastvideo → v2
Directory rename (git mv, history preserved) plus rewrite of all references: absolute imports in
tests, the zero-dep runner, docstrings, comments, and the README. No behavior change.

Run: python3 -m pytest v2/tests/ -q ; python3 v2/run_tests.py ; python3 -m v2.examples
2026-07-04 17:15:34 +00:00

29 lines
823 B
Python

"""Loop plane — driven loops + policies (design_v3 §5)."""
from __future__ import annotations
from .._enums import LoopKind, WorkUnitKind
from .contracts import (
CacheOp,
CachePlan,
Done,
Loop,
LoopContext,
LoopResult,
LoopState,
PlacementHint,
ResourceRequest,
ShapeSignature,
StepContext,
StepResult,
WorkPlan,
)
from .driver import LoopRunner
from .sampler import add_noise, build_flow_sigmas, flow_match_euler_step, x0_from_velocity
__all__ = [
"Loop", "LoopContext", "LoopState", "LoopResult", "WorkPlan", "Done", "StepResult",
"StepContext", "ShapeSignature", "ResourceRequest", "CachePlan", "CacheOp", "PlacementHint",
"LoopRunner", "LoopKind", "WorkUnitKind",
"build_flow_sigmas", "flow_match_euler_step", "x0_from_velocity", "add_noise",
]