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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "FLOAT_8",
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": "496f9260-d6c0-45ec-8248-94d8b340e2f4",
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": "MINUTE",
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
+ }