1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-03 07:26:31 +08:00

Add Flux fp16 support hack.

This commit is contained in:
comfyanonymous
2024-08-07 15:08:39 -04:00
parent 6969fc9ba4
commit 8115d8cce9
2 changed files with 9 additions and 2 deletions

View File

@@ -642,7 +642,7 @@ class Flux(supported_models_base.BASE):
memory_usage_factor = 2.8
supported_inference_dtypes = [torch.bfloat16, torch.float32]
supported_inference_dtypes = [torch.bfloat16, torch.float16, torch.float32]
vae_key_prefix = ["vae."]
text_encoder_key_prefix = ["text_encoders."]