Upload 3 files
Browse files- config.yaml +117 -0
- lora_000002400.safetensors +3 -0
- optimizer.pt +3 -0
config.yaml
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
job: extension
|
| 2 |
+
config:
|
| 3 |
+
name: lora
|
| 4 |
+
process:
|
| 5 |
+
- type: diffusion_trainer
|
| 6 |
+
training_folder: /output
|
| 7 |
+
sqlite_db_path: /app/ai-toolkit/aitk_db.db
|
| 8 |
+
device: cuda
|
| 9 |
+
trigger_word: anzohwx
|
| 10 |
+
performance_log_every: 10
|
| 11 |
+
network:
|
| 12 |
+
type: lora
|
| 13 |
+
linear: 64
|
| 14 |
+
linear_alpha: 64
|
| 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: 120
|
| 24 |
+
max_step_saves_to_keep: 4000
|
| 25 |
+
save_format: diffusers
|
| 26 |
+
push_to_hub: false
|
| 27 |
+
datasets:
|
| 28 |
+
- folder_path: /datasets/anzohwx
|
| 29 |
+
mask_path: null
|
| 30 |
+
mask_min_value: 0.1
|
| 31 |
+
default_caption: a photo of anzohwx girl
|
| 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 |
+
controls: []
|
| 40 |
+
shrink_video_to_frames: true
|
| 41 |
+
num_frames: 1
|
| 42 |
+
do_i2v: true
|
| 43 |
+
flip_x: false
|
| 44 |
+
flip_y: false
|
| 45 |
+
train:
|
| 46 |
+
batch_size: 2
|
| 47 |
+
bypass_guidance_embedding: false
|
| 48 |
+
steps: 30000
|
| 49 |
+
gradient_accumulation: 1
|
| 50 |
+
train_unet: true
|
| 51 |
+
train_text_encoder: false
|
| 52 |
+
gradient_checkpointing: true
|
| 53 |
+
noise_scheduler: flowmatch
|
| 54 |
+
optimizer: adamw8bit
|
| 55 |
+
timestep_type: weighted
|
| 56 |
+
content_or_style: balanced
|
| 57 |
+
optimizer_params:
|
| 58 |
+
weight_decay: 0.0001
|
| 59 |
+
unload_text_encoder: false
|
| 60 |
+
cache_text_embeddings: false
|
| 61 |
+
lr: 0.0001
|
| 62 |
+
ema_config:
|
| 63 |
+
use_ema: false
|
| 64 |
+
ema_decay: 0.99
|
| 65 |
+
skip_first_sample: false
|
| 66 |
+
force_first_sample: false
|
| 67 |
+
disable_sampling: true
|
| 68 |
+
dtype: bf16
|
| 69 |
+
diff_output_preservation: false
|
| 70 |
+
diff_output_preservation_multiplier: 1
|
| 71 |
+
diff_output_preservation_class: person
|
| 72 |
+
switch_boundary_every: 1
|
| 73 |
+
loss_type: mse
|
| 74 |
+
model:
|
| 75 |
+
name_or_path: Qwen/Qwen-Image
|
| 76 |
+
quantize: true
|
| 77 |
+
qtype: qfloat8
|
| 78 |
+
quantize_te: true
|
| 79 |
+
qtype_te: qfloat8
|
| 80 |
+
arch: qwen_image
|
| 81 |
+
low_vram: true
|
| 82 |
+
model_kwargs: {}
|
| 83 |
+
layer_offloading: false
|
| 84 |
+
layer_offloading_text_encoder_percent: 1
|
| 85 |
+
layer_offloading_transformer_percent: 1
|
| 86 |
+
sample:
|
| 87 |
+
sampler: flowmatch
|
| 88 |
+
sample_every: 250
|
| 89 |
+
width: 1024
|
| 90 |
+
height: 1024
|
| 91 |
+
samples:
|
| 92 |
+
- prompt: woman with red hair, playing chess at the park, bomb going off in
|
| 93 |
+
the background
|
| 94 |
+
- prompt: a woman holding a coffee cup, in a beanie, sitting at a cafe
|
| 95 |
+
- prompt: a horse is a DJ at a night club, fish eye lens, smoke machine, lazer
|
| 96 |
+
lights, holding a martini
|
| 97 |
+
- prompt: a man showing off his cool new t shirt at the beach, a shark is jumping
|
| 98 |
+
out of the water in the background
|
| 99 |
+
- prompt: a bear building a log cabin in the snow covered mountains
|
| 100 |
+
- prompt: woman playing the guitar, on stage, singing a song, laser lights,
|
| 101 |
+
punk rocker
|
| 102 |
+
- prompt: hipster man with a beard, building a chair, in a wood shop
|
| 103 |
+
- prompt: photo of a man, white background, medium shot, modeling clothing,
|
| 104 |
+
studio lighting, white backdrop
|
| 105 |
+
- prompt: a man holding a sign that says, 'this is a sign'
|
| 106 |
+
- prompt: a bulldog, in a post apocalyptic world, with a shotgun, in a leather
|
| 107 |
+
jacket, in a desert, with a motorcycle
|
| 108 |
+
neg: ''
|
| 109 |
+
seed: 42
|
| 110 |
+
walk_seed: true
|
| 111 |
+
guidance_scale: 4
|
| 112 |
+
sample_steps: 25
|
| 113 |
+
num_frames: 1
|
| 114 |
+
fps: 1
|
| 115 |
+
meta:
|
| 116 |
+
name: lora
|
| 117 |
+
version: '1.0'
|
lora_000002400.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5687510b3b5f9dfd365dcf1a6b00c0eda79cef093f74e358b95fabd8aad2185
|
| 3 |
+
size 1179883680
|
optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c73580ac0c3dfa96f4fe567272b56becf2d678064866fc1d02e871bfaf6905e1
|
| 3 |
+
size 1195257229
|