mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-07 04:30:51 +08:00
Fix VAEEncodeForInpaint to support WAN VAE tuple downscale_ratio
Use vae.spacial_compression_encode() instead of directly accessing downscale_ratio to handle both standard VAEs (int) and WAN VAEs (tuple). Addresses reviewer feedback on PR #11259.
This commit is contained in:
parent
894802b0f9
commit
01b86f143e