Advertisement
Guest User

config layer 7/20

a guest
Jul 9th, 2025
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ---
  2. job: "extension"
  3. config:
  4. name: "CHANGE THE NAME"
  5. process:
  6. - type: "ui_trainer"
  7. training_folder: "CHANGE PATH TO output FOLDER Example: /???/???/???/???/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: 128
  15. linear_alpha: 128
  16. conv: 16
  17. conv_alpha: 16
  18. lokr_full_rank: true
  19. lokr_factor: -1
  20. network_kwargs:
  21. only_if_contains:
  22. - "transformer.single_transformer_blocks.7.proj_out"
  23. - "transformer.single_transformer_blocks.20.proj_out"
  24. save:
  25. dtype: "bf16"
  26. save_every: 100
  27. max_step_saves_to_keep: 25
  28. save_format: "diffusers"
  29. push_to_hub: false
  30. datasets: []
  31. train:
  32. batch_size: 1
  33. bypass_guidance_embedding: false
  34. steps: 2500
  35. gradient_accumulation: 1
  36. train_unet: true
  37. train_text_encoder: false
  38. gradient_checkpointing: true
  39. noise_scheduler: "flowmatch"
  40. optimizer: "adamw8bit"
  41. timestep_type: "sigmoid"
  42. content_or_style: "balanced"
  43. optimizer_params:
  44. weight_decay: 0.0001
  45. unload_text_encoder: false
  46. lr: 0.0005
  47. ema_config:
  48. use_ema: true
  49. ema_decay: 0.99
  50. dtype: "bf16"
  51. diff_output_preservation: false
  52. diff_output_preservation_multiplier: 1
  53. diff_output_preservation_class: "person"
  54. model:
  55. name_or_path: "black-forest-labs/FLUX.1-dev"
  56. quantize: true
  57. quantize_te: true
  58. arch: "flux"
  59. low_vram: true
  60. model_kwargs: {}
  61. sample:
  62. sampler: "flowmatch"
  63. sample_every: 100
  64. width: 1024
  65. height: 1024
  66. prompts:
  67. - " woman wearing glasses playing chess at the park,"
  68. - " woman holding a coffee cup, in a beanie, sitting at a cafe"
  69. neg: ""
  70. seed: 57857
  71. walk_seed: true
  72. guidance_scale: 4
  73. sample_steps: 20
  74. num_frames: 1
  75. fps: 1
  76. meta:
  77. name: "[name]"
  78. version: "1.0"
  79.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement