malcolmrey commited on
Commit
a0292ce
·
1 Parent(s): 96b587a

zimage base vs turbo tests

Browse files
Files changed (38) hide show
  1. zimage-turbo-vs-base-training/base/zbase_feliciaday_v1.safetensors +3 -0
  2. zimage-turbo-vs-base-training/base/zbase_feliciaday_v1.yaml +115 -0
  3. zimage-turbo-vs-base-training/base/zimage_feliciaday_maltrainer.safetensors +3 -0
  4. zimage-turbo-vs-base-training/base/zimage_feliciaday_maltrainer.yaml +69 -0
  5. zimage-turbo-vs-base-training/base/zimage_feliciaday_onetrainer_adamw.json +470 -0
  6. zimage-turbo-vs-base-training/base/zimage_feliciaday_onetrainer_adamw.safetensors +3 -0
  7. zimage-turbo-vs-base-training/base/zimage_feliciaday_onetrainer_prodigy.json +470 -0
  8. zimage-turbo-vs-base-training/base/zimage_feliciaday_onetrainer_prodigy.safetensors +3 -0
  9. zimage-turbo-vs-base-training/dataset/12229069893_ececb2ed1a_o.png +3 -0
  10. zimage-turbo-vs-base-training/dataset/1247331cc2fbe619a041c6f5faee1e10.png +3 -0
  11. zimage-turbo-vs-base-training/dataset/135478372.png +3 -0
  12. zimage-turbo-vs-base-training/dataset/173226-felicia-day-1920x1080.png +3 -0
  13. zimage-turbo-vs-base-training/dataset/196916.png +3 -0
  14. zimage-turbo-vs-base-training/dataset/24e17a6b841a420b8098eedd5f9115ed.png +3 -0
  15. zimage-turbo-vs-base-training/dataset/598121.png +3 -0
  16. zimage-turbo-vs-base-training/dataset/598125.png +3 -0
  17. zimage-turbo-vs-base-training/dataset/6AGIXPZ.png +3 -0
  18. zimage-turbo-vs-base-training/dataset/8FrXa.png +3 -0
  19. zimage-turbo-vs-base-training/dataset/Felicia-Day-Images.png +3 -0
  20. zimage-turbo-vs-base-training/dataset/Felicia-Day-Wallpapers-HQ.png +3 -0
  21. zimage-turbo-vs-base-training/dataset/I6ksvMt.png +3 -0
  22. zimage-turbo-vs-base-training/dataset/Jyg09e.png +3 -0
  23. zimage-turbo-vs-base-training/dataset/MV5BMTQ3MTI3MTMyOV5BMl5BanBnXkFtZTcwMDY4NDA5OQ@@._V1_.png +3 -0
  24. zimage-turbo-vs-base-training/dataset/MV5BMTU3NjU0NzU3NV5BMl5BanBnXkFtZTcwNDE4NzIzOQ@@._V1_.png +3 -0
  25. zimage-turbo-vs-base-training/dataset/MV5BMTg1NjIwMDg4NF5BMl5BanBnXkFtZTcwODkzOTExOA@@._V1_.png +3 -0
  26. zimage-turbo-vs-base-training/dataset/a9875f6a30706446576cf924cd890752_0001.png +3 -0
  27. zimage-turbo-vs-base-training/dataset/e41046884570aa83609fa29d2cf3311b.png +3 -0
  28. zimage-turbo-vs-base-training/dataset/fA31Hmk.png +3 -0
  29. zimage-turbo-vs-base-training/dataset/hiFzl39.png +3 -0
  30. zimage-turbo-vs-base-training/dataset/qO6hzBr.png +3 -0
  31. zimage-turbo-vs-base-training/dataset/zeoJiRC.png +3 -0
  32. zimage-turbo-vs-base-training/readme.md +41 -0
  33. zimage-turbo-vs-base-training/turbo/zimage_feliciaday_onetrainer_adamw_turbo.json +470 -0
  34. zimage-turbo-vs-base-training/turbo/zimage_feliciaday_onetrainer_adamw_turbo.safetensors +3 -0
  35. zimage-turbo-vs-base-training/turbo/zimage_feliciaday_v1.safetensors +3 -0
  36. zimage-turbo-vs-base-training/turbo/zimage_feliciaday_v1.yaml +113 -0
  37. zimage-turbo-vs-base-training/turbo/zonetrainer_feliciaday_v1.safetensors +3 -0
  38. zimage-turbo-vs-base-training/turbo/zonetrainer_feliciaday_v1.yaml +116 -0
zimage-turbo-vs-base-training/base/zbase_feliciaday_v1.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d159a0ff71738cf2be23cc00e5f61231ff0f5511cdbd00e8e746a81cc5a945f
3
+ size 170128296
zimage-turbo-vs-base-training/base/zbase_feliciaday_v1.yaml ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: zbase_feliciaday_v1
4
+ process:
5
+ - type: diffusion_trainer
6
+ training_folder: c:\Development\ai-toolkit\output
7
+ sqlite_db_path: c:\Development\ai-toolkit\aitk_db.db
8
+ device: cuda
9
+ trigger_word: sks woman
10
+ performance_log_every: 10
11
+ network:
12
+ type: lora
13
+ linear: 32
14
+ linear_alpha: 32
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: 500
24
+ max_step_saves_to_keep: 18
25
+ save_format: diffusers
26
+ push_to_hub: false
27
+ datasets:
28
+ - folder_path: c:\Development\ai-toolkit\datasets/feliciaday
29
+ mask_path: null
30
+ mask_min_value: 0.1
31
+ default_caption: photo of a woman
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
+ - 512
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: 1
47
+ bypass_guidance_embedding: false
48
+ steps: 5000
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: true
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: true
66
+ force_first_sample: false
67
+ disable_sampling: false
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
+ do_differential_guidance: true
75
+ differential_guidance_scale: 3
76
+ model:
77
+ name_or_path: Tongyi-MAI/Z-Image
78
+ quantize: true
79
+ qtype: qfloat8
80
+ quantize_te: true
81
+ qtype_te: qfloat8
82
+ arch: zimage
83
+ low_vram: true
84
+ model_kwargs: {}
85
+ layer_offloading: false
86
+ layer_offloading_text_encoder_percent: 1
87
+ layer_offloading_transformer_percent: 1
88
+ sample:
89
+ sampler: flowmatch
90
+ sample_every: 500
91
+ width: 512
92
+ height: 512
93
+ samples:
94
+ - prompt: woman with red hair, playing chess at the park, bomb going off in
95
+ the background
96
+ - prompt: a woman holding a coffee cup, in a beanie, sitting at a cafe
97
+ - prompt: a woman showing off her cool new t shirt at the beach, a shark is
98
+ jumping out of the water in the background
99
+ - prompt: woman playing the guitar, on stage, singing a song, laser lights,
100
+ punk rocker
101
+ - prompt: photo of a woman, white background, medium shot, modeling clothing,
102
+ studio lighting, white backdrop
103
+ neg: ''
104
+ seed: 42
105
+ walk_seed: true
106
+ guidance_scale: 1
107
+ sample_steps: 8
108
+ num_frames: 1
109
+ fps: 1
110
+ logging:
111
+ log_every: 1
112
+ use_ui_logger: true
113
+ meta:
114
+ name: zbase_feliciaday_v1
115
+ version: '1.0'
zimage-turbo-vs-base-training/base/zimage_feliciaday_maltrainer.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c52474d63c811cc23e5ef1f6d6ccda62d3f7b698dea044f535298806be9eaa1
3
+ size 190842896
zimage-turbo-vs-base-training/base/zimage_feliciaday_maltrainer.yaml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Z-Image LoRA Training Configuration Example
2
+
3
+ # Model configuration
4
+ model:
5
+ name_or_path: "Tongyi-MAI/Z-Image" # or path to local model
6
+
7
+ # LoRA configuration
8
+ lora:
9
+ prefix: "diffusion_model."
10
+ rank: 32
11
+ alpha: 32
12
+ target_modules:
13
+ - "to_q"
14
+ - "to_k"
15
+ - "to_v"
16
+ - "to_out.0"
17
+ - "feed_forward.w1"
18
+ - "feed_forward.w2"
19
+ - "feed_forward.w3"
20
+ - "adaLN_modulation.0"
21
+
22
+ # Dataset configuration
23
+ dataset:
24
+ path: "C:/Development/trainers/maltrainer/datasets/feliciaday"
25
+ trigger: "sks woman"
26
+ default_caption: "photo of a woman"
27
+ repeats: 1
28
+ resolution: 512
29
+ center_crop: true
30
+ random_flip: false
31
+ num_workers: 0
32
+
33
+ # Training configuration
34
+ train:
35
+ batch_size: 1
36
+ gradient_accumulation_steps: 1
37
+ num_epochs: 100
38
+ optimizer: "adamw8bit"
39
+ learning_rate: 1e-4
40
+ adam_beta1: 0.9
41
+ adam_beta2: 0.999
42
+ adam_epsilon: 1e-8
43
+ weight_decay: 0.01
44
+ weight_decay_exclude_lora: true
45
+ timestep_weighting: "none"
46
+ do_differential_guidance: true
47
+ differential_guidance_scale: 3.0
48
+ unconditional_prompt: ""
49
+ dynamic_noise_offset: true
50
+ noise_multiplier: 1.0
51
+ random_noise_multiplier: 0.0
52
+ random_noise_shift: 0.0
53
+ latent_multiplier: 1.0
54
+ noisy_latent_multiplier: 1.0
55
+ max_grad_norm: 1.0
56
+ save_every: 500
57
+
58
+ # Output configuration
59
+ output:
60
+ path: "./output/feliciaday_lora"
61
+
62
+ # Logging configuration
63
+ logging:
64
+ level: "INFO"
65
+
66
+ # Training settings
67
+ dtype: "bfloat16"
68
+ mixed_precision: "bf16"
69
+ seed: 42
zimage-turbo-vs-base-training/base/zimage_feliciaday_onetrainer_adamw.json ADDED
@@ -0,0 +1,470 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version": 10,
3
+ "training_method": "LORA",
4
+ "model_type": "Z_IMAGE",
5
+ "debug_mode": false,
6
+ "debug_dir": "debug",
7
+ "workspace_dir": "workspace/run",
8
+ "cache_dir": "workspace-cache/run",
9
+ "tensorboard": true,
10
+ "tensorboard_expose": false,
11
+ "tensorboard_always_on": false,
12
+ "tensorboard_port": 6006,
13
+ "validation": false,
14
+ "validate_after": 1,
15
+ "validate_after_unit": "EPOCH",
16
+ "continue_last_backup": false,
17
+ "include_train_config": "NONE",
18
+ "multi_gpu": false,
19
+ "device_indexes": "",
20
+ "gradient_reduce_precision": "FLOAT_32_STOCHASTIC",
21
+ "fused_gradient_reduce": true,
22
+ "async_gradient_reduce": true,
23
+ "async_gradient_reduce_buffer": 100,
24
+ "base_model_name": "Tongyi-MAI/Z-Image",
25
+ "output_dtype": "BFLOAT_16",
26
+ "output_model_format": "SAFETENSORS",
27
+ "output_model_destination": "models/model.safetensors",
28
+ "gradient_checkpointing": "ON",
29
+ "enable_async_offloading": true,
30
+ "enable_activation_offloading": true,
31
+ "layer_offload_fraction": 0.0,
32
+ "force_circular_padding": false,
33
+ "compile": true,
34
+ "concept_file_name": "training_concepts/concepts.json",
35
+ "concepts": null,
36
+ "aspect_ratio_bucketing": true,
37
+ "latent_caching": true,
38
+ "clear_cache_before_training": true,
39
+ "learning_rate_scheduler": "CONSTANT",
40
+ "custom_learning_rate_scheduler": null,
41
+ "scheduler_params": [],
42
+ "learning_rate": 0.0003,
43
+ "learning_rate_warmup_steps": 200.0,
44
+ "learning_rate_cycles": 1.0,
45
+ "learning_rate_min_factor": 0.0,
46
+ "epochs": 100,
47
+ "batch_size": 2,
48
+ "gradient_accumulation_steps": 1,
49
+ "ema": "OFF",
50
+ "ema_decay": 0.999,
51
+ "ema_update_step_interval": 5,
52
+ "dataloader_threads": 1,
53
+ "train_device": "cuda",
54
+ "temp_device": "cpu",
55
+ "train_dtype": "BFLOAT_16",
56
+ "fallback_train_dtype": "BFLOAT_16",
57
+ "enable_autocast_cache": true,
58
+ "only_cache": false,
59
+ "resolution": "512",
60
+ "frames": "25",
61
+ "mse_strength": 1.0,
62
+ "mae_strength": 0.0,
63
+ "log_cosh_strength": 0.0,
64
+ "huber_strength": 0.0,
65
+ "huber_delta": 1.0,
66
+ "vb_loss_strength": 1.0,
67
+ "loss_weight_fn": "CONSTANT",
68
+ "loss_weight_strength": 5.0,
69
+ "dropout_probability": 0.0,
70
+ "loss_scaler": "NONE",
71
+ "learning_rate_scaler": "NONE",
72
+ "clip_grad_norm": 1.0,
73
+ "offset_noise_weight": 0.0,
74
+ "generalized_offset_noise": false,
75
+ "perturbation_noise_weight": 0.0,
76
+ "rescale_noise_scheduler_to_zero_terminal_snr": false,
77
+ "force_v_prediction": false,
78
+ "force_epsilon_prediction": false,
79
+ "min_noising_strength": 0.0,
80
+ "max_noising_strength": 1.0,
81
+ "timestep_distribution": "LOGIT_NORMAL",
82
+ "noising_weight": 0.0,
83
+ "noising_bias": 0.0,
84
+ "timestep_shift": 1.0,
85
+ "dynamic_timestep_shifting": false,
86
+ "unet": {
87
+ "__version": 0,
88
+ "model_name": "",
89
+ "include": true,
90
+ "train": true,
91
+ "stop_training_after": 0,
92
+ "stop_training_after_unit": "NEVER",
93
+ "learning_rate": null,
94
+ "weight_dtype": "FLOAT_32",
95
+ "dropout_probability": 0.0,
96
+ "train_embedding": true,
97
+ "attention_mask": false,
98
+ "guidance_scale": 1.0
99
+ },
100
+ "prior": {
101
+ "__version": 0,
102
+ "model_name": "",
103
+ "include": true,
104
+ "train": true,
105
+ "stop_training_after": 0,
106
+ "stop_training_after_unit": "NEVER",
107
+ "learning_rate": null,
108
+ "weight_dtype": "FLOAT_32",
109
+ "dropout_probability": 0.0,
110
+ "train_embedding": true,
111
+ "attention_mask": false,
112
+ "guidance_scale": 1.0
113
+ },
114
+ "transformer": {
115
+ "__version": 0,
116
+ "model_name": "",
117
+ "include": true,
118
+ "train": true,
119
+ "stop_training_after": 0,
120
+ "stop_training_after_unit": "NEVER",
121
+ "learning_rate": null,
122
+ "weight_dtype": "INT_W8A8",
123
+ "dropout_probability": 0.0,
124
+ "train_embedding": true,
125
+ "attention_mask": false,
126
+ "guidance_scale": 1.0
127
+ },
128
+ "quantization": {
129
+ "__version": 0,
130
+ "layer_filter": "layers",
131
+ "layer_filter_preset": "blocks",
132
+ "layer_filter_regex": false,
133
+ "svd_dtype": "NONE",
134
+ "svd_rank": 16,
135
+ "cache_dir": "workspace-cache/run/quantization"
136
+ },
137
+ "text_encoder": {
138
+ "__version": 0,
139
+ "model_name": "",
140
+ "include": true,
141
+ "train": false,
142
+ "stop_training_after": 30,
143
+ "stop_training_after_unit": "EPOCH",
144
+ "learning_rate": null,
145
+ "weight_dtype": "FLOAT_8",
146
+ "dropout_probability": 0.0,
147
+ "train_embedding": true,
148
+ "attention_mask": false,
149
+ "guidance_scale": 1.0
150
+ },
151
+ "text_encoder_layer_skip": 0,
152
+ "text_encoder_sequence_length": 512,
153
+ "text_encoder_2": {
154
+ "__version": 0,
155
+ "model_name": "",
156
+ "include": true,
157
+ "train": true,
158
+ "stop_training_after": 30,
159
+ "stop_training_after_unit": "EPOCH",
160
+ "learning_rate": null,
161
+ "weight_dtype": "FLOAT_32",
162
+ "dropout_probability": 0.0,
163
+ "train_embedding": true,
164
+ "attention_mask": false,
165
+ "guidance_scale": 1.0
166
+ },
167
+ "text_encoder_2_layer_skip": 0,
168
+ "text_encoder_2_sequence_length": 77,
169
+ "text_encoder_3": {
170
+ "__version": 0,
171
+ "model_name": "",
172
+ "include": true,
173
+ "train": true,
174
+ "stop_training_after": 30,
175
+ "stop_training_after_unit": "EPOCH",
176
+ "learning_rate": null,
177
+ "weight_dtype": "FLOAT_32",
178
+ "dropout_probability": 0.0,
179
+ "train_embedding": true,
180
+ "attention_mask": false,
181
+ "guidance_scale": 1.0
182
+ },
183
+ "text_encoder_3_layer_skip": 0,
184
+ "text_encoder_4": {
185
+ "__version": 0,
186
+ "model_name": "",
187
+ "include": true,
188
+ "train": true,
189
+ "stop_training_after": 30,
190
+ "stop_training_after_unit": "EPOCH",
191
+ "learning_rate": null,
192
+ "weight_dtype": "FLOAT_32",
193
+ "dropout_probability": 0.0,
194
+ "train_embedding": true,
195
+ "attention_mask": false,
196
+ "guidance_scale": 1.0
197
+ },
198
+ "text_encoder_4_layer_skip": 0,
199
+ "vae": {
200
+ "__version": 0,
201
+ "model_name": "",
202
+ "include": true,
203
+ "train": true,
204
+ "stop_training_after": null,
205
+ "stop_training_after_unit": "NEVER",
206
+ "learning_rate": null,
207
+ "weight_dtype": "FLOAT_32",
208
+ "dropout_probability": 0.0,
209
+ "train_embedding": true,
210
+ "attention_mask": false,
211
+ "guidance_scale": 1.0
212
+ },
213
+ "effnet_encoder": {
214
+ "__version": 0,
215
+ "model_name": "",
216
+ "include": true,
217
+ "train": true,
218
+ "stop_training_after": null,
219
+ "stop_training_after_unit": "NEVER",
220
+ "learning_rate": null,
221
+ "weight_dtype": "FLOAT_32",
222
+ "dropout_probability": 0.0,
223
+ "train_embedding": true,
224
+ "attention_mask": false,
225
+ "guidance_scale": 1.0
226
+ },
227
+ "decoder": {
228
+ "__version": 0,
229
+ "model_name": "",
230
+ "include": true,
231
+ "train": true,
232
+ "stop_training_after": null,
233
+ "stop_training_after_unit": "NEVER",
234
+ "learning_rate": null,
235
+ "weight_dtype": "FLOAT_32",
236
+ "dropout_probability": 0.0,
237
+ "train_embedding": true,
238
+ "attention_mask": false,
239
+ "guidance_scale": 1.0
240
+ },
241
+ "decoder_text_encoder": {
242
+ "__version": 0,
243
+ "model_name": "",
244
+ "include": true,
245
+ "train": true,
246
+ "stop_training_after": null,
247
+ "stop_training_after_unit": "NEVER",
248
+ "learning_rate": null,
249
+ "weight_dtype": "FLOAT_32",
250
+ "dropout_probability": 0.0,
251
+ "train_embedding": true,
252
+ "attention_mask": false,
253
+ "guidance_scale": 1.0
254
+ },
255
+ "decoder_vqgan": {
256
+ "__version": 0,
257
+ "model_name": "",
258
+ "include": true,
259
+ "train": true,
260
+ "stop_training_after": null,
261
+ "stop_training_after_unit": "NEVER",
262
+ "learning_rate": null,
263
+ "weight_dtype": "FLOAT_32",
264
+ "dropout_probability": 0.0,
265
+ "train_embedding": true,
266
+ "attention_mask": false,
267
+ "guidance_scale": 1.0
268
+ },
269
+ "masked_training": false,
270
+ "unmasked_probability": 0.1,
271
+ "unmasked_weight": 0.1,
272
+ "normalize_masked_area_loss": false,
273
+ "masked_prior_preservation_weight": 0.0,
274
+ "custom_conditioning_image": false,
275
+ "layer_filter": "^(?=.*attention)(?!.*refiner).*,^(?=.*feed_forward)(?!.*refiner).*",
276
+ "layer_filter_preset": "attn-mlp",
277
+ "layer_filter_regex": true,
278
+ "embedding_learning_rate": null,
279
+ "preserve_embedding_norm": false,
280
+ "embedding": {
281
+ "__version": 0,
282
+ "uuid": "356e3db1-1959-447f-933e-f1e055b200b7",
283
+ "model_name": "",
284
+ "placeholder": "<embedding>",
285
+ "train": true,
286
+ "stop_training_after": null,
287
+ "stop_training_after_unit": "NEVER",
288
+ "token_count": 1,
289
+ "initial_embedding_text": "*",
290
+ "is_output_embedding": false
291
+ },
292
+ "additional_embeddings": [],
293
+ "embedding_weight_dtype": "FLOAT_32",
294
+ "cloud": {
295
+ "__version": 0,
296
+ "enabled": false,
297
+ "type": "RUNPOD",
298
+ "file_sync": "NATIVE_SCP",
299
+ "create": true,
300
+ "name": "OneTrainer",
301
+ "tensorboard_tunnel": true,
302
+ "sub_type": "",
303
+ "gpu_type": "",
304
+ "volume_size": 100,
305
+ "min_download": 0,
306
+ "remote_dir": "/workspace",
307
+ "huggingface_cache_dir": "/workspace/huggingface_cache",
308
+ "onetrainer_dir": "/workspace/OneTrainer",
309
+ "install_cmd": "git clone https://github.com/Nerogar/OneTrainer",
310
+ "install_onetrainer": true,
311
+ "update_onetrainer": true,
312
+ "detach_trainer": false,
313
+ "run_id": "job1",
314
+ "download_samples": true,
315
+ "download_output_model": true,
316
+ "download_saves": true,
317
+ "download_backups": false,
318
+ "download_tensorboard": false,
319
+ "delete_workspace": false,
320
+ "on_finish": "NONE",
321
+ "on_error": "NONE",
322
+ "on_detached_finish": "NONE",
323
+ "on_detached_error": "NONE"
324
+ },
325
+ "peft_type": "LORA",
326
+ "lora_model_name": "",
327
+ "lora_rank": 128,
328
+ "lora_alpha": 128.0,
329
+ "lora_decompose": false,
330
+ "lora_decompose_norm_epsilon": true,
331
+ "lora_decompose_output_axis": false,
332
+ "lora_weight_dtype": "FLOAT_32",
333
+ "bundle_additional_embeddings": true,
334
+ "oft_block_size": 32,
335
+ "oft_coft": false,
336
+ "coft_eps": 0.0001,
337
+ "oft_block_share": false,
338
+ "optimizer": {
339
+ "__version": 0,
340
+ "optimizer": "PRODIGY",
341
+ "adam_w_mode": false,
342
+ "alpha": null,
343
+ "amsgrad": false,
344
+ "beta1": 0.9,
345
+ "beta2": 0.999,
346
+ "beta3": null,
347
+ "bias_correction": false,
348
+ "block_wise": false,
349
+ "capturable": false,
350
+ "centered": false,
351
+ "clip_threshold": null,
352
+ "d0": 1e-06,
353
+ "d_coef": 1.0,
354
+ "dampening": null,
355
+ "decay_rate": null,
356
+ "decouple": true,
357
+ "differentiable": false,
358
+ "eps": 1e-08,
359
+ "eps2": null,
360
+ "foreach": false,
361
+ "fsdp_in_use": false,
362
+ "fused": false,
363
+ "fused_back_pass": false,
364
+ "growth_rate": "inf",
365
+ "initial_accumulator_value": null,
366
+ "initial_accumulator": null,
367
+ "is_paged": false,
368
+ "log_every": null,
369
+ "lr_decay": null,
370
+ "max_unorm": null,
371
+ "maximize": false,
372
+ "min_8bit_size": null,
373
+ "quant_block_size": null,
374
+ "momentum": null,
375
+ "nesterov": false,
376
+ "no_prox": false,
377
+ "optim_bits": null,
378
+ "percentile_clipping": null,
379
+ "r": null,
380
+ "relative_step": false,
381
+ "safeguard_warmup": false,
382
+ "scale_parameter": false,
383
+ "stochastic_rounding": true,
384
+ "use_bias_correction": false,
385
+ "use_triton": false,
386
+ "warmup_init": false,
387
+ "weight_decay": 0.0,
388
+ "weight_lr_power": null,
389
+ "decoupled_decay": false,
390
+ "fixed_decay": false,
391
+ "rectify": false,
392
+ "degenerated_to_sgd": false,
393
+ "k": null,
394
+ "xi": null,
395
+ "n_sma_threshold": null,
396
+ "ams_bound": false,
397
+ "adanorm": false,
398
+ "adam_debias": false,
399
+ "slice_p": 11,
400
+ "cautious": false,
401
+ "weight_decay_by_lr": true,
402
+ "prodigy_steps": null,
403
+ "use_speed": false,
404
+ "split_groups": true,
405
+ "split_groups_mean": true,
406
+ "factored": true,
407
+ "factored_fp32": true,
408
+ "use_stableadamw": true,
409
+ "use_cautious": false,
410
+ "use_grams": false,
411
+ "use_adopt": false,
412
+ "d_limiter": true,
413
+ "use_schedulefree": true,
414
+ "use_orthograd": false,
415
+ "nnmf_factor": false,
416
+ "orthogonal_gradient": false,
417
+ "use_atan2": false,
418
+ "use_AdEMAMix": false,
419
+ "beta3_ema": null,
420
+ "alpha_grad": null,
421
+ "beta1_warmup": null,
422
+ "min_beta1": null,
423
+ "Simplified_AdEMAMix": false,
424
+ "cautious_mask": false,
425
+ "grams_moment": false,
426
+ "kourkoutas_beta": false,
427
+ "k_warmup_steps": null,
428
+ "schedulefree_c": null,
429
+ "ns_steps": null,
430
+ "MuonWithAuxAdam": false,
431
+ "muon_hidden_layers": null,
432
+ "muon_adam_regex": false,
433
+ "muon_adam_lr": null,
434
+ "muon_te1_adam_lr": null,
435
+ "muon_te2_adam_lr": null,
436
+ "muon_adam_config": null,
437
+ "rms_rescaling": true,
438
+ "normuon_variant": false,
439
+ "beta2_normuon": null,
440
+ "normuon_eps": null,
441
+ "low_rank_ortho": false,
442
+ "ortho_rank": null,
443
+ "accelerated_ns": false,
444
+ "cautious_wd": false,
445
+ "approx_mars": false,
446
+ "kappa_p": null,
447
+ "auto_kappa_p": false,
448
+ "compile": false
449
+ },
450
+ "optimizer_defaults": {},
451
+ "sample_definition_file_name": "training_samples/samples.json",
452
+ "samples": null,
453
+ "sample_after": 10,
454
+ "sample_after_unit": "NEVER",
455
+ "sample_skip_first": 0,
456
+ "sample_image_format": "JPG",
457
+ "sample_video_format": "MP4",
458
+ "sample_audio_format": "MP3",
459
+ "samples_to_tensorboard": true,
460
+ "non_ema_sampling": true,
461
+ "backup_after": 30,
462
+ "backup_after_unit": "MINUTE",
463
+ "rolling_backup": false,
464
+ "rolling_backup_count": 3,
465
+ "backup_before_save": true,
466
+ "save_every": 0,
467
+ "save_every_unit": "NEVER",
468
+ "save_skip_first": 0,
469
+ "save_filename_prefix": ""
470
+ }
zimage-turbo-vs-base-training/base/zimage_feliciaday_onetrainer_adamw.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3e2afacd545236fe241bd9566e72531b8051582b514d071c85bbffba68a6263
3
+ size 140162224
zimage-turbo-vs-base-training/base/zimage_feliciaday_onetrainer_prodigy.json ADDED
@@ -0,0 +1,470 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version": 10,
3
+ "training_method": "LORA",
4
+ "model_type": "Z_IMAGE",
5
+ "debug_mode": false,
6
+ "debug_dir": "debug",
7
+ "workspace_dir": "workspace/run",
8
+ "cache_dir": "workspace-cache/run",
9
+ "tensorboard": true,
10
+ "tensorboard_expose": false,
11
+ "tensorboard_always_on": false,
12
+ "tensorboard_port": 6006,
13
+ "validation": false,
14
+ "validate_after": 1,
15
+ "validate_after_unit": "EPOCH",
16
+ "continue_last_backup": false,
17
+ "include_train_config": "NONE",
18
+ "multi_gpu": false,
19
+ "device_indexes": "",
20
+ "gradient_reduce_precision": "FLOAT_32_STOCHASTIC",
21
+ "fused_gradient_reduce": true,
22
+ "async_gradient_reduce": true,
23
+ "async_gradient_reduce_buffer": 100,
24
+ "base_model_name": "Tongyi-MAI/Z-Image",
25
+ "output_dtype": "BFLOAT_16",
26
+ "output_model_format": "SAFETENSORS",
27
+ "output_model_destination": "models/model.safetensors",
28
+ "gradient_checkpointing": "ON",
29
+ "enable_async_offloading": true,
30
+ "enable_activation_offloading": true,
31
+ "layer_offload_fraction": 0.0,
32
+ "force_circular_padding": false,
33
+ "compile": true,
34
+ "concept_file_name": "training_concepts/concepts.json",
35
+ "concepts": null,
36
+ "aspect_ratio_bucketing": true,
37
+ "latent_caching": true,
38
+ "clear_cache_before_training": true,
39
+ "learning_rate_scheduler": "COSINE",
40
+ "custom_learning_rate_scheduler": null,
41
+ "scheduler_params": [],
42
+ "learning_rate": 1.0,
43
+ "learning_rate_warmup_steps": 200.0,
44
+ "learning_rate_cycles": 1.0,
45
+ "learning_rate_min_factor": 0.0,
46
+ "epochs": 100,
47
+ "batch_size": 2,
48
+ "gradient_accumulation_steps": 1,
49
+ "ema": "OFF",
50
+ "ema_decay": 0.999,
51
+ "ema_update_step_interval": 5,
52
+ "dataloader_threads": 1,
53
+ "train_device": "cuda",
54
+ "temp_device": "cpu",
55
+ "train_dtype": "BFLOAT_16",
56
+ "fallback_train_dtype": "BFLOAT_16",
57
+ "enable_autocast_cache": true,
58
+ "only_cache": false,
59
+ "resolution": "512",
60
+ "frames": "25",
61
+ "mse_strength": 1.0,
62
+ "mae_strength": 0.0,
63
+ "log_cosh_strength": 0.0,
64
+ "huber_strength": 0.0,
65
+ "huber_delta": 1.0,
66
+ "vb_loss_strength": 1.0,
67
+ "loss_weight_fn": "CONSTANT",
68
+ "loss_weight_strength": 5.0,
69
+ "dropout_probability": 0.0,
70
+ "loss_scaler": "NONE",
71
+ "learning_rate_scaler": "NONE",
72
+ "clip_grad_norm": 1.0,
73
+ "offset_noise_weight": 0.0,
74
+ "generalized_offset_noise": false,
75
+ "perturbation_noise_weight": 0.0,
76
+ "rescale_noise_scheduler_to_zero_terminal_snr": false,
77
+ "force_v_prediction": false,
78
+ "force_epsilon_prediction": false,
79
+ "min_noising_strength": 0.0,
80
+ "max_noising_strength": 1.0,
81
+ "timestep_distribution": "LOGIT_NORMAL",
82
+ "noising_weight": 0.0,
83
+ "noising_bias": 0.0,
84
+ "timestep_shift": 1.0,
85
+ "dynamic_timestep_shifting": false,
86
+ "unet": {
87
+ "__version": 0,
88
+ "model_name": "",
89
+ "include": true,
90
+ "train": true,
91
+ "stop_training_after": 0,
92
+ "stop_training_after_unit": "NEVER",
93
+ "learning_rate": null,
94
+ "weight_dtype": "FLOAT_32",
95
+ "dropout_probability": 0.0,
96
+ "train_embedding": true,
97
+ "attention_mask": false,
98
+ "guidance_scale": 1.0
99
+ },
100
+ "prior": {
101
+ "__version": 0,
102
+ "model_name": "",
103
+ "include": true,
104
+ "train": true,
105
+ "stop_training_after": 0,
106
+ "stop_training_after_unit": "NEVER",
107
+ "learning_rate": null,
108
+ "weight_dtype": "FLOAT_32",
109
+ "dropout_probability": 0.0,
110
+ "train_embedding": true,
111
+ "attention_mask": false,
112
+ "guidance_scale": 1.0
113
+ },
114
+ "transformer": {
115
+ "__version": 0,
116
+ "model_name": "",
117
+ "include": true,
118
+ "train": true,
119
+ "stop_training_after": 0,
120
+ "stop_training_after_unit": "NEVER",
121
+ "learning_rate": null,
122
+ "weight_dtype": "INT_W8A8",
123
+ "dropout_probability": 0.0,
124
+ "train_embedding": true,
125
+ "attention_mask": false,
126
+ "guidance_scale": 1.0
127
+ },
128
+ "quantization": {
129
+ "__version": 0,
130
+ "layer_filter": "layers",
131
+ "layer_filter_preset": "blocks",
132
+ "layer_filter_regex": false,
133
+ "svd_dtype": "NONE",
134
+ "svd_rank": 16,
135
+ "cache_dir": "workspace-cache/run/quantization"
136
+ },
137
+ "text_encoder": {
138
+ "__version": 0,
139
+ "model_name": "",
140
+ "include": true,
141
+ "train": false,
142
+ "stop_training_after": 30,
143
+ "stop_training_after_unit": "EPOCH",
144
+ "learning_rate": null,
145
+ "weight_dtype": "FLOAT_8",
146
+ "dropout_probability": 0.0,
147
+ "train_embedding": true,
148
+ "attention_mask": false,
149
+ "guidance_scale": 1.0
150
+ },
151
+ "text_encoder_layer_skip": 0,
152
+ "text_encoder_sequence_length": 512,
153
+ "text_encoder_2": {
154
+ "__version": 0,
155
+ "model_name": "",
156
+ "include": true,
157
+ "train": true,
158
+ "stop_training_after": 30,
159
+ "stop_training_after_unit": "EPOCH",
160
+ "learning_rate": null,
161
+ "weight_dtype": "FLOAT_32",
162
+ "dropout_probability": 0.0,
163
+ "train_embedding": true,
164
+ "attention_mask": false,
165
+ "guidance_scale": 1.0
166
+ },
167
+ "text_encoder_2_layer_skip": 0,
168
+ "text_encoder_2_sequence_length": 77,
169
+ "text_encoder_3": {
170
+ "__version": 0,
171
+ "model_name": "",
172
+ "include": true,
173
+ "train": true,
174
+ "stop_training_after": 30,
175
+ "stop_training_after_unit": "EPOCH",
176
+ "learning_rate": null,
177
+ "weight_dtype": "FLOAT_32",
178
+ "dropout_probability": 0.0,
179
+ "train_embedding": true,
180
+ "attention_mask": false,
181
+ "guidance_scale": 1.0
182
+ },
183
+ "text_encoder_3_layer_skip": 0,
184
+ "text_encoder_4": {
185
+ "__version": 0,
186
+ "model_name": "",
187
+ "include": true,
188
+ "train": true,
189
+ "stop_training_after": 30,
190
+ "stop_training_after_unit": "EPOCH",
191
+ "learning_rate": null,
192
+ "weight_dtype": "FLOAT_32",
193
+ "dropout_probability": 0.0,
194
+ "train_embedding": true,
195
+ "attention_mask": false,
196
+ "guidance_scale": 1.0
197
+ },
198
+ "text_encoder_4_layer_skip": 0,
199
+ "vae": {
200
+ "__version": 0,
201
+ "model_name": "",
202
+ "include": true,
203
+ "train": true,
204
+ "stop_training_after": null,
205
+ "stop_training_after_unit": "NEVER",
206
+ "learning_rate": null,
207
+ "weight_dtype": "FLOAT_32",
208
+ "dropout_probability": 0.0,
209
+ "train_embedding": true,
210
+ "attention_mask": false,
211
+ "guidance_scale": 1.0
212
+ },
213
+ "effnet_encoder": {
214
+ "__version": 0,
215
+ "model_name": "",
216
+ "include": true,
217
+ "train": true,
218
+ "stop_training_after": null,
219
+ "stop_training_after_unit": "NEVER",
220
+ "learning_rate": null,
221
+ "weight_dtype": "FLOAT_32",
222
+ "dropout_probability": 0.0,
223
+ "train_embedding": true,
224
+ "attention_mask": false,
225
+ "guidance_scale": 1.0
226
+ },
227
+ "decoder": {
228
+ "__version": 0,
229
+ "model_name": "",
230
+ "include": true,
231
+ "train": true,
232
+ "stop_training_after": null,
233
+ "stop_training_after_unit": "NEVER",
234
+ "learning_rate": null,
235
+ "weight_dtype": "FLOAT_32",
236
+ "dropout_probability": 0.0,
237
+ "train_embedding": true,
238
+ "attention_mask": false,
239
+ "guidance_scale": 1.0
240
+ },
241
+ "decoder_text_encoder": {
242
+ "__version": 0,
243
+ "model_name": "",
244
+ "include": true,
245
+ "train": true,
246
+ "stop_training_after": null,
247
+ "stop_training_after_unit": "NEVER",
248
+ "learning_rate": null,
249
+ "weight_dtype": "FLOAT_32",
250
+ "dropout_probability": 0.0,
251
+ "train_embedding": true,
252
+ "attention_mask": false,
253
+ "guidance_scale": 1.0
254
+ },
255
+ "decoder_vqgan": {
256
+ "__version": 0,
257
+ "model_name": "",
258
+ "include": true,
259
+ "train": true,
260
+ "stop_training_after": null,
261
+ "stop_training_after_unit": "NEVER",
262
+ "learning_rate": null,
263
+ "weight_dtype": "FLOAT_32",
264
+ "dropout_probability": 0.0,
265
+ "train_embedding": true,
266
+ "attention_mask": false,
267
+ "guidance_scale": 1.0
268
+ },
269
+ "masked_training": false,
270
+ "unmasked_probability": 0.1,
271
+ "unmasked_weight": 0.1,
272
+ "normalize_masked_area_loss": false,
273
+ "masked_prior_preservation_weight": 0.0,
274
+ "custom_conditioning_image": false,
275
+ "layer_filter": "^(?=.*attention)(?!.*refiner).*,^(?=.*feed_forward)(?!.*refiner).*",
276
+ "layer_filter_preset": "attn-mlp",
277
+ "layer_filter_regex": true,
278
+ "embedding_learning_rate": null,
279
+ "preserve_embedding_norm": false,
280
+ "embedding": {
281
+ "__version": 0,
282
+ "uuid": "356e3db1-1959-447f-933e-f1e055b200b7",
283
+ "model_name": "",
284
+ "placeholder": "<embedding>",
285
+ "train": true,
286
+ "stop_training_after": null,
287
+ "stop_training_after_unit": "NEVER",
288
+ "token_count": 1,
289
+ "initial_embedding_text": "*",
290
+ "is_output_embedding": false
291
+ },
292
+ "additional_embeddings": [],
293
+ "embedding_weight_dtype": "FLOAT_32",
294
+ "cloud": {
295
+ "__version": 0,
296
+ "enabled": false,
297
+ "type": "RUNPOD",
298
+ "file_sync": "NATIVE_SCP",
299
+ "create": true,
300
+ "name": "OneTrainer",
301
+ "tensorboard_tunnel": true,
302
+ "sub_type": "",
303
+ "gpu_type": "",
304
+ "volume_size": 100,
305
+ "min_download": 0,
306
+ "remote_dir": "/workspace",
307
+ "huggingface_cache_dir": "/workspace/huggingface_cache",
308
+ "onetrainer_dir": "/workspace/OneTrainer",
309
+ "install_cmd": "git clone https://github.com/Nerogar/OneTrainer",
310
+ "install_onetrainer": true,
311
+ "update_onetrainer": true,
312
+ "detach_trainer": false,
313
+ "run_id": "job1",
314
+ "download_samples": true,
315
+ "download_output_model": true,
316
+ "download_saves": true,
317
+ "download_backups": false,
318
+ "download_tensorboard": false,
319
+ "delete_workspace": false,
320
+ "on_finish": "NONE",
321
+ "on_error": "NONE",
322
+ "on_detached_finish": "NONE",
323
+ "on_detached_error": "NONE"
324
+ },
325
+ "peft_type": "LORA",
326
+ "lora_model_name": "",
327
+ "lora_rank": 128,
328
+ "lora_alpha": 128.0,
329
+ "lora_decompose": false,
330
+ "lora_decompose_norm_epsilon": true,
331
+ "lora_decompose_output_axis": false,
332
+ "lora_weight_dtype": "FLOAT_32",
333
+ "bundle_additional_embeddings": true,
334
+ "oft_block_size": 32,
335
+ "oft_coft": false,
336
+ "coft_eps": 0.0001,
337
+ "oft_block_share": false,
338
+ "optimizer": {
339
+ "__version": 0,
340
+ "optimizer": "PRODIGY",
341
+ "adam_w_mode": false,
342
+ "alpha": null,
343
+ "amsgrad": false,
344
+ "beta1": 0.9,
345
+ "beta2": 0.999,
346
+ "beta3": null,
347
+ "bias_correction": false,
348
+ "block_wise": false,
349
+ "capturable": false,
350
+ "centered": false,
351
+ "clip_threshold": null,
352
+ "d0": 1e-06,
353
+ "d_coef": 1.0,
354
+ "dampening": null,
355
+ "decay_rate": null,
356
+ "decouple": true,
357
+ "differentiable": false,
358
+ "eps": 1e-08,
359
+ "eps2": null,
360
+ "foreach": false,
361
+ "fsdp_in_use": false,
362
+ "fused": false,
363
+ "fused_back_pass": false,
364
+ "growth_rate": "inf",
365
+ "initial_accumulator_value": null,
366
+ "initial_accumulator": null,
367
+ "is_paged": false,
368
+ "log_every": null,
369
+ "lr_decay": null,
370
+ "max_unorm": null,
371
+ "maximize": false,
372
+ "min_8bit_size": null,
373
+ "quant_block_size": null,
374
+ "momentum": null,
375
+ "nesterov": false,
376
+ "no_prox": false,
377
+ "optim_bits": null,
378
+ "percentile_clipping": null,
379
+ "r": null,
380
+ "relative_step": false,
381
+ "safeguard_warmup": false,
382
+ "scale_parameter": false,
383
+ "stochastic_rounding": true,
384
+ "use_bias_correction": false,
385
+ "use_triton": false,
386
+ "warmup_init": false,
387
+ "weight_decay": 0.0,
388
+ "weight_lr_power": null,
389
+ "decoupled_decay": false,
390
+ "fixed_decay": false,
391
+ "rectify": false,
392
+ "degenerated_to_sgd": false,
393
+ "k": null,
394
+ "xi": null,
395
+ "n_sma_threshold": null,
396
+ "ams_bound": false,
397
+ "adanorm": false,
398
+ "adam_debias": false,
399
+ "slice_p": 11,
400
+ "cautious": false,
401
+ "weight_decay_by_lr": true,
402
+ "prodigy_steps": null,
403
+ "use_speed": false,
404
+ "split_groups": true,
405
+ "split_groups_mean": true,
406
+ "factored": true,
407
+ "factored_fp32": true,
408
+ "use_stableadamw": true,
409
+ "use_cautious": false,
410
+ "use_grams": false,
411
+ "use_adopt": false,
412
+ "d_limiter": true,
413
+ "use_schedulefree": true,
414
+ "use_orthograd": false,
415
+ "nnmf_factor": false,
416
+ "orthogonal_gradient": false,
417
+ "use_atan2": false,
418
+ "use_AdEMAMix": false,
419
+ "beta3_ema": null,
420
+ "alpha_grad": null,
421
+ "beta1_warmup": null,
422
+ "min_beta1": null,
423
+ "Simplified_AdEMAMix": false,
424
+ "cautious_mask": false,
425
+ "grams_moment": false,
426
+ "kourkoutas_beta": false,
427
+ "k_warmup_steps": null,
428
+ "schedulefree_c": null,
429
+ "ns_steps": null,
430
+ "MuonWithAuxAdam": false,
431
+ "muon_hidden_layers": null,
432
+ "muon_adam_regex": false,
433
+ "muon_adam_lr": null,
434
+ "muon_te1_adam_lr": null,
435
+ "muon_te2_adam_lr": null,
436
+ "muon_adam_config": null,
437
+ "rms_rescaling": true,
438
+ "normuon_variant": false,
439
+ "beta2_normuon": null,
440
+ "normuon_eps": null,
441
+ "low_rank_ortho": false,
442
+ "ortho_rank": null,
443
+ "accelerated_ns": false,
444
+ "cautious_wd": false,
445
+ "approx_mars": false,
446
+ "kappa_p": null,
447
+ "auto_kappa_p": false,
448
+ "compile": false
449
+ },
450
+ "optimizer_defaults": {},
451
+ "sample_definition_file_name": "training_samples/samples.json",
452
+ "samples": null,
453
+ "sample_after": 10,
454
+ "sample_after_unit": "NEVER",
455
+ "sample_skip_first": 0,
456
+ "sample_image_format": "JPG",
457
+ "sample_video_format": "MP4",
458
+ "sample_audio_format": "MP3",
459
+ "samples_to_tensorboard": true,
460
+ "non_ema_sampling": true,
461
+ "backup_after": 30,
462
+ "backup_after_unit": "MINUTE",
463
+ "rolling_backup": false,
464
+ "rolling_backup_count": 3,
465
+ "backup_before_save": true,
466
+ "save_every": 0,
467
+ "save_every_unit": "NEVER",
468
+ "save_skip_first": 0,
469
+ "save_filename_prefix": ""
470
+ }
zimage-turbo-vs-base-training/base/zimage_feliciaday_onetrainer_prodigy.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a12ec9c9037b7e038232ecb11709b50a0e0e97ed8d37af1113e4162842e700b1
3
+ size 1120746056
zimage-turbo-vs-base-training/dataset/12229069893_ececb2ed1a_o.png ADDED

