vllm_omni.diffusion.cache.seacache ¶
Modules:
| Name | Description |
|---|---|
backend | |
config | |
hook | |
sea_filter | |
state | |
SeaCacheBackend ¶
SeaCacheConfig dataclass ¶
Configuration for SeaCache.
Defaults are tuned for Cosmos3 and may require adjustment for other models.
SeaCacheRootHook ¶
SeaCacheState dataclass ¶
apply_sea_cache_hook ¶
apply_sea_cache_hook(
module: Module,
config: SeaCacheConfig,
*,
current_step_callback: Callable[[], int | Tensor | None]
| None = None,
current_sigma_callback: Callable[
[], float | Tensor | None
]
| None = None,
num_inference_steps_callback: Callable[
[], int | Tensor | None
]
| None = None,
extractor_fn: Callable[..., CacheContext] | None = None,
) -> SeaCacheRootHook