mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-23 10:03:36 +08:00
Merge 9aec99ed8a into 0904cc3fe5
This commit is contained in:
commit
5ce5f38f08
@ -442,7 +442,7 @@ class VAE:
|
|||||||
sd = diffusers_convert.convert_vae_state_dict(sd)
|
sd = diffusers_convert.convert_vae_state_dict(sd)
|
||||||
|
|
||||||
if model_management.is_amd():
|
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:
|
else:
|
||||||
VAE_KL_MEM_RATIO = 1.0
|
VAE_KL_MEM_RATIO = 1.0
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user