Git LFS Details

  • SHA256: c88538f45ea3ea0864d487810084d4d0bd658343cabbdc852dd22a5d13b0d633
  • Pointer size: 131 Bytes
  • Size of remote file: 532 kB
zimage-turbo-vs-base-training/dataset/1247331cc2fbe619a041c6f5faee1e10.png ADDED

Git LFS Details

  • SHA256: dac8a0f8c81b855569335fe2224cb9aac5c2d8cb1d4ad1cc12eb643fd97812b0
  • Pointer size: 131 Bytes
  • Size of remote file: 582 kB
zimage-turbo-vs-base-training/dataset/135478372.png ADDED

Git LFS Details

  • SHA256: acab247b9f133e43c4fcfc5734432d55de1bd80dfb7ca5551ef1ccf9b3c8a98b
  • Pointer size: 131 Bytes
  • Size of remote file: 642 kB
zimage-turbo-vs-base-training/dataset/173226-felicia-day-1920x1080.png ADDED

Git LFS Details

  • SHA256: e2bd5e90e74f8c717a57c276992c55a74a4a2a3d5b781820c0d2474b1e42af00
  • Pointer size: 131 Bytes
  • Size of remote file: 605 kB
zimage-turbo-vs-base-training/dataset/196916.png ADDED

Git LFS Details

  • SHA256: 76773e802a096a1f72fafb9d464de02fde56096d1deba5bb7a0e6eb047926b7f
  • Pointer size: 131 Bytes
  • Size of remote file: 497 kB
