Allow quantizing the te independently on flux. added lognorm_blend timestep schedule

This commit is contained in:
Jaret Burkett committed 2025-01-18 18:02:31 -07:00
1 parent 4723f23c0d
commit fadb2f3a76
3 files changed
+9 -5

No files matched your search

+1 -1
View File
@@ -696,7 +696,7 @@ class StableDiffusion:
text_encoder_2.to(self.device_torch, dtype=dtype)
flush()
if self.model_config.quantize:
if self.model_config.quantize_te:
print("Quantizing T5")
quantize(text_encoder_2, weights=qfloat8)
freeze(text_encoder_2)