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
27 lines
698 B
Python
27 lines
698 B
Python
"""Policies — the default step decomposition (design_v3 §5.1, §6.2.3)."""
|
|
from __future__ import annotations
|
|
|
|
from .base import (
|
|
BoundaryTimestepRouting,
|
|
ConditioningInjector,
|
|
ExpertRouting,
|
|
FlowShiftPolicy,
|
|
NoRouting,
|
|
PassthroughConditioning,
|
|
PrecisionPolicy,
|
|
)
|
|
from .cfg import (
|
|
AdaptiveGateCFG,
|
|
BatchedCFG,
|
|
CFGPolicy,
|
|
ClassicCFG,
|
|
EmbeddedGuidance,
|
|
PerModalityCFG,
|
|
)
|
|
|
|
__all__ = [
|
|
"CFGPolicy", "ClassicCFG", "BatchedCFG", "EmbeddedGuidance", "AdaptiveGateCFG", "PerModalityCFG",
|
|
"FlowShiftPolicy", "PrecisionPolicy", "ExpertRouting", "NoRouting", "BoundaryTimestepRouting",
|
|
"ConditioningInjector", "PassthroughConditioning",
|
|
]
|