zimage-turbo-vs-base-training/dataset/24e17a6b841a420b8098eedd5f9115ed.png ADDED

Git LFS Details

  • SHA256: 07c33e0bd4b10d9ffe7db9dd6745907c45bb13f060641bae7df2d54ff7fcb75f
  • Pointer size: 131 Bytes
  • Size of remote file: 588 kB
zimage-turbo-vs-base-training/dataset/598121.png ADDED

Git LFS Details

  • SHA256: 31d03baac2a2cbd6d550d538eeb17a284e41d8167f241fae3528524bb5cd152a
  • Pointer size: 131 Bytes
  • Size of remote file: 656 kB
zimage-turbo-vs-base-training/dataset/598125.png ADDED

Git LFS Details

  • SHA256: 67e16359f27297fe87114eb0a7931e8f85f4fbc68055338c15c337f74e15fc42
  • Pointer size: 131 Bytes
  • Size of remote file: 642 kB
zimage-turbo-vs-base-training/dataset/6AGIXPZ.png ADDED

Git LFS Details

  • SHA256: 898d71465a4e81b7ba00175725265a348607380d615a3683400d2b468e3ad909
  • Pointer size: 131 Bytes
  • Size of remote file: 514 kB
zimage-turbo-vs-base-training/dataset/8FrXa.png ADDED

