vllm_omni.diffusion.diffusion_kv.config ¶
DiffusionKVCacheMode ¶
Migration mode for diffusion KV ownership.
is_scheduler_paged_kv_mode ¶
is_scheduler_paged_kv_mode(
mode: DiffusionKVCacheMode,
) -> bool
Return whether a parsed cache mode uses Scheduler-owned paging.
parse_diffusion_kv_cache_mode ¶
parse_diffusion_kv_cache_mode(
value: object,
) -> DiffusionKVCacheMode
Parse a selectable Diffusion KV ownership mode.
PAGED_WORKER_LOCAL remains in the enum to document the migration topology, but it is not a valid production selection until that runtime is wired. Keep this validation shared by structured and runtime configs so an unsupported mode fails before managed-process startup.