Guest User

Untitled

a guest
Jun 10th, 2026
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.79 KB | None | 0 0
  1. ---
  2. job: "extension"
  3. config:
  4. name: "p0rtman_lora_v1_copy"
  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: "p0rtman"
  11. performance_log_every: 10
  12. network:
  13. type: "lokr"
  14. linear: 32
  15. linear_alpha: 32
  16. conv: 16
  17. conv_alpha: 16
  18. lokr_full_rank: true
  19. lokr_factor: 8
  20. network_kwargs:
  21. ignore_if_contains: []
  22. save:
  23. dtype: "bf16"
  24. save_every: 100
  25. max_step_saves_to_keep: 10
  26. save_format: "diffusers"
  27. push_to_hub: false
  28. datasets:
  29. - folder_path: "/app/ai-toolkit/datasets/np"
  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: true
  36. is_reg: false
  37. network_weight: 1
  38. resolution:
  39. - 512
  40. - 768
  41. - 1024
  42. controls: []
  43. shrink_video_to_frames: true
  44. num_frames: 1
  45. flip_x: false
  46. flip_y: false
  47. num_repeats:
  48. - 16
  49. - 4
  50. - 1
  51. loss_split: "diffusion_depth"
  52. train:
  53. weight_noise:
  54. enabled: true
  55. mode: "relative"
  56. sigma: 0.0125
  57. log_every: 1
  58. max_grad_norm: 1
  59. batch_size: 4
  60. bypass_guidance_embedding: false
  61. steps: 1200
  62. gradient_accumulation: 1
  63. train_unet: true
  64. train_text_encoder: false
  65. gradient_checkpointing: true
  66. noise_scheduler: "flowmatch"
  67. optimizer: "adamw8bit"
  68. timestep_type: "linear"
  69. content_or_style: "balanced"
  70. optimizer_params:
  71. weight_decay: 0.0001
  72. unload_text_encoder: false
  73. cache_text_embeddings: true
  74. lr: 0.00005
  75. ema_config:
  76. use_ema: false
  77. ema_decay: 0.99
  78. skip_first_sample: false
  79. force_first_sample: true
  80. disable_sampling: false
  81. dtype: "bf16"
  82. diff_output_preservation: false
  83. diff_output_preservation_multiplier: 1
  84. diff_output_preservation_class: "person"
  85. switch_boundary_every: 1
  86. loss_type: "mse"
  87. diffusion_loss_weight: 1
  88. diffusion_loss_max_t: 1
  89. diffusion_loss_min_t: 0
  90. custom_timestep_distribution: null
  91. custom_timestep_curve: null
  92. max_denoising_steps: 999
  93. min_denoising_steps: 0
  94. loss_split: null
  95. logging:
  96. log_every: 1
  97. use_ui_logger: true
  98. model:
  99. name_or_path: "black-forest-labs/FLUX.2-klein-base-9B"
  100. quantize: true
  101. qtype: "qfloat8"
  102. quantize_te: true
  103. qtype_te: "qfloat8"
  104. arch: "flux2_klein_9b"
  105. low_vram: false
  106. model_kwargs:
  107. match_target_res: false
  108. layer_offloading: false
  109. layer_offloading_text_encoder_percent: 1
  110. layer_offloading_transformer_percent: 1
  111. sample:
  112. sampler: "flowmatch"
  113. sample_every: 100
  114. width: 640
  115. height: 960
  116. samples:
  117. - prompt: "p0rtman, full body, woman, standing, city street, afternoon light"
  118. - prompt: "p0rtman, medium shot, woman, casual outfit, outdoor natural light"
  119. - prompt: "p0rtman, close-up portrait of a woman, soft studio lighting, looking at camera"
  120. neg: ""
  121. seed: 42
  122. walk_seed: false
  123. guidance_scale: 4
  124. sample_steps: 25
  125. num_frames: 1
  126. fps: 1
  127. face_id:
  128. enabled: true
  129. init_scale: 0.3
  130. identity_loss_weight: 0.05
  131. landmark_loss_weight: 0
  132. body_proportion_loss_weight: 0
  133. body_proportion_loss_min_t: 0.8
  134. body_proportion_loss_max_t: 1
  135. body_shape_loss_weight: 0
  136. body_shape_loss_max_t: 1
  137. body_shape_loss_min_t: 0.8
  138. identity_loss_min_t: 0
  139. identity_loss_max_t: 0.9
  140. identity_metrics: true
  141. identity_loss_use_average: true
  142. identity_loss_min_cos: 0.4
  143. depth_consistency:
  144. loss_weight: 0.001
  145. input_size: 518
  146. preview_every: 100
  147. mask_source: "subject"
  148. loss_max_t: 1
  149. model_id: "depth-anything/Depth-Anything-V2-Large-hf"
  150. loss_min_t: 0
  151. grad_checkpoint: true
  152. ssi_weight: 0
  153. grad_weight: 1
  154. grad_scales: 6
  155. subject_mask:
  156. enabled: true
  157. background_loss_weight: 0
  158. clothing_loss_weight: 1
  159. body_loss_weight: 1
  160. save_debug_previews: true
  161. cache_resolution: 768
  162. segformer_res: 768
  163. meta:
  164. name: "[name]"
  165. version: "1.0"
  166.  
Advertisement
Add Comment
Please, Sign In to add comment