chroma: further decreased learnign rate
Browse files- configs/CHROMA.knf.yaml +6 -6
configs/CHROMA.knf.yaml
CHANGED
|
@@ -229,7 +229,7 @@ training:
|
|
| 229 |
subset_warmup:
|
| 230 |
enabled: true
|
| 231 |
subsets: [genitals, fullbody, head]
|
| 232 |
-
steps:
|
| 233 |
|
| 234 |
# Full-run trainer config. trainer_testrun below overrides selected keys
|
| 235 |
# only when knf lora sync/train is called with --testrun.
|
|
@@ -239,9 +239,9 @@ training:
|
|
| 239 |
hub_model_id: ladybird-chroma-lora # Optional Hub model id if push_to_hub is enabled.
|
| 240 |
|
| 241 |
optimizer: adamw_bf16 # BF16 AdamW optimizer.
|
| 242 |
-
learning_rate: 0.
|
| 243 |
lr_scheduler: constant_with_warmup # ramp up LR to avoid weird color biases.
|
| 244 |
-
lr_warmup_steps:
|
| 245 |
seed: 42 # Training seed.
|
| 246 |
gradient_checkpointing: true # Reduce VRAM by recomputing activations.
|
| 247 |
max_grad_norm: 1.0 # Clip gradients for stability.
|
|
@@ -250,7 +250,7 @@ training:
|
|
| 250 |
train_batch_size: 4 # Per-device batch size.
|
| 251 |
gradient_accumulation_steps: 1 # Effective batch multiplier.
|
| 252 |
num_train_epochs: 0 # Step-based training; max_train_steps controls run length.
|
| 253 |
-
max_train_steps:
|
| 254 |
ignore_final_epochs: true # This fixes early stop due to weird epoch calculation by simpletuner
|
| 255 |
|
| 256 |
caption_dropout_probability: 0.0 # Disable caption dropout; keep trigger behavior stable.
|
|
@@ -259,8 +259,8 @@ training:
|
|
| 259 |
# push_to_hub: false # Upload final artifacts to Hugging Face Hub.
|
| 260 |
# push_checkpoints_to_hub: false # Upload intermediate checkpoints.
|
| 261 |
checkpoints_total_limit: 5 # Keep latest 5 checkpoints.
|
| 262 |
-
checkpoint_step_interval:
|
| 263 |
-
validation_step_interval:
|
| 264 |
validation_on_startup: true # Render baseline validation before training.
|
| 265 |
validation_prompt_library: false # Disable SimpleTuner built-in prompt library.
|
| 266 |
validation_disable_unconditional: true # Skip unconditional validation branch.
|
|
|
|
| 229 |
subset_warmup:
|
| 230 |
enabled: true
|
| 231 |
subsets: [genitals, fullbody, head]
|
| 232 |
+
steps: 1000 # !! First steps of the total run are ONLY listed subsets!
|
| 233 |
|
| 234 |
# Full-run trainer config. trainer_testrun below overrides selected keys
|
| 235 |
# only when knf lora sync/train is called with --testrun.
|
|
|
|
| 239 |
hub_model_id: ladybird-chroma-lora # Optional Hub model id if push_to_hub is enabled.
|
| 240 |
|
| 241 |
optimizer: adamw_bf16 # BF16 AdamW optimizer.
|
| 242 |
+
learning_rate: 0.00005 # Conservative Chroma LoRA starting point.
|
| 243 |
lr_scheduler: constant_with_warmup # ramp up LR to avoid weird color biases.
|
| 244 |
+
lr_warmup_steps: 200
|
| 245 |
seed: 42 # Training seed.
|
| 246 |
gradient_checkpointing: true # Reduce VRAM by recomputing activations.
|
| 247 |
max_grad_norm: 1.0 # Clip gradients for stability.
|
|
|
|
| 250 |
train_batch_size: 4 # Per-device batch size.
|
| 251 |
gradient_accumulation_steps: 1 # Effective batch multiplier.
|
| 252 |
num_train_epochs: 0 # Step-based training; max_train_steps controls run length.
|
| 253 |
+
max_train_steps: 4000 # ANIMA-aligned Chroma character run with extended warmup.
|
| 254 |
ignore_final_epochs: true # This fixes early stop due to weird epoch calculation by simpletuner
|
| 255 |
|
| 256 |
caption_dropout_probability: 0.0 # Disable caption dropout; keep trigger behavior stable.
|
|
|
|
| 259 |
# push_to_hub: false # Upload final artifacts to Hugging Face Hub.
|
| 260 |
# push_checkpoints_to_hub: false # Upload intermediate checkpoints.
|
| 261 |
checkpoints_total_limit: 5 # Keep latest 5 checkpoints.
|
| 262 |
+
checkpoint_step_interval: 400 # Save checkpoint every 200 steps.
|
| 263 |
+
validation_step_interval: 400 # Run validation every 200 steps.
|
| 264 |
validation_on_startup: true # Render baseline validation before training.
|
| 265 |
validation_prompt_library: false # Disable SimpleTuner built-in prompt library.
|
| 266 |
validation_disable_unconditional: true # Skip unconditional validation branch.
|