vllm_omni.diffusion.cache.cachedit.config ¶
Configuration types and conversion helpers for Cache-DiT.
CacheDiTAdapterConfig dataclass ¶
CacheDiTConfig dataclass ¶
Cache-DiT-specific projection of the shared diffusion cache config.
force_refresh_step_hint class-attribute instance-attribute ¶
force_refresh_step_hint: int | None = None
force_refresh_step_policy class-attribute instance-attribute ¶
force_refresh_step_policy: str = 'once'
max_continuous_cached_steps class-attribute instance-attribute ¶
max_continuous_cached_steps: int = 3
from_diffusion_config classmethod ¶
from_diffusion_config(
config: DiffusionCacheConfig,
) -> CacheDiTConfig
Project the shared config onto fields consumed by Cache-DiT.
to_calibrator_config ¶
Build the optional TaylorSeer calibrator configuration.
to_db_cache_config ¶
Build the third-party cache configuration used during installation.