Guest User

Stylized PBR Animation [WAN 2.2 I2V] - Training Config

a guest
Mar 2nd, 2026
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.51 KB | None | 0 0
  1. ---
  2. job: "extension"
  3. config:
  4. name: "wan2.2_i2v_pbrstyle"
  5. process:
  6. - type: "diffusion_trainer"
  7. training_folder: "/mnt/t/ComfyUI_training/ai-toolkit-output"
  8. sqlite_db_path: "./aitk_db.db"
  9. device: "cuda"
  10. trigger_word: "PBRSty1e"
  11. performance_log_every: 10
  12. network:
  13. type: "lora"
  14. linear: 16
  15. linear_alpha: 16
  16. conv: 8
  17. conv_alpha: 8
  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: 16
  26. save_format: "diffusers"
  27. push_to_hub: false
  28. datasets:
  29. - folder_path: "/mnt/c/ComfyUI_training/ai-toolkit-datasets/PBRStyleImg"
  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. - 256
  40. controls: []
  41. shrink_video_to_frames: true
  42. num_frames: 1
  43. do_i2v: false
  44. flip_x: true
  45. flip_y: false
  46. - folder_path: "/mnt/c/ComfyUI_training/ai-toolkit-datasets/PBRStyleVid"
  47. mask_path: null
  48. mask_min_value: 0.1
  49. default_caption: ""
  50. caption_ext: "txt"
  51. caption_dropout_rate: 0.05
  52. cache_latents_to_disk: false
  53. is_reg: false
  54. network_weight: 0.5
  55. resolution:
  56. - 256
  57. controls: []
  58. shrink_video_to_frames: true
  59. num_frames: 18
  60. do_i2v: true
  61. flip_x: true
  62. flip_y: false
  63. train:
  64. batch_size: 1
  65. bypass_guidance_embedding: false
  66. steps: 4000
  67. gradient_accumulation: 1
  68. train_unet: true
  69. train_text_encoder: false
  70. gradient_checkpointing: true
  71. noise_scheduler: "flowmatch"
  72. optimizer: "adamw"
  73. timestep_type: "sigmoid"
  74. content_or_style: "style"
  75. optimizer_params:
  76. weight_decay: 0.0001
  77. unload_text_encoder: false
  78. cache_text_embeddings: false
  79. lr: 0.000015
  80. ema_config:
  81. use_ema: false
  82. ema_decay: 0.99
  83. skip_first_sample: true
  84. force_first_sample: false
  85. disable_sampling: true
  86. dtype: "fp16"
  87. diff_output_preservation: false
  88. diff_output_preservation_multiplier: 1
  89. diff_output_preservation_class: "person"
  90. switch_boundary_every: 10
  91. loss_type: "mse"
  92. model:
  93. name_or_path: "ai-toolkit/Wan2.2-I2V-A14B-Diffusers-bf16"
  94. quantize: true
  95. quantize_te: true
  96. arch: "wan22_14b_i2v"
  97. low_vram: true
  98. model_kwargs:
  99. train_high_noise: true
  100. train_low_noise: true
  101. layer_offloading: false
  102. layer_offloading_text_encoder_percent: 1
  103. layer_offloading_transformer_percent: 1
  104. qtype: "uint6"
  105. qtype_te: "qfloat8"
  106. sample:
  107. sampler: "flowmatch"
  108. sample_every: 1000
  109. width: 256
  110. height: 256
  111. samples:
  112. - prompt: ""
  113. neg: ""
  114. seed: 42
  115. walk_seed: true
  116. guidance_scale: 4
  117. sample_steps: 20
  118. num_frames: 41
  119. fps: 16
  120. logging:
  121. log_every: 1
  122. use_ui_logger: true
  123. meta:
  124. name: "[name]"
  125. version: "1.0"
  126.  
Advertisement
Add Comment
Please, Sign In to add comment