Guest User

ZimageLoRa

a guest
Dec 22nd, 2025
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | Software | 0 0
  1. ---
  2. job: "extension"
  3. config:
  4. name: "loRa"
  5. process:
  6. - type: "diffusion_trainer"
  7. training_folder: "C:\\AI-Toolkit\\output"
  8. sqlite_db_path: "./aitk_db.db"
  9. device: "cuda"
  10. trigger_word: "dog"
  11. performance_log_every: 10
  12. network:
  13. type: "lora"
  14. linear: 32
  15. linear_alpha: 32
  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: "bf16"
  24. save_every: 500
  25. max_step_saves_to_keep: 8
  26. save_format: "diffusers"
  27. push_to_hub: false
  28. datasets:
  29. - folder_path: "C:\\AI-Toolkit\\datasets/cat"
  30. mask_path: null
  31. mask_min_value: 0.1
  32. default_caption: "photo of a cat"
  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: 2500
  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: "weighted"
  57. content_or_style: "balanced"
  58. optimizer_params:
  59. weight_decay: 0.0001
  60. unload_text_encoder: false
  61. cache_text_embeddings: true
  62. lr: 0.0001
  63. ema_config:
  64. use_ema: false
  65. ema_decay: 0.99
  66. skip_first_sample: false
  67. force_first_sample: false
  68. disable_sampling: true
  69. dtype: "bf16"
  70. diff_output_preservation: false
  71. diff_output_preservation_multiplier: 1
  72. diff_output_preservation_class: "animal"
  73. switch_boundary_every: 1
  74. loss_type: "mse"
  75. model:
  76. name_or_path: "Tongyi-MAI/Z-Image-Turbo"
  77. quantize: true
  78. qtype: "qfloat8"
  79. quantize_te: true
  80. qtype_te: "qfloat8"
  81. arch: "zimage:turbo"
  82. low_vram: true
  83. model_kwargs: {}
  84. layer_offloading: false
  85. layer_offloading_text_encoder_percent: 1
  86. layer_offloading_transformer_percent: 1
  87. assistant_lora_path: "ostris/zimage_turbo_training_adapter/zimage_turbo_training_adapter_v2.safetensors"
  88. sample:
  89. sampler: "flowmatch"
  90. sample_every: 250
  91. width: 1024
  92. height: 1024
  93. samples:
  94. - prompt: "woman with red hair, playing chess at the park, bomb going off in the background"
  95. - prompt: "a woman holding a coffee cup, in a beanie, sitting at a cafe"
  96. - prompt: "a horse is a DJ at a night club, fish eye lens, smoke machine, lazer lights, holding a martini"
  97. - prompt: "a man showing off his cool new t shirt at the beach, a shark is jumping out of the water in the background"
  98. - prompt: "a bear building a log cabin in the snow covered mountains"
  99. - prompt: "woman playing the guitar, on stage, singing a song, laser lights, punk rocker"
  100. - prompt: "hipster man with a beard, building a chair, in a wood shop"
  101. - prompt: "photo of a man, white background, medium shot, modeling clothing, studio lighting, white backdrop"
  102. - prompt: "a man holding a sign that says, 'this is a sign'"
  103. - prompt: "a bulldog, in a post apocalyptic world, with a shotgun, in a leather jacket, in a desert, with a motorcycle"
  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: "[name]"
  113. version: "1.0"
  114.  
Tags: ZImage
Advertisement
Add Comment
Please, Sign In to add comment