Upload config.yaml
Browse files- config.yaml +138 -0
config.yaml
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
job: extension
|
| 2 |
+
config:
|
| 3 |
+
name: jacob_z_image_turbo_v0.1
|
| 4 |
+
process:
|
| 5 |
+
- type: diffusion_trainer
|
| 6 |
+
training_folder: /home/jacob/ai-toolkit/output
|
| 7 |
+
sqlite_db_path: /home/jacob/ai-toolkit/aitk_db.db
|
| 8 |
+
device: cuda
|
| 9 |
+
trigger_word: Jacob
|
| 10 |
+
performance_log_every: 10
|
| 11 |
+
network:
|
| 12 |
+
type: lora
|
| 13 |
+
linear: 48
|
| 14 |
+
linear_alpha: 48
|
| 15 |
+
conv: 16
|
| 16 |
+
conv_alpha: 16
|
| 17 |
+
lokr_full_rank: true
|
| 18 |
+
lokr_factor: -1
|
| 19 |
+
network_kwargs:
|
| 20 |
+
ignore_if_contains: []
|
| 21 |
+
save:
|
| 22 |
+
dtype: bf16
|
| 23 |
+
save_every: 250
|
| 24 |
+
max_step_saves_to_keep: 4
|
| 25 |
+
save_format: diffusers
|
| 26 |
+
push_to_hub: false
|
| 27 |
+
datasets:
|
| 28 |
+
- folder_path: /home/jacob/ai-toolkit/datasets/test2
|
| 29 |
+
mask_path: null
|
| 30 |
+
mask_min_value: 0.1
|
| 31 |
+
default_caption: ''
|
| 32 |
+
caption_ext: txt
|
| 33 |
+
caption_dropout_rate: 0.05
|
| 34 |
+
cache_latents_to_disk: false
|
| 35 |
+
is_reg: false
|
| 36 |
+
network_weight: 1
|
| 37 |
+
resolution:
|
| 38 |
+
- 1024
|
| 39 |
+
- 1536
|
| 40 |
+
- 1280
|
| 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: 2
|
| 49 |
+
bypass_guidance_embedding: false
|
| 50 |
+
steps: 2000
|
| 51 |
+
gradient_accumulation: 2
|
| 52 |
+
train_unet: true
|
| 53 |
+
train_text_encoder: false
|
| 54 |
+
gradient_checkpointing: true
|
| 55 |
+
noise_scheduler: flowmatch
|
| 56 |
+
optimizer: adamw8bit
|
| 57 |
+
timestep_type: weighted
|
| 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.00015
|
| 64 |
+
ema_config:
|
| 65 |
+
use_ema: false
|
| 66 |
+
ema_decay: 0.99
|
| 67 |
+
skip_first_sample: false
|
| 68 |
+
force_first_sample: false
|
| 69 |
+
disable_sampling: false
|
| 70 |
+
dtype: bf16
|
| 71 |
+
diff_output_preservation: false
|
| 72 |
+
diff_output_preservation_multiplier: 1
|
| 73 |
+
diff_output_preservation_class: person
|
| 74 |
+
switch_boundary_every: 1
|
| 75 |
+
loss_type: mse
|
| 76 |
+
model:
|
| 77 |
+
name_or_path: Tongyi-MAI/Z-Image-Turbo
|
| 78 |
+
quantize: true
|
| 79 |
+
qtype: qfloat8
|
| 80 |
+
quantize_te: true
|
| 81 |
+
qtype_te: qfloat8
|
| 82 |
+
arch: zimage:turbo
|
| 83 |
+
low_vram: false
|
| 84 |
+
model_kwargs: {}
|
| 85 |
+
layer_offloading: false
|
| 86 |
+
layer_offloading_text_encoder_percent: 1
|
| 87 |
+
layer_offloading_transformer_percent: 1
|
| 88 |
+
assistant_lora_path: ostris/zimage_turbo_training_adapter/zimage_turbo_training_adapter_v1.safetensors
|
| 89 |
+
sample:
|
| 90 |
+
sampler: flowmatch
|
| 91 |
+
sample_every: 250
|
| 92 |
+
width: 1024
|
| 93 |
+
height: 1024
|
| 94 |
+
samples:
|
| 95 |
+
- prompt: Jacob holding a sign that says 'I am Jacob!'
|
| 96 |
+
- prompt: Jacob, with short and colorful ombre hair, presented at the international
|
| 97 |
+
conference stage.
|
| 98 |
+
- prompt: Jacob playing the guitar, on stage, singing a song, laser lights,
|
| 99 |
+
punk rocker
|
| 100 |
+
- prompt: The camera is above Jacob, capturing him as he clings to the cliff
|
| 101 |
+
face. From this angle, the rough texture of the rock surrounds him, framing
|
| 102 |
+
his determined figure. His face is turned upward, his eyes scanning the
|
| 103 |
+
cliff's surface with laser focus, darting from one potential handhold to
|
| 104 |
+
the next as he calculates the best route.
|
| 105 |
+
- prompt: Jacob standing confidently with arms crossed, wears a complete set
|
| 106 |
+
of professional suits, photographed by professional photographers and studio
|
| 107 |
+
lighting
|
| 108 |
+
- prompt: Jacob is a DJ at a night club, fish eye lens, smoke machine, lazer
|
| 109 |
+
lights, holding a martini
|
| 110 |
+
- prompt: Jacob is 160cm tall, wears a complete set of professional suits and
|
| 111 |
+
walks on the streets of Taiwan, photographed by professional photographers
|
| 112 |
+
and studio lighting
|
| 113 |
+
- prompt: Jacob holding a coffee cup, in a beanie, sitting at a cafe
|
| 114 |
+
- prompt: Jacob as an anime character with exaggerated features and vibrant
|
| 115 |
+
colors.
|
| 116 |
+
- prompt: Jacob, in 90s Japanese Anime style with beautiful city background
|
| 117 |
+
- prompt: Jacob, A handsome man in a suit, 20 years old, cool, fantasy style,
|
| 118 |
+
natural photo cinematic
|
| 119 |
+
- prompt: Jacob, A handsome man in a suit, 20 years old, cool, fantasy style,
|
| 120 |
+
natural photo cinematic
|
| 121 |
+
- prompt: Jacob's sister, with long hair, in a suit, 20 years old, cool, fantasy
|
| 122 |
+
style, natural photo cinematic
|
| 123 |
+
- prompt: Jacob, clad in white tennis attire, tosses the ball high into the
|
| 124 |
+
air, his left arm stretched upward while his right arm prepares to deliver
|
| 125 |
+
a powerful serve. His racket swings back in a fluid motion, muscles taut
|
| 126 |
+
as he prepares to strike. The ball hovers mid-air, just above his outstretched
|
| 127 |
+
hand, ready to be smashed down the court. The bright sunlight reflects off
|
| 128 |
+
his racket and sweat-lined face, capturing the intensity of the competition.
|
| 129 |
+
neg: ''
|
| 130 |
+
seed: 42
|
| 131 |
+
walk_seed: true
|
| 132 |
+
guidance_scale: 1
|
| 133 |
+
sample_steps: 8
|
| 134 |
+
num_frames: 1
|
| 135 |
+
fps: 1
|
| 136 |
+
meta:
|
| 137 |
+
name: jacob_z_image_turbo_v0.1
|
| 138 |
+
version: '1.0'
|