Commit
·
7f8ef13
1
Parent(s):
7fb9b2d
add missing configs for AI Toolkit
Browse files
tutorials/scripts/wan2.1-training-config-man.txt
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
job: "extension"
|
| 3 |
+
config:
|
| 4 |
+
name: "wan_asmongold_v1"
|
| 5 |
+
process:
|
| 6 |
+
- type: "diffusion_trainer"
|
| 7 |
+
training_folder: "c:\\Development\\ai-toolkit\\output"
|
| 8 |
+
sqlite_db_path: "./aitk_db.db"
|
| 9 |
+
device: "cuda"
|
| 10 |
+
trigger_word: "sks man"
|
| 11 |
+
performance_log_every: 10
|
| 12 |
+
network:
|
| 13 |
+
type: "lora"
|
| 14 |
+
linear: 32
|
| 15 |
+
linear_alpha: 32
|
| 16 |
+
conv: 16
|
| 17 |
+
conv_alpha: 16
|
| 18 |
+
lokr_full_rank: true
|
| 19 |
+
lokr_factor: -1
|
| 20 |
+
network_kwargs:
|
| 21 |
+
ignore_if_contains: []
|
| 22 |
+
save:
|
| 23 |
+
dtype: "bf16"
|
| 24 |
+
save_every: 500
|
| 25 |
+
max_step_saves_to_keep: 8
|
| 26 |
+
save_format: "diffusers"
|
| 27 |
+
push_to_hub: false
|
| 28 |
+
datasets:
|
| 29 |
+
- folder_path: "c:\\Development\\ai-toolkit\\datasets/asmongold"
|
| 30 |
+
control_path: null
|
| 31 |
+
mask_path: null
|
| 32 |
+
mask_min_value: 0.1
|
| 33 |
+
default_caption: "photo of a man"
|
| 34 |
+
caption_ext: "txt"
|
| 35 |
+
caption_dropout_rate: 0.05
|
| 36 |
+
cache_latents_to_disk: false
|
| 37 |
+
is_reg: false
|
| 38 |
+
network_weight: 1
|
| 39 |
+
resolution:
|
| 40 |
+
- 512
|
| 41 |
+
controls: []
|
| 42 |
+
shrink_video_to_frames: true
|
| 43 |
+
num_frames: 1
|
| 44 |
+
do_i2v: true
|
| 45 |
+
flip_x: false
|
| 46 |
+
flip_y: false
|
| 47 |
+
train:
|
| 48 |
+
batch_size: 1
|
| 49 |
+
bypass_guidance_embedding: false
|
| 50 |
+
steps: 2500
|
| 51 |
+
gradient_accumulation: 1
|
| 52 |
+
train_unet: true
|
| 53 |
+
train_text_encoder: false
|
| 54 |
+
gradient_checkpointing: true
|
| 55 |
+
noise_scheduler: "flowmatch"
|
| 56 |
+
optimizer: "adamw8bit"
|
| 57 |
+
timestep_type: "sigmoid"
|
| 58 |
+
content_or_style: "balanced"
|
| 59 |
+
optimizer_params:
|
| 60 |
+
weight_decay: 0.0001
|
| 61 |
+
unload_text_encoder: true
|
| 62 |
+
cache_text_embeddings: false
|
| 63 |
+
lr: 0.0001
|
| 64 |
+
ema_config:
|
| 65 |
+
use_ema: false
|
| 66 |
+
ema_decay: 0.99
|
| 67 |
+
skip_first_sample: true
|
| 68 |
+
disable_sampling: true
|
| 69 |
+
dtype: "bf16"
|
| 70 |
+
diff_output_preservation: false
|
| 71 |
+
diff_output_preservation_multiplier: 1
|
| 72 |
+
diff_output_preservation_class: "person"
|
| 73 |
+
switch_boundary_every: 1
|
| 74 |
+
model:
|
| 75 |
+
name_or_path: "Wan-AI/Wan2.1-T2V-14B-Diffusers"
|
| 76 |
+
quantize: true
|
| 77 |
+
qtype: "qfloat8"
|
| 78 |
+
quantize_te: true
|
| 79 |
+
qtype_te: "qfloat8"
|
| 80 |
+
arch: "wan21:14b"
|
| 81 |
+
low_vram: true
|
| 82 |
+
model_kwargs: {}
|
| 83 |
+
sample:
|
| 84 |
+
sampler: "flowmatch"
|
| 85 |
+
sample_every: 500
|
| 86 |
+
width: 512
|
| 87 |
+
height: 512
|
| 88 |
+
samples:
|
| 89 |
+
- prompt: "man with red hair, playing chess at the park, bomb going off in the background"
|
| 90 |
+
- prompt: "a man holding a coffee cup, in a beanie, sitting at a cafe"
|
| 91 |
+
- prompt: "a man showing off his cool new t shirt at the beach, a shark is jumping out of the water in the background"
|
| 92 |
+
- prompt: "man playing the guitar, on stage, singing a song, laser lights, punk rocker"
|
| 93 |
+
- prompt: "photo of a man , white background, medium shot, modeling clothing, studio lighting, white backdrop"
|
| 94 |
+
neg: ""
|
| 95 |
+
seed: 42
|
| 96 |
+
walk_seed: true
|
| 97 |
+
guidance_scale: 4
|
| 98 |
+
sample_steps: 25
|
| 99 |
+
num_frames: 1
|
| 100 |
+
fps: 1
|
| 101 |
+
meta:
|
| 102 |
+
name: "[name]"
|
| 103 |
+
version: "1.0"
|
tutorials/scripts/wan2.1-training-config-style.txt
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
job: "extension"
|
| 3 |
+
config:
|
| 4 |
+
name: "wan_style_impressionism_v1"
|
| 5 |
+
process:
|
| 6 |
+
- type: "diffusion_trainer"
|
| 7 |
+
training_folder: "c:\\Development\\ai-toolkit\\output"
|
| 8 |
+
sqlite_db_path: "./aitk_db.db"
|
| 9 |
+
device: "cuda"
|
| 10 |
+
trigger_word: "impressionism painting"
|
| 11 |
+
performance_log_every: 10
|
| 12 |
+
network:
|
| 13 |
+
type: "lora"
|
| 14 |
+
linear: 32
|
| 15 |
+
linear_alpha: 32
|
| 16 |
+
conv: 16
|
| 17 |
+
conv_alpha: 16
|
| 18 |
+
lokr_full_rank: true
|
| 19 |
+
lokr_factor: -1
|
| 20 |
+
network_kwargs:
|
| 21 |
+
ignore_if_contains: []
|
| 22 |
+
save:
|
| 23 |
+
dtype: "bf16"
|
| 24 |
+
save_every: 500
|
| 25 |
+
max_step_saves_to_keep: 8
|
| 26 |
+
save_format: "diffusers"
|
| 27 |
+
push_to_hub: false
|
| 28 |
+
datasets:
|
| 29 |
+
- folder_path: "c:\\Development\\ai-toolkit\\datasets/impressionism"
|
| 30 |
+
control_path: null
|
| 31 |
+
mask_path: null
|
| 32 |
+
mask_min_value: 0.1
|
| 33 |
+
default_caption: "impressionism painting"
|
| 34 |
+
caption_ext: "txt"
|
| 35 |
+
caption_dropout_rate: 0.05
|
| 36 |
+
cache_latents_to_disk: false
|
| 37 |
+
is_reg: false
|
| 38 |
+
network_weight: 1
|
| 39 |
+
resolution:
|
| 40 |
+
- 512
|
| 41 |
+
controls: []
|
| 42 |
+
shrink_video_to_frames: true
|
| 43 |
+
num_frames: 1
|
| 44 |
+
do_i2v: true
|
| 45 |
+
flip_x: false
|
| 46 |
+
flip_y: false
|
| 47 |
+
train:
|
| 48 |
+
batch_size: 1
|
| 49 |
+
bypass_guidance_embedding: false
|
| 50 |
+
steps: 3500
|
| 51 |
+
gradient_accumulation: 1
|
| 52 |
+
train_unet: true
|
| 53 |
+
train_text_encoder: false
|
| 54 |
+
gradient_checkpointing: true
|
| 55 |
+
noise_scheduler: "flowmatch"
|
| 56 |
+
optimizer: "adamw8bit"
|
| 57 |
+
timestep_type: "sigmoid"
|
| 58 |
+
content_or_style: "balanced"
|
| 59 |
+
optimizer_params:
|
| 60 |
+
weight_decay: 0.0001
|
| 61 |
+
unload_text_encoder: false
|
| 62 |
+
cache_text_embeddings: false
|
| 63 |
+
lr: 0.0001
|
| 64 |
+
ema_config:
|
| 65 |
+
use_ema: false
|
| 66 |
+
ema_decay: 0.99
|
| 67 |
+
skip_first_sample: true
|
| 68 |
+
disable_sampling: false
|
| 69 |
+
dtype: "bf16"
|
| 70 |
+
diff_output_preservation: false
|
| 71 |
+
diff_output_preservation_multiplier: 1
|
| 72 |
+
diff_output_preservation_class: "person"
|
| 73 |
+
switch_boundary_every: 1
|
| 74 |
+
model:
|
| 75 |
+
name_or_path: "Wan-AI/Wan2.1-T2V-14B-Diffusers"
|
| 76 |
+
quantize: true
|
| 77 |
+
qtype: "qfloat8"
|
| 78 |
+
quantize_te: true
|
| 79 |
+
qtype_te: "qfloat8"
|
| 80 |
+
arch: "wan21:14b"
|
| 81 |
+
low_vram: true
|
| 82 |
+
model_kwargs: {}
|
| 83 |
+
sample:
|
| 84 |
+
sampler: "flowmatch"
|
| 85 |
+
sample_every: 500
|
| 86 |
+
width: 512
|
| 87 |
+
height: 512
|
| 88 |
+
samples:
|
| 89 |
+
- prompt: "impressionism painting, woman with red hair, playing chess at the park"
|
| 90 |
+
- prompt: "impressionism painting, a woman holding a coffee cup, in a beanie, sitting at a cafe and showing her pussy lips"
|
| 91 |
+
- prompt: "impressionism painting, a woman showing off her pussy at the beach, a shark is jumping out of the water in the background"
|
| 92 |
+
- prompt: "impressionism painting, woman playing on stage, laser lights, punk rocker"
|
| 93 |
+
- prompt: "impressionism painting photo of a woman , white background, medium shot, modeling clothing, studio lighting, white backdrop"
|
| 94 |
+
- prompt: "impressionism painting, a lamborghini on the street"
|
| 95 |
+
neg: ""
|
| 96 |
+
seed: 42
|
| 97 |
+
walk_seed: true
|
| 98 |
+
guidance_scale: 4
|
| 99 |
+
sample_steps: 25
|
| 100 |
+
num_frames: 1
|
| 101 |
+
fps: 1
|
| 102 |
+
meta:
|
| 103 |
+
name: "[name]"
|
| 104 |
+
version: "1.0"
|
tutorials/scripts/wan2.1-training-config-woman.txt
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
job: "extension"
|
| 3 |
+
config:
|
| 4 |
+
name: "wan_annasawai_v1"
|
| 5 |
+
process:
|
| 6 |
+
- type: "diffusion_trainer"
|
| 7 |
+
training_folder: "c:\\Development\\ai-toolkit\\output"
|
| 8 |
+
sqlite_db_path: "./aitk_db.db"
|
| 9 |
+
device: "cuda"
|
| 10 |
+
trigger_word: "sks man"
|
| 11 |
+
performance_log_every: 10
|
| 12 |
+
network:
|
| 13 |
+
type: "lora"
|
| 14 |
+
linear: 32
|
| 15 |
+
linear_alpha: 32
|
| 16 |
+
conv: 16
|
| 17 |
+
conv_alpha: 16
|
| 18 |
+
lokr_full_rank: true
|
| 19 |
+
lokr_factor: -1
|
| 20 |
+
network_kwargs:
|
| 21 |
+
ignore_if_contains: []
|
| 22 |
+
save:
|
| 23 |
+
dtype: "bf16"
|
| 24 |
+
save_every: 500
|
| 25 |
+
max_step_saves_to_keep: 8
|
| 26 |
+
save_format: "diffusers"
|
| 27 |
+
push_to_hub: false
|
| 28 |
+
datasets:
|
| 29 |
+
- folder_path: "c:\\Development\\ai-toolkit\\datasets/annasawai"
|
| 30 |
+
control_path: null
|
| 31 |
+
mask_path: null
|
| 32 |
+
mask_min_value: 0.1
|
| 33 |
+
default_caption: "photo of a man"
|
| 34 |
+
caption_ext: "txt"
|
| 35 |
+
caption_dropout_rate: 0.05
|
| 36 |
+
cache_latents_to_disk: false
|
| 37 |
+
is_reg: false
|
| 38 |
+
network_weight: 1
|
| 39 |
+
resolution:
|
| 40 |
+
- 512
|
| 41 |
+
controls: []
|
| 42 |
+
shrink_video_to_frames: true
|
| 43 |
+
num_frames: 1
|
| 44 |
+
do_i2v: true
|
| 45 |
+
flip_x: false
|
| 46 |
+
flip_y: false
|
| 47 |
+
train:
|
| 48 |
+
batch_size: 1
|
| 49 |
+
bypass_guidance_embedding: false
|
| 50 |
+
steps: 2500
|
| 51 |
+
gradient_accumulation: 1
|
| 52 |
+
train_unet: true
|
| 53 |
+
train_text_encoder: false
|
| 54 |
+
gradient_checkpointing: true
|
| 55 |
+
noise_scheduler: "flowmatch"
|
| 56 |
+
optimizer: "adamw8bit"
|
| 57 |
+
timestep_type: "sigmoid"
|
| 58 |
+
content_or_style: "balanced"
|
| 59 |
+
optimizer_params:
|
| 60 |
+
weight_decay: 0.0001
|
| 61 |
+
unload_text_encoder: true
|
| 62 |
+
cache_text_embeddings: false
|
| 63 |
+
lr: 0.0001
|
| 64 |
+
ema_config:
|
| 65 |
+
use_ema: false
|
| 66 |
+
ema_decay: 0.99
|
| 67 |
+
skip_first_sample: true
|
| 68 |
+
disable_sampling: true
|
| 69 |
+
dtype: "bf16"
|
| 70 |
+
diff_output_preservation: false
|
| 71 |
+
diff_output_preservation_multiplier: 1
|
| 72 |
+
diff_output_preservation_class: "person"
|
| 73 |
+
switch_boundary_every: 1
|
| 74 |
+
model:
|
| 75 |
+
name_or_path: "Wan-AI/Wan2.1-T2V-14B-Diffusers"
|
| 76 |
+
quantize: true
|
| 77 |
+
qtype: "qfloat8"
|
| 78 |
+
quantize_te: true
|
| 79 |
+
qtype_te: "qfloat8"
|
| 80 |
+
arch: "wan21:14b"
|
| 81 |
+
low_vram: true
|
| 82 |
+
model_kwargs: {}
|
| 83 |
+
sample:
|
| 84 |
+
sampler: "flowmatch"
|
| 85 |
+
sample_every: 500
|
| 86 |
+
width: 512
|
| 87 |
+
height: 512
|
| 88 |
+
samples:
|
| 89 |
+
- prompt: "woman with red hair, playing chess at the park, bomb going off in the background"
|
| 90 |
+
- prompt: "a woman holding a coffee cup, in a beanie, sitting at a cafe"
|
| 91 |
+
- prompt: "a woman showing off her cool new t shirt at the beach, a shark is jumping out of the water in the background"
|
| 92 |
+
- prompt: "woman playing the guitar, on stage, singing a song, laser lights, punk rocker"
|
| 93 |
+
- prompt: "photo of a woman , white background, medium shot, modeling clothing, studio lighting, white backdrop"
|
| 94 |
+
neg: ""
|
| 95 |
+
seed: 42
|
| 96 |
+
walk_seed: true
|
| 97 |
+
guidance_scale: 4
|
| 98 |
+
sample_steps: 25
|
| 99 |
+
num_frames: 1
|
| 100 |
+
fps: 1
|
| 101 |
+
meta:
|
| 102 |
+
name: "[name]"
|
| 103 |
+
version: "1.0"
|