Added early DoRA support, but will change shortly. Dont use right now.

This commit is contained in:
Jaret Burkett committed 2024-02-23 05:55:41 -07:00
1 parent 9ffa8c3711
commit 1bd94f0f01
5 files changed
+140 -5

No files matched your search

+2 -2
View File
@@ -1206,8 +1206,8 @@ class SDTrainer(BaseSDTrainProcess):
has_been_preprocessed=True,
quad_count=quad_count
)
else:
raise ValueError("Adapter images now must be loaded with dataloader or be a reg image")
# else:
# raise ValueError("Adapter images now must be loaded with dataloader or be a reg image")
if not self.adapter_config.train_image_encoder:
# we are not training the image encoder, so we need to detach the embeds