fix base model

This commit is contained in:
Artiprocher
2025-04-14 13:18:31 +08:00
parent 2a5355b7cb
commit 9ea29a769d

View File

@@ -32,6 +32,7 @@ class LightningModel(LightningModelForT2ILoRA):
self.pipe = FluxImagePipeline.from_model_manager(model_manager)
self.pipe.reference_embedder = FluxReferenceEmbedder()
self.pipe.reference_embedder.init()
if quantize is not None:
self.pipe.dit.quantize()