mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-13 21:27:41 +08:00
Fix Chroma Radiance memory estimation.
This commit is contained in:
parent
1b0b2b728f
commit
913fe088b9
@ -1212,6 +1212,9 @@ class ChromaRadiance(Chroma):
|
|||||||
|
|
||||||
latent_format = comfy.latent_formats.ChromaRadiance
|
latent_format = comfy.latent_formats.ChromaRadiance
|
||||||
|
|
||||||
|
# Pixel-space model, no spatial compression for model input.
|
||||||
|
memory_usage_factor = 0.45
|
||||||
|
|
||||||
def get_model(self, state_dict, prefix="", device=None):
|
def get_model(self, state_dict, prefix="", device=None):
|
||||||
return model_base.ChromaRadiance(self, device=device)
|
return model_base.ChromaRadiance(self, device=device)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user