Spaces:
Running on Zero
Running on Zero
File size: 649 Bytes
36cdb93 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | """Corrected block-causal streaming implementation for Wan2.1.
See PROGRESS.md for the measurements behind each design decision.
"""
from .rope import RopeTable, apply_rope
from .kvcache import StreamingKVCache
from .core import (timestep_to_train_scale, ModulationCache, block_forward,
frame_forward, sequence_forward, make_rope_table, make_cache,
latent_geometry)
__all__ = ['RopeTable', 'apply_rope', 'StreamingKVCache',
'timestep_to_train_scale', 'ModulationCache', 'block_forward',
'frame_forward', 'sequence_forward', 'make_rope_table', 'make_cache',
'latent_geometry']
|