Guest User

Untitled

a guest
Dec 11th, 2025
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.91 KB | Source Code | 0 0
  1. job: extension
  2. config:
  3.   name: darthmaul1
  4.   process:
  5.   - type: diffusion_trainer
  6.     training_folder: /data/app/output
  7.     sqlite_db_path: /data/app/aitk_db.db
  8.     device: cuda
  9.     trigger_word: dthmal
  10.     performance_log_every: 10
  11.     network:
  12.       type: lora
  13.       linear: 16
  14.       linear_alpha: 16
  15.       conv: 16
  16.       conv_alpha: 16
  17.       lokr_full_rank: true
  18.       lokr_factor: -1
  19.       network_kwargs:
  20.         ignore_if_contains: []
  21.     save:
  22.       dtype: bf16
  23.       save_every: 250
  24.       max_step_saves_to_keep: 4
  25.       save_format: diffusers
  26.       push_to_hub: false
  27.     datasets:
  28.     - folder_path: /data/app/datasets/darthmaul
  29.       mask_path: null
  30.       mask_min_value: 0.1
  31.       default_caption: A photo of dthmal
  32.       caption_ext: txt
  33.       caption_dropout_rate: 0.05
  34.       cache_latents_to_disk: false
  35.       is_reg: false
  36.       network_weight: 1
  37.       resolution:
  38.      - 512
  39.       - 768
  40.       - 1024
  41.       controls: []
  42.       shrink_video_to_frames: true
  43.       num_frames: 1
  44.       do_i2v: true
  45.       flip_x: false
  46.       flip_y: false
  47.     train:
  48.       batch_size: 4
  49.       bypass_guidance_embedding: false
  50.       steps: 3000
  51.       gradient_accumulation: 1
  52.       train_unet: true
  53.       train_text_encoder: false
  54.       gradient_checkpointing: true
  55.       noise_scheduler: flowmatch
  56.       optimizer: adamw8bit
  57.       timestep_type: weighted
  58.       content_or_style: balanced
  59.       optimizer_params:
  60.         weight_decay: 0.0001
  61.       unload_text_encoder: false
  62.       cache_text_embeddings: false
  63.       lr: 0.00015
  64.       ema_config:
  65.         use_ema: false
  66.         ema_decay: 0.99
  67.       skip_first_sample: false
  68.       force_first_sample: false
  69.       disable_sampling: false
  70.       dtype: bf16
  71.       diff_output_preservation: true
  72.       diff_output_preservation_multiplier: 1
  73.       diff_output_preservation_class: person
  74.       switch_boundary_every: 1
  75.       loss_type: mse
  76.     model:
  77.       name_or_path: Tongyi-MAI/Z-Image-Turbo
  78.       quantize: true
  79.       qtype: qfloat8
  80.       quantize_te: true
  81.       qtype_te: qfloat8
  82.       arch: zimage:turbo
  83.       low_vram: false
  84.       model_kwargs: {}
  85.       layer_offloading: false
  86.       layer_offloading_text_encoder_percent: 1
  87.       layer_offloading_transformer_percent: 1
  88.       assistant_lora_path: ostris/zimage_turbo_training_adapter/zimage_turbo_training_adapter_v2.safetensors
  89.     sample:
  90.       sampler: flowmatch
  91.       sample_every: 250
  92.       width: 1024
  93.       height: 1024
  94.       samples:
  95.       - prompt: Darth Maul dthmal, playing chess at the park, bomb going off in the
  96.           background
  97.       - prompt: Photo of Darth Maul dthmal  showing off his cool new t shirt at the
  98.           beach, a shark is jumping out of the water in the background
  99.       neg: ''
  100.       seed: 42
  101.       walk_seed: true
  102.       guidance_scale: 1
  103.       sample_steps: 8
  104.       num_frames: 1
  105.       fps: 1
  106. meta:
  107.   name: darthmaul1
  108.   version: '1.0'
Advertisement
Add Comment
Please, Sign In to add comment