Spaces:
Running on Zero
Running on Zero
Download models/__init__.py from hugging-apps/flashvsr-plus: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/spaces/hugging-apps/flashvsr-plus/resolve/main/models/__init__.py
- Command line
-
hf download hf://spaces/hugging-apps/flashvsr-plus/models/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/hugging-apps/flashvsr-plus/resolve/main/models/__init__.py
1.21 kB
| from .attention import AttentionRuntime, build_block_causal_mask | |
| from .attention_backends import attention_kernel_status | |
| from .config import ( | |
| AttentionConfig, | |
| BlockReplacementConfig, | |
| CausalAttentionConfig, | |
| DiTConfig, | |
| FlashVSRModelConfig, | |
| SlidingAttentionConfig, | |
| LQProjectionConfig, | |
| SparseAttentionConfig, | |
| ) | |
| from .conditioning import LQProjection | |
| from .dit import FlashVSRDiT | |
| from .factory import build_model | |
| from .vae import ( | |
| WanVAE, | |
| WanVAEEncoder, | |
| build_vae, | |
| build_vae_encoder, | |
| build_wan_vae, | |
| build_wan_vae_encoder, | |
| load_wan_vae_checkpoint, | |
| load_wan_vae_encoder_checkpoint, | |
| ) | |
| __all__ = [ | |
| "AttentionConfig", | |
| "AttentionRuntime", | |
| "BlockReplacementConfig", | |
| "CausalAttentionConfig", | |
| "DiTConfig", | |
| "FlashVSRDiT", | |
| "FlashVSRModelConfig", | |
| "LQProjection", | |
| "LQProjectionConfig", | |
| "SlidingAttentionConfig", | |
| "SparseAttentionConfig", | |
| "build_block_causal_mask", | |
| "build_model", | |
| "build_vae", | |
| "build_vae_encoder", | |
| "build_wan_vae", | |
| "build_wan_vae_encoder", | |
| "load_wan_vae_checkpoint", | |
| "load_wan_vae_encoder_checkpoint", | |
| "attention_kernel_status", | |
| "WanVAE", | |
| "WanVAEEncoder", | |
| ] | |