capitan01r

FLux2klein_9b_targeted_character_fixed

Mar 28th, 2026 (edited)
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.78 KB | None | 0 0
  1. ---
  2. job: "extension"
  3. config:
  4. name: "targeted_blocks_d0_7_s0_10"
  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: 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. only_if_contains:
  23. - "double_blocks.0"
  24. - "double_blocks.1"
  25. - "double_blocks.2"
  26. - "double_blocks.3"
  27. - "double_blocks.4"
  28. - "double_blocks.5"
  29. - "double_blocks.6"
  30. - "double_blocks.7"
  31. - "single_blocks.0"
  32. - "single_blocks.1"
  33. - "single_blocks.2"
  34. - "single_blocks.3"
  35. - "single_blocks.4"
  36. - "single_blocks.5"
  37. - "single_blocks.6"
  38. - "single_blocks.7"
  39. - "single_blocks.8"
  40. - "single_blocks.9"
  41. - "single_blocks.10"
  42. save:
  43. dtype: "bf16"
  44. save_every: 250
  45. max_step_saves_to_keep: 25
  46. save_format: "diffusers"
  47. push_to_hub: false
  48. datasets:
  49. - folder_path: "/app/ai-toolkit/datasets/example"
  50. mask_path: null
  51. mask_min_value: 0.1
  52. default_caption: ""
  53. caption_ext: "txt"
  54. caption_dropout_rate: 0.05
  55. cache_latents_to_disk: false
  56. is_reg: false
  57. network_weight: 1
  58. resolution:
  59. - 512
  60. - 768
  61. - 1024
  62. controls: []
  63. shrink_video_to_frames: true
  64. num_frames: 1
  65. flip_x: false
  66. flip_y: false
  67. num_repeats: 1
  68. control_path_1: null
  69. control_path_2: null
  70. control_path_3: null
  71. train:
  72. batch_size: 1
  73. bypass_guidance_embedding: false
  74. steps: 3500
  75. gradient_accumulation: 2
  76. train_unet: true
  77. train_text_encoder: false
  78. gradient_checkpointing: true
  79. noise_scheduler: "flowmatch"
  80. optimizer: "adamw8bit"
  81. timestep_type: "linear"
  82. content_or_style: "balanced"
  83. optimizer_params:
  84. weight_decay: 0.0001
  85. unload_text_encoder: false
  86. cache_text_embeddings: false
  87. lr: 0.00008
  88. ema_config:
  89. use_ema: true
  90. ema_decay: 0.99
  91. skip_first_sample: true
  92. force_first_sample: false
  93. disable_sampling: false
  94. dtype: "bf16"
  95. diff_output_preservation: false
  96. diff_output_preservation_multiplier: 1
  97. diff_output_preservation_class: "person"
  98. switch_boundary_every: 1
  99. loss_type: "mse"
  100. logging:
  101. log_every: 1
  102. use_ui_logger: true
  103. model:
  104. name_or_path: "black-forest-labs/FLUX.2-klein-base-9B"
  105. quantize: false
  106. qtype: "qfloat8"
  107. quantize_te: false
  108. qtype_te: "qfloat8"
  109. arch: "flux2_klein_9b"
  110. low_vram: false
  111. model_kwargs:
  112. match_target_res: false
  113. layer_offloading: false
  114. layer_offloading_text_encoder_percent: 1
  115. layer_offloading_transformer_percent: 1
  116. sample:
  117. sampler: "flowmatch"
  118. sample_every: 250
  119. width: 768
  120. height: 1120
  121. samples:
  122. - prompt: "studio shot of a beautiful woman looking at the camera, close angle"
  123. neg: ""
  124. seed: 42
  125. walk_seed: true
  126. guidance_scale: 4
  127. sample_steps: 25
  128. num_frames: 1
  129. fps: 1
  130. meta:
  131. name: "targeted_blocks_d0_7_s0_10"
  132. version: "1.0"
  133.  
Advertisement
Add Comment
Please, Sign In to add comment