capitan01r

heavy training AiToolKit config

Jan 1st, 2026 (edited)
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. ---
  2. job: "extension"
  3. config:
  4. name: "z-image"
  5. process:
  6. - type: "diffusion_trainer"
  7. training_folder: "/app/ai-toolkit/output"
  8. sqlite_db_path: "./aitk_db.db"
  9. device: "cuda"
  10. trigger_word: null
  11. performance_log_every: 10
  12. network:
  13. type: "lora"
  14. linear: 16
  15. linear_alpha: 16
  16. conv: 16
  17. conv_alpha: 16
  18. lokr_full_rank: true
  19. lokr_factor: -1
  20. network_kwargs:
  21. ignore_if_contains: []
  22. save:
  23. dtype: "fp32"
  24. save_every: 250
  25. max_step_saves_to_keep: 12
  26. save_format: "diffusers"
  27. push_to_hub: false
  28. datasets:
  29. - folder_path: "/app/ai-toolkit/datasets/example"
  30. mask_path: null
  31. mask_min_value: 0.1
  32. default_caption: ""
  33. caption_ext: "txt"
  34. caption_dropout_rate: 0.05
  35. cache_latents_to_disk: false
  36. is_reg: false
  37. network_weight: 1
  38. resolution:
  39. - 512
  40. controls: []
  41. shrink_video_to_frames: true
  42. num_frames: 1
  43. do_i2v: true
  44. flip_x: false
  45. flip_y: false
  46. train:
  47. batch_size: 1
  48. bypass_guidance_embedding: false
  49. steps: 3000
  50. gradient_accumulation: 1
  51. train_unet: true
  52. train_text_encoder: false
  53. gradient_checkpointing: true
  54. noise_scheduler: "flowmatch"
  55. optimizer: "adamw8bit"
  56. timestep_type: "sigmoid"
  57. content_or_style: "balanced"
  58. optimizer_params:
  59. weight_decay: 0.0001
  60. unload_text_encoder: false
  61. cache_text_embeddings: false
  62. lr: 0.00025
  63. ema_config:
  64. use_ema: false
  65. ema_decay: 0.99
  66. skip_first_sample: true
  67. force_first_sample: false
  68. disable_sampling: false
  69. dtype: "fp32"
  70. diff_output_preservation: false
  71. diff_output_preservation_multiplier: 1
  72. diff_output_preservation_class: "person"
  73. switch_boundary_every: 1
  74. loss_type: "mse"
  75. logging:
  76. log_every: 1
  77. use_ui_logger: true
  78. model:
  79. name_or_path: "Tongyi-MAI/Z-Image-Turbo"
  80. quantize: false
  81. qtype: "qfloat8"
  82. quantize_te: false
  83. qtype_te: "qfloat8"
  84. arch: "zimage:turbo"
  85. low_vram: false
  86. model_kwargs: {}
  87. layer_offloading: false
  88. layer_offloading_text_encoder_percent: 1
  89. layer_offloading_transformer_percent: 1
  90. assistant_lora_path: "ostris/zimage_turbo_training_adapter/zimage_turbo_training_adapter_v2.safetensors"
  91. sample:
  92. sampler: "flowmatch"
  93. sample_every: 250
  94. width: 1024
  95. height: 1024
  96. samples:
  97. - prompt: "woman with red hair, playing chess at the park, bomb going off in the background"
  98. neg: ""
  99. seed: 42
  100. walk_seed: true
  101. guidance_scale: 1
  102. sample_steps: 8
  103. num_frames: 1
  104. fps: 1
  105. meta:
  106. name: "[name]"
  107. version: "1.0"
  108.  
Advertisement
Add Comment
Please, Sign In to add comment