Spaces:
Running on Zero
Running on Zero
Download wanstreamer/__init__.py from JonathanColetti/LiveWan: direct link, hf CLI and curl.
- Browser
- Download file 649 Bytes
-
https://huggingface.co/spaces/JonathanColetti/LiveWan/resolve/main/wanstreamer/__init__.py
- Command line
-
hf download hf://spaces/JonathanColetti/LiveWan/wanstreamer/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/JonathanColetti/LiveWan/resolve/main/wanstreamer/__init__.py
649 Bytes
| """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'] | |