Optimize nvfp4 lora applying. (#11866)

This changes results a bit but it also speeds up things a lot.
This commit is contained in:
comfyanonymous
2026-01-13 21:49:38 -08:00
committed by GitHub
parent 712cca36a1
commit 6165c38cb5
3 changed files with 49 additions and 11 deletions

View File

@@ -1042,7 +1042,7 @@ class ZImage(Lumina2):
"shift": 3.0,
}
memory_usage_factor = 2.0
memory_usage_factor = 2.8
supported_inference_dtypes = [torch.bfloat16, torch.float32]