Allow quantizing the te independently on flux. added lognorm_blend timestep schedule
This commit is contained in:
1 parent
4723f23c0d
commit
fadb2f3a76
3 files changed
+9
-5
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user