Upload config.yaml
Browse files- config.yaml +48 -0
config.yaml
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
job: extension
|
| 2 |
+
config:
|
| 3 |
+
name: replace
|
| 4 |
+
process:
|
| 5 |
+
- type: sd_trainer
|
| 6 |
+
training_folder: output
|
| 7 |
+
device: cuda:0
|
| 8 |
+
network:
|
| 9 |
+
type: lora
|
| 10 |
+
linear: 16
|
| 11 |
+
linear_alpha: 16
|
| 12 |
+
save:
|
| 13 |
+
dtype: float16
|
| 14 |
+
max_step_saves_to_keep: 4
|
| 15 |
+
push_to_hub: false
|
| 16 |
+
datasets:
|
| 17 |
+
- folder_path: /content/ai-toolkit/temp/replace
|
| 18 |
+
caption_ext: txt
|
| 19 |
+
caption_dropout_rate: 0.05
|
| 20 |
+
shuffle_tokens: false
|
| 21 |
+
cache_latents_to_disk: false
|
| 22 |
+
resolution:
|
| 23 |
+
- 512
|
| 24 |
+
- 768
|
| 25 |
+
- 1024
|
| 26 |
+
train:
|
| 27 |
+
batch_size: 1
|
| 28 |
+
steps: 2000
|
| 29 |
+
gradient_accumulation_steps: 1
|
| 30 |
+
train_unet: true
|
| 31 |
+
train_text_encoder: false
|
| 32 |
+
gradient_checkpointing: true
|
| 33 |
+
noise_scheduler: flowmatch
|
| 34 |
+
optimizer: adamw8bit
|
| 35 |
+
lr: 0.0004
|
| 36 |
+
ema_config:
|
| 37 |
+
use_ema: true
|
| 38 |
+
ema_decay: 0.99
|
| 39 |
+
dtype: bf16
|
| 40 |
+
skip_first_sample: true
|
| 41 |
+
disable_sampling: true
|
| 42 |
+
model:
|
| 43 |
+
name_or_path: /content/model
|
| 44 |
+
is_flux: true
|
| 45 |
+
trigger_word: replace
|
| 46 |
+
meta:
|
| 47 |
+
name: '[name]'
|
| 48 |
+
version: '1.0'
|