WIP add PONY config
Browse files- configs/PONY.knf.yaml +71 -27
configs/PONY.knf.yaml
CHANGED
|
@@ -1,35 +1,52 @@
|
|
| 1 |
# Pony Diffusion V6 XL config for the standard Rook LoRA subset layout.
|
| 2 |
-
|
| 3 |
|
|
|
|
| 4 |
mappings:
|
|
|
|
| 5 |
felkin_anchor:
|
| 6 |
-
- 0-
|
| 7 |
-
|
| 8 |
genitals:
|
| 9 |
-
- 6-DICK
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
-
|
| 14 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
caption_outputs:
|
| 17 |
-
mode:
|
| 18 |
-
formats: [tag
|
| 19 |
-
tag_scope:
|
| 20 |
|
| 21 |
caption:
|
| 22 |
subject_sex: male
|
| 23 |
add_domains_to_tags: false
|
| 24 |
|
| 25 |
augmentations:
|
| 26 |
-
mirrored_extra:
|
| 27 |
-
mirrored_transform:
|
| 28 |
seed: 12345
|
| 29 |
|
| 30 |
image_resize:
|
| 31 |
-
min_pixel_area:
|
| 32 |
-
max_pixel_area:
|
| 33 |
|
| 34 |
publishing:
|
| 35 |
huggingface:
|
|
@@ -54,9 +71,41 @@ training:
|
|
| 54 |
cache_root: .simpletuner-cache
|
| 55 |
output_dir: _simpletuner-output
|
| 56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
subset_warmup:
|
| 58 |
enabled: false
|
| 59 |
-
subsets: [genitals]
|
| 60 |
steps: 200
|
| 61 |
|
| 62 |
model:
|
|
@@ -65,8 +114,8 @@ training:
|
|
| 65 |
model_flavour: null
|
| 66 |
lora_type: standard
|
| 67 |
lora_format: diffusers
|
| 68 |
-
lora_rank:
|
| 69 |
-
lora_alpha:
|
| 70 |
flux_lora_target: null
|
| 71 |
pretrained_model_name_or_path: /mnt/wsl/comfyui-models/models/checkpoints/_base_finetunes/ponyDiffusionV6XL_v6StartWithThisOne.safetensors
|
| 72 |
pretrained_unet_model_name_or_path: null
|
|
@@ -81,7 +130,8 @@ training:
|
|
| 81 |
base_model_default_dtype: bf16
|
| 82 |
optimizer: adamw_bf16
|
| 83 |
learning_rate: 0.0001
|
| 84 |
-
lr_scheduler:
|
|
|
|
| 85 |
gradient_checkpointing: true
|
| 86 |
train_batch_size: 1
|
| 87 |
gradient_accumulation_steps: 1
|
|
@@ -135,13 +185,7 @@ training:
|
|
| 135 |
repeats: 0
|
| 136 |
disabled: false
|
| 137 |
|
| 138 |
-
|
| 139 |
-
felkin_anchor:
|
| 140 |
-
probability: 1.0
|
| 141 |
-
genitals:
|
| 142 |
-
probability: 1.0
|
| 143 |
-
rest:
|
| 144 |
-
probability: 1.0
|
| 145 |
|
| 146 |
text_embeds:
|
| 147 |
id: text-embeds
|
|
|
|
| 1 |
# Pony Diffusion V6 XL config for the standard Rook LoRA subset layout.
|
| 2 |
+
# > Dataset sync derives SOURCE/, MANIFEST.knf.xlsx, and HF/<config-id>/ from this filename.
|
| 3 |
|
| 4 |
+
# -- Map exported subset names to source subfolders in MANIFEST.knf.xlsx.
|
| 5 |
mappings:
|
| 6 |
+
# > Anchor identity examples get sampled at a lower probability below.
|
| 7 |
felkin_anchor:
|
| 8 |
+
- "0-ANCHOR" # Source folder for anchor identity images.
|
| 9 |
+
# > Explicit anatomy close-up subsets are kept separate for sampling control.
|
| 10 |
genitals:
|
| 11 |
+
- "6-DICK" # Source folder for exposed anatomy close-ups.
|
| 12 |
+
- "6-SHEATH" # Source folder for sheathed anatomy close-ups.
|
| 13 |
+
# > Complete body.
|
| 14 |
+
fullbody:
|
| 15 |
+
- "0-FULLBODY" # Full-body identity examples; also included in rest subset.
|
| 16 |
+
- "99-VERSION-LEANER" # Alternate leaner full-body examples.
|
| 17 |
+
# > General body, hand, leg, tail, and leaner variant images.
|
| 18 |
+
body_details:
|
| 19 |
+
- "1-TORSO" # Torso detail examples.
|
| 20 |
+
- "3-HANDS" # Hand detail examples.
|
| 21 |
+
- "4-LEGS" # Leg/foot detail examples.
|
| 22 |
+
- "5-TAIL" # Tail detail examples.
|
| 23 |
+
# > Focused fur-texture crops derived from high-resolution Rook sources.
|
| 24 |
+
fur:
|
| 25 |
+
- "7-FUR" # Fur crops for coat, mane, spots, paws, tail, and anatomy-adjacent texture.
|
| 26 |
+
head:
|
| 27 |
+
- "2-HEAD" # Face/head detail examples.
|
| 28 |
+
|
| 29 |
+
# > Also export manifest rows marked sfw into an additional generated sfw subset.
|
| 30 |
+
export_sfw_subset: false # < Add generated sfw subset from rows marked sfw.
|
| 31 |
+
|
| 32 |
|
| 33 |
caption_outputs:
|
| 34 |
+
mode: hybrid_txt
|
| 35 |
+
formats: [tag]
|
| 36 |
+
tag_scope: all
|
| 37 |
|
| 38 |
caption:
|
| 39 |
subject_sex: male
|
| 40 |
add_domains_to_tags: false
|
| 41 |
|
| 42 |
augmentations:
|
| 43 |
+
mirrored_extra: true
|
| 44 |
+
mirrored_transform: flip_only
|
| 45 |
seed: 12345
|
| 46 |
|
| 47 |
image_resize:
|
| 48 |
+
min_pixel_area: 512
|
| 49 |
+
max_pixel_area: 1088
|
| 50 |
|
| 51 |
publishing:
|
| 52 |
huggingface:
|
|
|
|
| 71 |
cache_root: .simpletuner-cache
|
| 72 |
output_dir: _simpletuner-output
|
| 73 |
|
| 74 |
+
# Subset-specific SimpleTuner dataloader overrides. Any key here is merged
|
| 75 |
+
# into the subset backend entry after the dataset defaults below.
|
| 76 |
+
subsets:
|
| 77 |
+
felkin_anchor:
|
| 78 |
+
probability: 1 # Sample anchor identity images at steady exposure.
|
| 79 |
+
crop: false # Preserve full source composition.
|
| 80 |
+
# repeats: 0 # Optional per-subset repeat count.
|
| 81 |
+
# disabled: false # Optional per-subset on/off switch.
|
| 82 |
+
fullbody:
|
| 83 |
+
probability: 8 # Sample full-body subset at high probability.
|
| 84 |
+
crop: false # Preserve full-body composition.
|
| 85 |
+
# repeats: 0
|
| 86 |
+
# disabled: false
|
| 87 |
+
body_details:
|
| 88 |
+
probability: 4 # Sample body detail subset at normal probability.
|
| 89 |
+
crop: false # Preserve detail framing; many samples are already close crops.
|
| 90 |
+
# repeats: 0
|
| 91 |
+
# disabled: false
|
| 92 |
+
fur:
|
| 93 |
+
probability: 1 # Give focused fur crops extra exposure.
|
| 94 |
+
crop: false # Preserve texture crop intent; do not random-crop fur samples.
|
| 95 |
+
# repeats: 0
|
| 96 |
+
# disabled: false
|
| 97 |
+
head:
|
| 98 |
+
probability: 2 # Sample head/face details at extra exposure.
|
| 99 |
+
crop: false # Preserve detail framing; many samples are close crops.
|
| 100 |
+
genitals:
|
| 101 |
+
probability: 3 # Sample anatomy subset at normal probability.
|
| 102 |
+
crop: false # Preserve anatomy crop framing.
|
| 103 |
+
# repeats: 0
|
| 104 |
+
# disabled: false
|
| 105 |
+
|
| 106 |
subset_warmup:
|
| 107 |
enabled: false
|
| 108 |
+
subsets: [genitals, fullbody]
|
| 109 |
steps: 200
|
| 110 |
|
| 111 |
model:
|
|
|
|
| 114 |
model_flavour: null
|
| 115 |
lora_type: standard
|
| 116 |
lora_format: diffusers
|
| 117 |
+
lora_rank: 64
|
| 118 |
+
lora_alpha: 64
|
| 119 |
flux_lora_target: null
|
| 120 |
pretrained_model_name_or_path: /mnt/wsl/comfyui-models/models/checkpoints/_base_finetunes/ponyDiffusionV6XL_v6StartWithThisOne.safetensors
|
| 121 |
pretrained_unet_model_name_or_path: null
|
|
|
|
| 130 |
base_model_default_dtype: bf16
|
| 131 |
optimizer: adamw_bf16
|
| 132 |
learning_rate: 0.0001
|
| 133 |
+
lr_scheduler: constant_with_warmup # ramp up LR to avoid weird color biases.
|
| 134 |
+
lr_warmup_steps: 100
|
| 135 |
gradient_checkpointing: true
|
| 136 |
train_batch_size: 1
|
| 137 |
gradient_accumulation_steps: 1
|
|
|
|
| 185 |
repeats: 0
|
| 186 |
disabled: false
|
| 187 |
|
| 188 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 189 |
|
| 190 |
text_embeds:
|
| 191 |
id: text-embeds
|