Git LFS Details

  • SHA256: 2238aab1ce57c9d0853b7b453fc3b8534c65844dbf7f1f3d0f62e2b5b99d5a6e
  • Pointer size: 131 Bytes
  • Size of remote file: 618 kB
zimage-turbo-vs-base-training/dataset/Felicia-Day-Images.png ADDED

Git LFS Details

  • SHA256: 68535ca8dee133b86501ee3bbf2b35a5f5acae4645306362de6c99420de26543
  • Pointer size: 131 Bytes
  • Size of remote file: 596 kB
zimage-turbo-vs-base-training/dataset/Felicia-Day-Wallpapers-HQ.png ADDED

Git LFS Details

  • SHA256: 41ff2a655d340ddb9bea7d082009d6025b6a221f0bd1eaaa5e441745a12eee8d
  • Pointer size: 131 Bytes
  • Size of remote file: 641 kB
zimage-turbo-vs-base-training/dataset/I6ksvMt.png ADDED

Git LFS Details

  • SHA256: 1273f3c0fc6ac86479926671dbb8192a56ae9d929705eb7b1c548f435086a3bf
  • Pointer size: 131 Bytes
  • Size of remote file: 643 kB
zimage-turbo-vs-base-training/dataset/Jyg09e.png ADDED

Git LFS Details

  • SHA256: 1e526dbcee1ab18691fa744b186d6b9c12b09b92566042550432f542ec220bbe
  • Pointer size: 131 Bytes
  • Size of remote file: 653 kB
