diff --git a/src/maxdiffusion/configs/base_wan_1_3b.yml b/src/maxdiffusion/configs/base_wan_1_3b.yml index 97c1317c7..70ae18db6 100644 --- a/src/maxdiffusion/configs/base_wan_1_3b.yml +++ b/src/maxdiffusion/configs/base_wan_1_3b.yml @@ -420,6 +420,11 @@ flow_shift: 3.0 # Diffusion CFG cache (FasterCache-style, WAN 2.1 T2V only) use_cfg_cache: False use_kv_cache: False +# MagCache (WAN 2.1 T2V); generate_wan.py reads these keys on every T2V run. +use_magcache: False +magcache_thresh: 0.12 +magcache_K: 2 +retention_ratio: 0.2 # WAN-VACE training: compute the VACE hints from zero latents at timestep 999, the first inference timestep, # instead of from the noisy latents. This fine-tunes the model for use_vace_cache=True in the VACE pipeline, which # computes the hints once and reuses them at every denoising step.