Spaces:
Runtime error
Runtime error
Download diffusers_repo/src/diffusers/hooks/__init__.py from multimodalart/Cosmos-Predict2-2B: direct link, hf CLI and curl.
- Browser
- Download file 439 Bytes
-
https://huggingface.co/spaces/multimodalart/Cosmos-Predict2-2B/resolve/main/diffusers_repo/src/diffusers/hooks/__init__.py
- Command line
-
hf download hf://spaces/multimodalart/Cosmos-Predict2-2B/diffusers_repo/src/diffusers/hooks/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/multimodalart/Cosmos-Predict2-2B/resolve/main/diffusers_repo/src/diffusers/hooks/__init__.py
439 Bytes
| from ..utils import is_torch_available | |
| if is_torch_available(): | |
| from .faster_cache import FasterCacheConfig, apply_faster_cache | |
| from .group_offloading import apply_group_offloading | |
| from .hooks import HookRegistry, ModelHook | |
| from .layerwise_casting import apply_layerwise_casting, apply_layerwise_casting_hook | |
| from .pyramid_attention_broadcast import PyramidAttentionBroadcastConfig, apply_pyramid_attention_broadcast | |