zimage-turbo-vs-base-training/dataset/MV5BMTQ3MTI3MTMyOV5BMl5BanBnXkFtZTcwMDY4NDA5OQ@@._V1_.png ADDED

Git LFS Details

  • SHA256: 0495b9a74807b0fbf8f1f328196ed415e70d4672a90e14ccaee34abec114d44d
  • Pointer size: 131 Bytes
  • Size of remote file: 667 kB
zimage-turbo-vs-base-training/dataset/MV5BMTU3NjU0NzU3NV5BMl5BanBnXkFtZTcwNDE4NzIzOQ@@._V1_.png ADDED

Git LFS Details

  • SHA256: 6e749fbe8fd66f2b5dc957419fea9b7126df2fcb3dd00cd9ca1f558054ed5bd5
  • Pointer size: 131 Bytes
  • Size of remote file: 607 kB
zimage-turbo-vs-base-training/dataset/MV5BMTg1NjIwMDg4NF5BMl5BanBnXkFtZTcwODkzOTExOA@@._V1_.png ADDED

Git LFS Details

  • SHA256: 464060c1670bfbd5e61067ae73dbe36dca1fb947c8ec467c878aac57a9319e81
  • Pointer size: 131 Bytes
  • Size of remote file: 685 kB
zimage-turbo-vs-base-training/dataset/a9875f6a30706446576cf924cd890752_0001.png ADDED

Git LFS Details

  • SHA256: 1029528db4e7e12523b817bc2449d3624b2c283a9a9fe39a511fa8f6cbb139b6
  • Pointer size: 131 Bytes
  • Size of remote file: 580 kB
zimage-turbo-vs-base-training/dataset/e41046884570aa83609fa29d2cf3311b.png ADDED

Git LFS Details

  • SHA256: 1862d9adc39fc07c07b9a561cdb869d7431adf6c9092a9ef6323d18fa8a0919a
  • Pointer size: 131 Bytes
  • Size of remote file: 478 kB
zimage-turbo-vs-base-training/dataset/fA31Hmk.png ADDED

Git LFS Details

  • SHA256: 6731472815fc8f997346cebb5c13fa03cf502da81b0b534b57c6eeea5e7ad4f0
  • Pointer size: 131 Bytes
  • Size of remote file: 720 kB
zimage-turbo-vs-base-training/dataset/hiFzl39.png ADDED

Git LFS Details

  • SHA256: f6ee96d325d7fae26dc16e71dd3b540a74eee75638a778ed9ce642548b818eaa
  • Pointer size: 131 Bytes
  • Size of remote file: 519 kB
zimage-turbo-vs-base-training/dataset/qO6hzBr.png ADDED

Git LFS Details

  • SHA256: e81827859b32076582d3f1e8aea9f835a7816cdabee96aebf969c4f6ab9abef8
  • Pointer size: 131 Bytes
  • Size of remote file: 653 kB
zimage-turbo-vs-base-training/dataset/zeoJiRC.png ADDED

Git LFS Details

  • SHA256: 24a75a21431e434c675257b4838d721640bfdc252308c636a1b623ddbee51781
  • Pointer size: 131 Bytes
  • Size of remote file: 515 kB
