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

This commit is contained in:
Jaret Burkett
2025-01-18 18:02:31 -07:00
parent 4723f23c0d
commit fadb2f3a76
3 changed files with 9 additions and 5 deletions

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)