mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-01-26 16:39:47 +00:00
Fixed a bug that prevented training just one stage of Wan 2.2 14b
This commit is contained in:
@@ -204,6 +204,10 @@ class Wan2214bModel(Wan225bModel):
|
||||
raise ValueError(
|
||||
"At least one of train_high_noise or train_low_noise must be True in model.model_kwargs"
|
||||
)
|
||||
|
||||
# if we are only training one or the other, the target LoRA modules will be the wan transformer class
|
||||
if not self.train_high_noise or not self.train_low_noise:
|
||||
self.target_lora_modules = ["WanTransformer3DModel"]
|
||||
|
||||
@property
|
||||
def max_step_saves_to_keep_multiplier(self):
|
||||
|
||||
Reference in New Issue
Block a user