adjust pony config for run 6
Browse files- configs/PONY.knf.yaml +6 -6
configs/PONY.knf.yaml
CHANGED
|
@@ -241,8 +241,8 @@ training:
|
|
| 241 |
# == Curricular warmup
|
| 242 |
subset_warmup:
|
| 243 |
enabled: false
|
| 244 |
-
subsets: [
|
| 245 |
-
steps:
|
| 246 |
|
| 247 |
# Full-run trainer config. trainer_testrun below overrides selected keys
|
| 248 |
# only when knf train prepare/start is called with --testrun.
|
|
@@ -252,7 +252,7 @@ training:
|
|
| 252 |
# hub_model_id: ladybird-pony-lora # Optional Hub model id if push_to_hub is enabled.
|
| 253 |
|
| 254 |
optimizer: adamw_bf16 # BF16 AdamW optimizer.
|
| 255 |
-
learning_rate: 0.
|
| 256 |
lr_scheduler: constant_with_warmup # Ramp up LR to avoid weird color biases.
|
| 257 |
lr_warmup_steps: 100
|
| 258 |
seed: 42 # Training seed.
|
|
@@ -260,12 +260,12 @@ training:
|
|
| 260 |
# max_grad_norm: 1.0 # Optional gradient clipping.
|
| 261 |
# grad_clip_method: norm # Optional gradient clipping method.
|
| 262 |
|
| 263 |
-
train_batch_size:
|
| 264 |
gradient_accumulation_steps: 1 # Effective batch multiplier.
|
| 265 |
num_train_epochs: 0 # Step-based training; max_train_steps controls run length.
|
| 266 |
-
max_train_steps:
|
| 267 |
|
| 268 |
-
caption_dropout_probability: 0.
|
| 269 |
data_backend_sampling: uniform # Uniform dataloader sampling.
|
| 270 |
allow_dataset_oversubscription: true
|
| 271 |
|
|
|
|
| 241 |
# == Curricular warmup
|
| 242 |
subset_warmup:
|
| 243 |
enabled: false
|
| 244 |
+
subsets: [fullbody]
|
| 245 |
+
steps: 600 # !! First steps of the total run are ONLY listed subsets when enabled!
|
| 246 |
|
| 247 |
# Full-run trainer config. trainer_testrun below overrides selected keys
|
| 248 |
# only when knf train prepare/start is called with --testrun.
|
|
|
|
| 252 |
# hub_model_id: ladybird-pony-lora # Optional Hub model id if push_to_hub is enabled.
|
| 253 |
|
| 254 |
optimizer: adamw_bf16 # BF16 AdamW optimizer.
|
| 255 |
+
learning_rate: 0.0002 # SDXL LoRA learning rates fall between 1e-4 and 5e-4
|
| 256 |
lr_scheduler: constant_with_warmup # Ramp up LR to avoid weird color biases.
|
| 257 |
lr_warmup_steps: 100
|
| 258 |
seed: 42 # Training seed.
|
|
|
|
| 260 |
# max_grad_norm: 1.0 # Optional gradient clipping.
|
| 261 |
# grad_clip_method: norm # Optional gradient clipping method.
|
| 262 |
|
| 263 |
+
train_batch_size: 4 # Per-device batch size.
|
| 264 |
gradient_accumulation_steps: 1 # Effective batch multiplier.
|
| 265 |
num_train_epochs: 0 # Step-based training; max_train_steps controls run length.
|
| 266 |
+
max_train_steps: 2000 # Current short Pony run length.
|
| 267 |
|
| 268 |
+
caption_dropout_probability: 0.0 # Caption dropout for regularization.
|
| 269 |
data_backend_sampling: uniform # Uniform dataloader sampling.
|
| 270 |
allow_dataset_oversubscription: true
|
| 271 |
|