[Bugfix][Diffusion] Canonicalize cache_backend=None to "none" (#7041)

Signed-off-by: summer <128961079+zhang-keliang@users.noreply.github.com>
Co-authored-by: Alicia <115451386+congw729@users.noreply.github.com>
This commit is contained in:
summerandAlicia authored and GitHub committed 2026-09-07 15:56:51 +08:00
1 parent b78c31eda6
commit 4b81f692d1
4 files changed
+23 -3

No files matched your search

@@ -273,7 +273,8 @@ def retrieve_timesteps(
def _validate_cache_offload_parallelism(od_config: OmniDiffusionConfig) -> None:
cache_backend = od_config.cache_backend
# Treat None like "none", matching the other pipelines' cache checks.
cache_backend = od_config.cache_backend or "none"
if cache_backend not in ("none", "cache_dit"):
raise NotImplementedError(
f"Cache backend {cache_backend!r} is not supported by the native SANA-Video pipeline; "