This commit is contained in:
Reiner "Tiles" Prokein 2026-04-30 14:50:09 -03:00 committed by GitHub
commit 2392c118e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -443,7 +443,7 @@ class VAE:
sd = diffusers_convert.convert_vae_state_dict(sd)
if model_management.is_amd():
VAE_KL_MEM_RATIO = 2.73
VAE_KL_MEM_RATIO = 1.3 # Conservative margin for modern ROCm 7.x, reduced from 2.73 (see PR #12685)
else:
VAE_KL_MEM_RATIO = 1.0