Guest User

AI toolkit KREA 2 Training config . 16GB

a guest
Jun 24th, 2026
4,957
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.94 KB | Software | 0 0
  1. ---
  2. job: "extension"
  3. config:
  4.   name: "my_first_lora_v1_copy_copy_copy_copy_copy_copy_copy_copy_copy_copy"
  5.   process:
  6.     - type: "diffusion_trainer"
  7.       training_folder: "R:\\pinokio\\api\\ai-toolkit.git\\output"
  8.       sqlite_db_path: "./aitk_db.db"
  9.       device: "cuda"
  10.       trigger_word: "1gawker"
  11.       performance_log_every: 10
  12.       network:
  13.         type: "lora"
  14.         linear: 32
  15.         linear_alpha: 32
  16.         lokr_full_rank: true
  17.         lokr_factor: -1
  18.         network_kwargs:
  19.           ignore_if_contains: []
  20.       save:
  21.         dtype: "bf16"
  22.         save_every: 250
  23.         max_step_saves_to_keep: 4
  24.         save_format: "diffusers"
  25.         push_to_hub: false
  26.       datasets:
  27.         - folder_path: "G:\\Training Datasets/Gawker_40_images"
  28.           mask_path: null
  29.           mask_min_value: 0.1
  30.           default_caption: ""
  31.           caption_ext: "txt"
  32.           caption_dropout_rate: 0.05
  33.           cache_latents_to_disk: false
  34.           is_reg: false
  35.           network_weight: 1
  36.           resolution:
  37.             - 512
  38.           controls: []
  39.           shrink_video_to_frames: true
  40.           num_frames: 1
  41.           flip_x: false
  42.           flip_y: false
  43.           num_repeats: 1
  44.       train:
  45.         batch_size: 1
  46.         bypass_guidance_embedding: false
  47.         steps: 2000
  48.         gradient_accumulation: 1
  49.         train_unet: true
  50.         train_text_encoder: false
  51.         gradient_checkpointing: true
  52.         noise_scheduler: "flowmatch"
  53.         optimizer: "automagic3"
  54.         timestep_type: "sigmoid"
  55.         content_or_style: "balanced"
  56.         optimizer_params:
  57.           weight_decay: 0.0001
  58.         unload_text_encoder: true
  59.         cache_text_embeddings: false
  60.         lr: 0.0001
  61.         ema_config:
  62.           use_ema: false
  63.           ema_decay: 0.99
  64.         skip_first_sample: false
  65.         force_first_sample: false
  66.         disable_sampling: true
  67.         dtype: "bf16"
  68.         diff_output_preservation: false
  69.         diff_output_preservation_multiplier: 1
  70.         diff_output_preservation_class: "person"
  71.         switch_boundary_every: 1
  72.         loss_type: "mse"
  73.       logging:
  74.         log_every: 1
  75.         use_ui_logger: true
  76.       model:
  77.         name_or_path: "krea/Krea-2-Raw"
  78.         quantize: true
  79.         qtype: "qfloat8"
  80.         quantize_te: true
  81.         qtype_te: "qfloat8"
  82.         arch: "krea2"
  83.         low_vram: true
  84.         model_kwargs: {}
  85.         compile: false
  86.         layer_offloading: true
  87.         layer_offloading_text_encoder_percent: 1
  88.         layer_offloading_transformer_percent: 0.35000000000000003
  89.       sample:
  90.         sampler: "flowmatch"
  91.         sample_every: 250
  92.         width: 1024
  93.         height: 1024
  94.         samples:
  95.           - prompt: "you shall not pass"
  96.         neg: ""
  97.         seed: 42
  98.         walk_seed: true
  99.         guidance_scale: 4
  100.         sample_steps: 30
  101.         num_frames: 1
  102.         fps: 1
  103. meta:
  104.   name: "[name]"
  105.   version: "1.0"
  106.  
Tags: ai
Advertisement
Add Comment
Please, Sign In to add comment