Guest User

Untitled

a guest
Mar 18th, 2026
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. # ushikani-kassen.toml
  2.  
  3. ```toml
  4. output_dir = 'diffusion-pipe/output/'
  5. dataset = 'ushikani-kassen_dataset.toml'
  6.  
  7. # training settings
  8. # note, I uploaded epoch 3, I left my config as is for completeness
  9. epochs = 5
  10. micro_batch_size_per_gpu = 4
  11. pipeline_stages = 1
  12. gradient_accumulation_steps = 1
  13. gradient_clipping = 1
  14. warmup_steps = 10
  15.  
  16. # misc settings
  17. save_every_n_epochs = 1
  18. checkpoint_every_n_epochs = 1
  19. activation_checkpointing = true
  20. partition_method = 'parameters'
  21. save_dtype = 'bfloat16'
  22. caching_batch_size = 8
  23. steps_per_print = 1
  24. blocks_to_swap = 8
  25.  
  26. [model]
  27. type = 'anima'
  28. transformer_path = 'anima-preview.safetensors'
  29. vae_path = 'qwen_image_vae.safetensors'
  30. llm_path = 'qwen_3_06b_base.safetensors'
  31. dtype = 'bfloat16'
  32.  
  33. [adapter]
  34. type = 'lora'
  35. rank = 16
  36. dtype = 'bfloat16'
  37.  
  38. [optimizer]
  39. type = 'Prodigy'
  40. lr = 1
  41. betas = [0.9, 0.99]
  42. weight_decay = 0.01
  43. safeguard_warmup = true
  44. use_bias_correction = true
  45. d_coef = 0.4
  46. ```
  47.  
  48. # ushikani-kassen_dataset.toml
  49.  
  50. ```toml
  51. resolutions = [1024]
  52. enable_ar_bucket = true
  53. min_ar = 0.5
  54. max_ar = 2.0
  55. num_ar_buckets = 5
  56. [[directory]]
  57. path = 'ushikani_kassen/'
  58. num_repeats = 14
  59. ```
Advertisement
Add Comment
Please, Sign In to add comment