zimage-turbo-vs-base-training/readme.md ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Z Image (Base) vs Z Image Turbo — Felicia Day LoRA Models
2
+
3
+ ## Dataset
4
+ - Dataset: [dataset/](dataset/)
5
+
6
+ ## Model Trainers
7
+ - **OneTrainer**: https://github.com/Nerogar/OneTrainer
8
+ - **MalTrainer**: not released [yet] (by @malcolmrey)
9
+ - **AI Toolkit**: https://github.com/ostris/ai-toolkit/
10
+
11
+ ---
12
+
13
+ ## Base (Z Image)
14
+
15
+ ### OneTrainer
16
+ - [base/zimage_feliciaday_onetrainer_adamw.json](base/zimage_feliciaday_onetrainer_adamw.json)
17
+ - [base/zimage_feliciaday_onetrainer_adamw.safetensors](base/zimage_feliciaday_onetrainer_adamw.safetensors)
18
+ - [base/zimage_feliciaday_onetrainer_prodigy.json](base/zimage_feliciaday_onetrainer_prodigy.json)
19
+ - [base/zimage_feliciaday_onetrainer_prodigy.safetensors](base/zimage_feliciaday_onetrainer_prodigy.safetensors)
20
+
21
+ ### maltrainer
22
+ - [base/zimage_feliciaday_maltrainer.safetensors](base/zimage_feliciaday_maltrainer.safetensors)
23
+ - [base/zimage_feliciaday_maltrainer.yaml](base/zimage_feliciaday_maltrainer.yaml)
24
+
25
+ ### AI Toolkit
26
+ - [base/zbase_feliciaday_v1.safetensors](base/zbase_feliciaday_v1.safetensors)
27
+ - [base/zbase_feliciaday_v1.yaml](base/zbase_feliciaday_v1.yaml)
28
+
29
+ ---
30
+
31
+ ## Turbo (Z Image Turbo)
32
+
33
+ ### OneTrainer
34
+ - [turbo/zimage_feliciaday_onetrainer_adamw_turbo.json](turbo/zimage_feliciaday_onetrainer_adamw_turbo.json)
35
+ - [turbo/zimage_feliciaday_onetrainer_adamw_turbo.safetensors](turbo/zimage_feliciaday_onetrainer_adamw_turbo.safetensors)
36
+
37
+ ### AI Toolkit
38
+ - [turbo/zimage_feliciaday_v1.safetensors](turbo/zimage_feliciaday_v1.safetensors)
39
+ - [turbo/zimage_feliciaday_v1.yaml](turbo/zimage_feliciaday_v1.yaml)
40
+ - [turbo/zonetrainer_feliciaday_v1.safetensors](turbo/zonetrainer_feliciaday_v1.safetensors)
41
+ - [turbo/zonetrainer_feliciaday_v1.yaml](turbo/zonetrainer_feliciaday_v1.yaml)
zimage-turbo-vs-base-training/turbo/zimage_feliciaday_onetrainer_adamw_turbo.json ADDED
@@ -0,0 +1,470 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version": 10,
3
+ "training_method": "LORA",
4
+ "model_type": "Z_IMAGE",
5
+ "debug_mode": false,
6
+ "debug_dir": "debug",
7
+ "workspace_dir": "workspace/run",
8
+ "cache_dir": "workspace-cache/run",
9
+ "tensorboard": true,
10
+ "tensorboard_expose": false,
11
+ "tensorboard_always_on": false,
12
+ "tensorboard_port": 6006,
13
+ "validation": false,
14
+ "validate_after": 1,
15
+ "validate_after_unit": "EPOCH",
16
+ "continue_last_backup": false,
17
+ "include_train_config": "NONE",
18
+ "multi_gpu": false,
19
+ "device_indexes": "",
20
+ "gradient_reduce_precision": "FLOAT_32_STOCHASTIC",
21
+ "fused_gradient_reduce": true,
22
+ "async_gradient_reduce": true,
23
+ "async_gradient_reduce_buffer": 100,
24
+ "base_model_name": "Tongyi-MAI/Z-Image-Turbo",
25
+ "output_dtype": "BFLOAT_16",
26
+ "output_model_format": "SAFETENSORS",
27
+ "output_model_destination": "models/model.safetensors",
28
+ "gradient_checkpointing": "ON",
29
+ "enable_async_offloading": true,
30
+ "enable_activation_offloading": true,
31
+ "layer_offload_fraction": 0.0,
32
+ "force_circular_padding": false,
33
+ "compile": true,
34
+ "concept_file_name": "training_concepts/concepts.json",
35
+ "concepts": null,
36
+ "aspect_ratio_bucketing": true,
37
+ "latent_caching": true,
38
+ "clear_cache_before_training": true,
39
+ "learning_rate_scheduler": "CONSTANT",
40
+ "custom_learning_rate_scheduler": null,
41
+ "scheduler_params": [],
42
+ "learning_rate": 0.0003,
43
+ "learning_rate_warmup_steps": 200.0,
44
+ "learning_rate_cycles": 1.0,
45
+ "learning_rate_min_factor": 0.0,
46
+ "epochs": 100,
47
+ "batch_size": 2,
48
+ "gradient_accumulation_steps": 1,
49
+ "ema": "OFF",
50
+ "ema_decay": 0.999,
51
+ "ema_update_step_interval": 5,
52
+ "dataloader_threads": 1,
53
+ "train_device": "cuda",
54
+ "temp_device": "cpu",
55
+ "train_dtype": "BFLOAT_16",
56
+ "fallback_train_dtype": "BFLOAT_16",
57
+ "enable_autocast_cache": true,
58
+ "only_cache": false,
59
+ "resolution": "512",
60
+ "frames": "25",
61
+ "mse_strength": 1.0,
62
+ "mae_strength": 0.0,
63
+ "log_cosh_strength": 0.0,
64
+ "huber_strength": 0.0,
65
+ "huber_delta": 1.0,
66
+ "vb_loss_strength": 1.0,
67
+ "loss_weight_fn": "CONSTANT",
68
+ "loss_weight_strength": 5.0,
69
+ "dropout_probability": 0.0,
70
+ "loss_scaler": "NONE",
71
+ "learning_rate_scaler": "NONE",
72
+ "clip_grad_norm": 1.0,
73
+ "offset_noise_weight": 0.0,
74
+ "generalized_offset_noise": false,
75
+ "perturbation_noise_weight": 0.0,
76
+ "rescale_noise_scheduler_to_zero_terminal_snr": false,
77
+ "force_v_prediction": false,
78
+ "force_epsilon_prediction": false,
79
+ "min_noising_strength": 0.0,
80
+ "max_noising_strength": 1.0,
81
+ "timestep_distribution": "LOGIT_NORMAL",
82
+ "noising_weight": 0.0,
83
+ "noising_bias": 0.0,
84
+ "timestep_shift": 1.0,
85
+ "dynamic_timestep_shifting": false,
86
+ "unet": {
87
+ "__version": 0,
88
+ "model_name": "",
89
+ "include": true,
90
+ "train": true,
91
+ "stop_training_after": 0,
92
+ "stop_training_after_unit": "NEVER",
93
+ "learning_rate": null,
94
+ "weight_dtype": "FLOAT_32",
95
+ "dropout_probability": 0.0,
96
+ "train_embedding": true,
97
+ "attention_mask": false,
98
+ "guidance_scale": 1.0
99
+ },
100
+ "prior": {
101
+ "__version": 0,
102
+ "model_name": "",
103
+ "include": true,
104
+ "train": true,
105
+ "stop_training_after": 0,
106
+ "stop_training_after_unit": "NEVER",
107
+ "learning_rate": null,
108
+ "weight_dtype": "FLOAT_32",
109
+ "dropout_probability": 0.0,
110
+ "train_embedding": true,
111
+ "attention_mask": false,
112
+ "guidance_scale": 1.0
113
+ },
114
+ "transformer": {
115
+ "__version": 0,
116
+ "model_name": "https://huggingface.co/ostris/Z-Image-De-Turbo/blob/main/z_image_de_turbo_v1_bf16.safetensors",
117
+ "include": true,
118
+ "train": true,
119
+ "stop_training_after": 0,
120
+ "stop_training_after_unit": "NEVER",
121
+ "learning_rate": null,
122
+ "weight_dtype": "INT_W8A8",
123
+ "dropout_probability": 0.0,
124
+ "train_embedding": true,
125
+ "attention_mask": false,
126
+ "guidance_scale": 1.0
127
+ },
128
+ "quantization": {
129
+ "__version": 0,
130
+ "layer_filter": "layers",
131
+ "layer_filter_preset": "blocks",
132
+ "layer_filter_regex": false,
133
+ "svd_dtype": "NONE",
134
+ "svd_rank": 16,
135
+ "cache_dir": "workspace-cache/run/quantization"
136
+ },
137
+ "text_encoder": {
138
+ "__version": 0,
139
+ "model_name": "",
140
+ "include": true,
141
+ "train": false,
142
+ "stop_training_after": 30,
143
+ "stop_training_after_unit": "EPOCH",
144
+ "learning_rate": null,
145
+ "weight_dtype": "FLOAT_8",
146
+ "dropout_probability": 0.0,
147
+ "train_embedding": true,
148
+ "attention_mask": false,
149
+ "guidance_scale": 1.0
150
+ },
151
+ "text_encoder_layer_skip": 0,
152
+ "text_encoder_sequence_length": 512,
153
+ "text_encoder_2": {
154
+ "__version": 0,
155
+ "model_name": "",
156
+ "include": true,
157
+ "train": true,
158
+ "stop_training_after": 30,
159
+ "stop_training_after_unit": "EPOCH",
160
+ "learning_rate": null,
161
+ "weight_dtype": "FLOAT_32",
162
+ "dropout_probability": 0.0,
163
+ "train_embedding": true,
164
+ "attention_mask": false,
165
+ "guidance_scale": 1.0
166
+ },
167
+ "text_encoder_2_layer_skip": 0,
168
+ "text_encoder_2_sequence_length": 77,
169
+ "text_encoder_3": {
170
+ "__version": 0,
171
+ "model_name": "",
172
+ "include": true,
173
+ "train": true,
174
+ "stop_training_after": 30,
175
+ "stop_training_after_unit": "EPOCH",
176
+ "learning_rate": null,
177
+ "weight_dtype": "FLOAT_32",
178
+ "dropout_probability": 0.0,
179
+ "train_embedding": true,
180
+ "attention_mask": false,
181
+ "guidance_scale": 1.0
182
+ },
183
+ "text_encoder_3_layer_skip": 0,
184
+ "text_encoder_4": {
185
+ "__version": 0,
186
+ "model_name": "",
187
+ "include": true,
188
+ "train": true,
189
+ "stop_training_after": 30,
190
+ "stop_training_after_unit": "EPOCH",
191
+ "learning_rate": null,
192
+ "weight_dtype": "FLOAT_32",
193
+ "dropout_probability": 0.0,
194
+ "train_embedding": true,
195
+ "attention_mask": false,
196
+ "guidance_scale": 1.0
197
+ },
198
+ "text_encoder_4_layer_skip": 0,
199
+ "vae": {
200
+ "__version": 0,
201
+ "model_name": "",
202
+ "include": true,
203
+ "train": true,
204
+ "stop_training_after": null,
205
+ "stop_training_after_unit": "NEVER",
206
+ "learning_rate": null,
207
+ "weight_dtype": "FLOAT_32",
208
+ "dropout_probability": 0.0,
209
+ "train_embedding": true,
210
+ "attention_mask": false,
211
+ "guidance_scale": 1.0
212
+ },
213
+ "effnet_encoder": {
214
+ "__version": 0,
215
+ "model_name": "",
216
+ "include": true,
217
+ "train": true,
218
+ "stop_training_after": null,
219
+ "stop_training_after_unit": "NEVER",
220
+ "learning_rate": null,
221
+ "weight_dtype": "FLOAT_32",
222
+ "dropout_probability": 0.0,
223
+ "train_embedding": true,
224
+ "attention_mask": false,
225
+ "guidance_scale": 1.0
226
+ },
227
+ "decoder": {
228
+ "__version": 0,
229
+ "model_name": "",
230
+ "include": true,
231
+ "train": true,
232
+ "stop_training_after": null,
233
+ "stop_training_after_unit": "NEVER",
234
+ "learning_rate": null,
235
+ "weight_dtype": "FLOAT_32",
236
+ "dropout_probability": 0.0,
237
+ "train_embedding": true,
238
+ "attention_mask": false,
239
+ "guidance_scale": 1.0
240
+ },
241
+ "decoder_text_encoder": {
242
+ "__version": 0,
243
+ "model_name": "",
244
+ "include": true,
245
+ "train": true,
246
+ "stop_training_after": null,
247
+ "stop_training_after_unit": "NEVER",
248
+ "learning_rate": null,
249
+ "weight_dtype": "FLOAT_32",
250
+ "dropout_probability": 0.0,
251
+ "train_embedding": true,
252
+ "attention_mask": false,
253
+ "guidance_scale": 1.0
254
+ },
255
+ "decoder_vqgan": {
256
+ "__version": 0,
257
+ "model_name": "",
258
+ "include": true,
259
+ "train": true,
260
+ "stop_training_after": null,
261
+ "stop_training_after_unit": "NEVER",
262
+ "learning_rate": null,
263
+ "weight_dtype": "FLOAT_32",
264
+ "dropout_probability": 0.0,
265
+ "train_embedding": true,
266
+ "attention_mask": false,
267
+ "guidance_scale": 1.0
268
+ },
269
+ "masked_training": false,
270
+ "unmasked_probability": 0.1,
271
+ "unmasked_weight": 0.1,
272
+ "normalize_masked_area_loss": false,
273
+ "masked_prior_preservation_weight": 0.0,
274
+ "custom_conditioning_image": false,
275
+ "layer_filter": "^(?=.*attention)(?!.*refiner).*,^(?=.*feed_forward)(?!.*refiner).*",
276
+ "layer_filter_preset": "attn-mlp",
277
+ "layer_filter_regex": true,
278
+ "embedding_learning_rate": null,
279
+ "preserve_embedding_norm": false,
280
+ "embedding": {
281
+ "__version": 0,
282
+ "uuid": "356e3db1-1959-447f-933e-f1e055b200b7",
283
+ "model_name": "",
284
+ "placeholder": "<embedding>",
285
+ "train": true,
286
+ "stop_training_after": null,
287
+ "stop_training_after_unit": "NEVER",
288
+ "token_count": 1,
289
+ "initial_embedding_text": "*",
290
+ "is_output_embedding": false
291
+ },
292
+ "additional_embeddings": [],
293
+ "embedding_weight_dtype": "FLOAT_32",
294
+ "cloud": {
295
+ "__version": 0,
296
+ "enabled": false,
297
+ "type": "RUNPOD",
298
+ "file_sync": "NATIVE_SCP",
299
+ "create": true,
300
+ "name": "OneTrainer",
301
+ "tensorboard_tunnel": true,
302
+ "sub_type": "",
303
+ "gpu_type": "",
304
+ "volume_size": 100,
305
+ "min_download": 0,
306
+ "remote_dir": "/workspace",
307
+ "huggingface_cache_dir": "/workspace/huggingface_cache",
308
+ "onetrainer_dir": "/workspace/OneTrainer",
309
+ "install_cmd": "git clone https://github.com/Nerogar/OneTrainer",
310
+ "install_onetrainer": true,
311
+ "update_onetrainer": true,
312
+ "detach_trainer": false,
313
+ "run_id": "job1",
314
+ "download_samples": true,
315
+ "download_output_model": true,
316
+ "download_saves": true,
317
+ "download_backups": false,
318
+ "download_tensorboard": false,
319
+ "delete_workspace": false,
320
+ "on_finish": "NONE",
321
+ "on_error": "NONE",
322
+ "on_detached_finish": "NONE",
323
+ "on_detached_error": "NONE"
324
+ },
325
+ "peft_type": "LORA",
326
+ "lora_model_name": "",
327
+ "lora_rank": 16,
328
+ "lora_alpha": 1.0,
329
+ "lora_decompose": false,
330
+ "lora_decompose_norm_epsilon": true,
331
+ "lora_decompose_output_axis": false,
332
+ "lora_weight_dtype": "FLOAT_32",
333
+ "bundle_additional_embeddings": true,
334
+ "oft_block_size": 32,
335
+ "oft_coft": false,
336
+ "coft_eps": 0.0001,
337
+ "oft_block_share": false,
338
+ "optimizer": {
339
+ "__version": 0,
340
+ "optimizer": "ADAMW",
341
+ "adam_w_mode": false,
342
+ "alpha": null,
343
+ "amsgrad": false,
344
+ "beta1": 0.9,
345
+ "beta2": 0.999,
346
+ "beta3": null,
347
+ "bias_correction": false,
348
+ "block_wise": false,
349
+ "capturable": false,
350
+ "centered": false,
351
+ "clip_threshold": null,
352
+ "d0": null,
353
+ "d_coef": null,
354
+ "dampening": null,
355
+ "decay_rate": null,
356
+ "decouple": false,
357
+ "differentiable": false,
358
+ "eps": 1e-08,
359
+ "eps2": null,
360
+ "foreach": false,
361
+ "fsdp_in_use": false,
362
+ "fused": true,
363
+ "fused_back_pass": false,
364
+ "growth_rate": null,
365
+ "initial_accumulator_value": null,
366
+ "initial_accumulator": null,
367
+ "is_paged": false,
368
+ "log_every": null,
369
+ "lr_decay": null,
370
+ "max_unorm": null,
371
+ "maximize": false,
372
+ "min_8bit_size": null,
373
+ "quant_block_size": null,
374
+ "momentum": null,
375
+ "nesterov": false,
376
+ "no_prox": false,
377
+ "optim_bits": null,
378
+ "percentile_clipping": null,
379
+ "r": null,
380
+ "relative_step": false,
381
+ "safeguard_warmup": false,
382
+ "scale_parameter": false,
383
+ "stochastic_rounding": false,
384
+ "use_bias_correction": false,
385
+ "use_triton": false,
386
+ "warmup_init": false,
387
+ "weight_decay": 0.01,
388
+ "weight_lr_power": null,
389
+ "decoupled_decay": false,
390
+ "fixed_decay": false,
391
+ "rectify": false,
392
+ "degenerated_to_sgd": false,
393
+ "k": null,
394
+ "xi": null,
395
+ "n_sma_threshold": null,
396
+ "ams_bound": false,
397
+ "adanorm": false,
398
+ "adam_debias": false,
399
+ "slice_p": null,
400
+ "cautious": false,
401
+ "weight_decay_by_lr": true,
402
+ "prodigy_steps": null,
403
+ "use_speed": false,
404
+ "split_groups": true,
405
+ "split_groups_mean": true,
406
+ "factored": true,
407
+ "factored_fp32": true,
408
+ "use_stableadamw": true,
409
+ "use_cautious": false,
410
+ "use_grams": false,
411
+ "use_adopt": false,
412
+ "d_limiter": true,
413
+ "use_schedulefree": true,
414
+ "use_orthograd": false,
415
+ "nnmf_factor": false,
416
+ "orthogonal_gradient": false,
417
+ "use_atan2": false,
418
+ "use_AdEMAMix": false,
419
+ "beta3_ema": null,
420
+ "alpha_grad": null,
421
+ "beta1_warmup": null,
422
+ "min_beta1": null,
423
+ "Simplified_AdEMAMix": false,
424
+ "cautious_mask": false,
425
+ "grams_moment": false,
426
+ "kourkoutas_beta": false,
427
+ "k_warmup_steps": null,
428
+ "schedulefree_c": null,
429
+ "ns_steps": null,
430
+ "MuonWithAuxAdam": false,
431
+ "muon_hidden_layers": null,
432
+ "muon_adam_regex": false,
433
+ "muon_adam_lr": null,
434
+ "muon_te1_adam_lr": null,
435
+ "muon_te2_adam_lr": null,
436
+ "muon_adam_config": null,
437
+ "rms_rescaling": true,
438
+ "normuon_variant": false,
439
+ "beta2_normuon": null,
440
+ "normuon_eps": null,
441
+ "low_rank_ortho": false,
442
+ "ortho_rank": null,
443
+ "accelerated_ns": false,
444
+ "cautious_wd": false,
445
+ "approx_mars": false,
446
+ "kappa_p": null,
447
+ "auto_kappa_p": false,
448
+ "compile": false
449
+ },
450
+ "optimizer_defaults": {},
451
+ "sample_definition_file_name": "training_samples/samples.json",
452
+ "samples": null,
453
+ "sample_after": 10,
454
+ "sample_after_unit": "NEVER",
455
+ "sample_skip_first": 0,
456
+ "sample_image_format": "JPG",
457
+ "sample_video_format": "MP4",
458
+ "sample_audio_format": "MP3",
459
+ "samples_to_tensorboard": true,
460
+ "non_ema_sampling": true,
461
+ "backup_after": 30,
462
+ "backup_after_unit": "MINUTE",
463
+ "rolling_backup": false,
464
+ "rolling_backup_count": 3,
465
+ "backup_before_save": true,
466
+ "save_every": 0,
467
+ "save_every_unit": "NEVER",
468
+ "save_skip_first": 0,
469
+ "save_filename_prefix": ""
470
+ }
zimage-turbo-vs-base-training/turbo/zimage_feliciaday_onetrainer_adamw_turbo.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a05cf6957b23d3ba4fbacba37be4d9aba456a3ef111710ef3514fa132c7ba522
3
+ size 140162224
zimage-turbo-vs-base-training/turbo/zimage_feliciaday_v1.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f560d7cb2b454992009ab2b307f55db99a7c3410f0eee62a316e66db0a23a7c
3
+ size 170128296
zimage-turbo-vs-base-training/turbo/zimage_feliciaday_v1.yaml ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: zimage_feliciaday_v1
4
+ process:
5
+ - type: diffusion_trainer
6
+ training_folder: c:\Development\ai-toolkit\output
7
+ sqlite_db_path: c:\Development\ai-toolkit\aitk_db.db
8
+ device: cuda
9
+ trigger_word: sks woman
10
+ performance_log_every: 10
11
+ network:
12
+ type: lora
13
+ linear: 32
14
+ linear_alpha: 32
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: 500
24
+ max_step_saves_to_keep: 8
25
+ save_format: diffusers
26
+ push_to_hub: false
27
+ datasets:
28
+ - folder_path: c:\Development\ai-toolkit\datasets/feliciaday
29
+ mask_path: null
30
+ mask_min_value: 0.1
31
+ default_caption: photo of a woman
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
+ - 512
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: 1
47
+ bypass_guidance_embedding: false
48
+ steps: 2500
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: true
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
+ do_differential_guidance: true
75
+ differential_guidance_scale: 3
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: true
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: 512
93
+ height: 512
94
+ samples:
95
+ - prompt: woman with red hair, playing chess at the park, bomb going off in
96
+ the background
97
+ - prompt: a woman holding a coffee cup, in a beanie, sitting at a cafe
98
+ - prompt: a woman showing off her cool new t shirt at the beach, a shark is
99
+ jumping out of the water in the background
100
+ - prompt: woman playing the guitar, on stage, singing a song, laser lights,
101
+ punk rocker
102
+ - prompt: photo of a woman, white background, medium shot, modeling clothing,
103
+ studio lighting, white backdrop
104
+ neg: ''
105
+ seed: 42
106
+ walk_seed: true
107
+ guidance_scale: 1
108
+ sample_steps: 8
109
+ num_frames: 1
110
+ fps: 1
111
+ meta:
112
+ name: zimage_feliciaday_v1
113
+ version: '1.0'
zimage-turbo-vs-base-training/turbo/zonetrainer_feliciaday_v1.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b12c5fee8e22dd6ffe6d0a70a3906cc1e7a4227940db1b7d05c244c9ce1fdc34
3
+ size 85094888
zimage-turbo-vs-base-training/turbo/zonetrainer_feliciaday_v1.yaml ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: zonetrainer_feliciaday_v1
4
+ process:
5
+ - type: diffusion_trainer
6
+ training_folder: c:\Development\ai-toolkit\output
7
+ sqlite_db_path: c:\Development\ai-toolkit\aitk_db.db
8
+ device: cuda
9
+ trigger_word: sks woman
10
+ performance_log_every: 10
11
+ network:
12
+ type: lora
13
+ linear: 16
14
+ linear_alpha: 1
15
+ conv: 16
16
+ conv_alpha: 1
17
+ lokr_full_rank: true
18
+ lokr_factor: -1
19
+ network_kwargs:
20
+ ignore_if_contains: []
21
+ save:
22
+ dtype: bf16
23
+ save_every: 2500
24
+ max_step_saves_to_keep: 8
25
+ save_format: safetensors
26
+ push_to_hub: false
27
+ datasets:
28
+ - folder_path: c:\Development\ai-toolkit\datasets/feliciaday
29
+ mask_path: null
30
+ mask_min_value: 0.1
31
+ default_caption: photo of a woman
32
+ caption_ext: txt
33
+ caption_dropout_rate: 0
34
+ cache_latents_to_disk: true
35
+ is_reg: false
36
+ network_weight: 1
37
+ resolution:
38
+ - 512
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: 1
47
+ bypass_guidance_embedding: false
48
+ steps: 2500
49
+ gradient_accumulation: 1
50
+ train_unet: true
51
+ train_text_encoder: false
52
+ gradient_checkpointing: true
53
+ noise_scheduler: flowmatch
54
+ optimizer: adamw
55
+ timestep_type: weighted
56
+ content_or_style: balanced
57
+ optimizer_params:
58
+ weight_decay: 0.01
59
+ unload_text_encoder: true
60
+ cache_text_embeddings: false
61
+ lr: 0.0003
62
+ ema_config:
63
+ use_ema: false
64
+ ema_decay: 0.999
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
+ do_differential_guidance: true
75
+ differential_guidance_scale: 1
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: true
84
+ model_kwargs: {}
85
+ layer_offloading: true
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: 2500
92
+ width: 512
93
+ height: 512
94
+ samples:
95
+ - prompt: woman with red hair, playing chess at the park, bomb going off in
96
+ the background
97
+ - prompt: a woman holding a coffee cup, in a beanie, sitting at a cafe
98
+ - prompt: a woman showing off her cool new t shirt at the beach, a shark is
99
+ jumping out of the water in the background
100
+ - prompt: woman playing the guitar, on stage, singing a song, laser lights,
101
+ punk rocker
102
+ - prompt: photo of a woman, white background, medium shot, modeling clothing,
103
+ studio lighting, white backdrop
104
+ neg: ''
105
+ seed: 42
106
+ walk_seed: true
107
+ guidance_scale: 1
108
+ sample_steps: 8
109
+ num_frames: 1
110
+ fps: 1
111
+ logging:
112
+ log_every: 1
113
+ use_ui_logger: true
114
+ meta:
115
+ name: zonetrainer_feliciaday_v1
116
+ version: '1.0'