Pygon commited on
Commit
89bd501
·
verified ·
1 Parent(s): b44ca06

Add Tangyan v4 training config

Browse files
Files changed (1) hide show
  1. tangyan_v4_config.yaml +70 -0
tangyan_v4_config.yaml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: tangyan_moss_image_lora_v4_base
4
+ process:
5
+ - type: sd_trainer
6
+ training_folder: F:/DSH-work/20_train/output/tangyan/v4
7
+ device: cuda:0
8
+ network:
9
+ type: lora
10
+ linear: 32
11
+ linear_alpha: 32
12
+ save:
13
+ dtype: float16
14
+ save_every: 200
15
+ max_step_saves_to_keep: 10
16
+ datasets:
17
+ - folder_path: F:/DSH-work/20_train/datasets/tangyan/v4/train
18
+ caption_ext: txt
19
+ caption_dropout_rate: 0.05
20
+ shuffle_tokens: false
21
+ cache_latents_to_disk: true
22
+ resolution:
23
+ - 512
24
+ - 768
25
+ - 1024
26
+ train:
27
+ batch_size: 1
28
+ cache_text_embeddings: true
29
+ steps: 2000
30
+ gradient_accumulation: 1
31
+ train_unet: true
32
+ train_text_encoder: false
33
+ gradient_checkpointing: true
34
+ noise_scheduler: flowmatch
35
+ optimizer: adamw8bit
36
+ lr: 0.00015
37
+ dtype: bf16
38
+ disable_sampling: true
39
+ skip_first_sample: true
40
+ model:
41
+ name_or_path: F:/DSH-work/30_models/base_merged/moss_image_base_merged.safetensors
42
+ arch: moss_image
43
+ te_name_or_path: G:/ComfyUI/models/text_encoders/moss-image-sft-qwen35-int8-convrot.safetensors
44
+ vae_path: G:/ComfyUI/models/vae/flux2-vae.safetensors
45
+ quantize: true
46
+ qtype: int8
47
+ quantize_te: true
48
+ qtype_te: convrot8
49
+ low_vram: true
50
+ sample:
51
+ sampler: flowmatch
52
+ sample_every: 250
53
+ sample_start_step: 250
54
+ width: 1024
55
+ height: 1024
56
+ prompts:
57
+ - "\u5510\u5AE3, tangyan, woman, portrait, professional photography, soft lighting"
58
+ - "\u5510\u5AE3, tangyan, woman, wearing a red dress, studio portrait, high\
59
+ \ quality"
60
+ - "\u5510\u5AE3, tangyan, woman, evening gown, red carpet, bokeh background"
61
+ - "\u5510\u5AE3, tangyan, woman, casual white shirt, natural light, close-up\
62
+ \ portrait, detailed skin"
63
+ neg: ''
64
+ seed: 42
65
+ walk_seed: true
66
+ guidance_scale: 3
67
+ sample_steps: 25
68
+ meta:
69
+ name: tangyan_moss_image_lora_v4_base
70
+ version: '1.0'