CalvinHerbst commited on
Commit
a39eabc
·
verified ·
1 Parent(s): 128b6a1

Upload 2 files

Browse files
Flux2-Klein-9B-base_Graphic_impressions_config.yaml ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: "extension"
2
+ config:
3
+ name: "Graphic_Impressions_Flux2-klein-base-9b"
4
+ process:
5
+ - type: "diffusion_trainer"
6
+ training_folder: "/app/ai-toolkit/output"
7
+ sqlite_db_path: "./aitk_db.db"
8
+ device: "cuda"
9
+ trigger_word: "GFX_IMPR5N"
10
+ performance_log_every: 10
11
+ network:
12
+ type: "lora"
13
+ linear: 128
14
+ linear_alpha: 64
15
+ conv: 64
16
+ conv_alpha: 32
17
+ lokr_full_rank: true
18
+ lokr_factor: -1
19
+ network_kwargs:
20
+ ignore_if_contains: []
21
+ save:
22
+ dtype: "bf16"
23
+ save_every: 150
24
+ max_step_saves_to_keep: 20
25
+ save_format: "diffusers"
26
+ push_to_hub: false
27
+ datasets:
28
+ - folder_path: "/workspace/aitoolkit/datasets/Graphic_Impressions"
29
+ mask_path: null
30
+ mask_min_value: 0.1
31
+ default_caption: ""
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
+ - 256
39
+ - 512
40
+ - 768
41
+ - 1024
42
+ - 1280
43
+ - 1536
44
+ controls: []
45
+ shrink_video_to_frames: true
46
+ num_frames: 1
47
+ flip_x: false
48
+ flip_y: false
49
+ num_repeats: 1
50
+ control_path_1: null
51
+ control_path_2: null
52
+ control_path_3: null
53
+ train:
54
+ batch_size: 1
55
+ bypass_guidance_embedding: false
56
+ steps: 3000
57
+ gradient_accumulation: 1
58
+ train_unet: true
59
+ train_text_encoder: false
60
+ gradient_checkpointing: true
61
+ noise_scheduler: "flowmatch"
62
+ optimizer: "adamw8bit"
63
+ timestep_type: "shift"
64
+ content_or_style: "balanced"
65
+ optimizer_params:
66
+ weight_decay: 0.00015
67
+ unload_text_encoder: false
68
+ cache_text_embeddings: false
69
+ lr: 0.000095
70
+ ema_config:
71
+ use_ema: false
72
+ ema_decay: 0.99
73
+ skip_first_sample: false
74
+ force_first_sample: false
75
+ disable_sampling: true
76
+ dtype: "bf16"
77
+ diff_output_preservation: false
78
+ diff_output_preservation_multiplier: 1
79
+ diff_output_preservation_class: "person"
80
+ switch_boundary_every: 1
81
+ loss_type: "mse"
82
+ logging:
83
+ log_every: 1
84
+ use_ui_logger: true
85
+ model:
86
+ name_or_path: "black-forest-labs/FLUX.2-klein-base-9B"
87
+ quantize: true
88
+ qtype: "qfloat8"
89
+ quantize_te: true
90
+ qtype_te: "qfloat8"
91
+ arch: "flux2_klein_9b"
92
+ low_vram: false
93
+ model_kwargs:
94
+ match_target_res: false
95
+ layer_offloading: false
96
+ layer_offloading_text_encoder_percent: 1
97
+ layer_offloading_transformer_percent: 1
98
+ sample:
99
+ sampler: "flowmatch"
100
+ sample_every: 250
101
+ width: 1024
102
+ height: 1024
103
+ samples: []
104
+ neg: ""
105
+ seed: 42
106
+ walk_seed: true
107
+ guidance_scale: 4
108
+ sample_steps: 25
109
+ num_frames: 1
110
+ fps: 1
111
+ meta:
112
+ name: "Graphic_Impressions"
113
+ version: "1.0"
default_flux2_kleinFlux2-Klein-9B-base_config.yaml ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: "extension"
2
+ config:
3
+ name: "my_first_lora_v1"
4
+ process:
5
+ - type: "diffusion_trainer"
6
+ training_folder: "/app/ai-toolkit/output"
7
+ sqlite_db_path: "./aitk_db.db"
8
+ device: "cuda"
9
+ trigger_word: "TRIGGER_WORD_HERE"
10
+ performance_log_every: 10
11
+ network:
12
+ type: "lora"
13
+ linear: 32
14
+ linear_alpha: 32
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: "/path/to/images/folder"
29
+ mask_path: null
30
+ mask_min_value: 0.1
31
+ default_caption: ""
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
+ flip_x: false
45
+ flip_y: false
46
+ num_repeats: 1
47
+ control_path_1: null
48
+ control_path_2: null
49
+ control_path_3: null
50
+ train:
51
+ batch_size: 1
52
+ bypass_guidance_embedding: false
53
+ steps: 3000
54
+ gradient_accumulation: 1
55
+ train_unet: true
56
+ train_text_encoder: false
57
+ gradient_checkpointing: true
58
+ noise_scheduler: "flowmatch"
59
+ optimizer: "adamw8bit"
60
+ timestep_type: "weighted"
61
+ content_or_style: "balanced"
62
+ optimizer_params:
63
+ weight_decay: 0.0001
64
+ unload_text_encoder: false
65
+ cache_text_embeddings: false
66
+ lr: 0.0001
67
+ ema_config:
68
+ use_ema: false
69
+ ema_decay: 0.99
70
+ skip_first_sample: false
71
+ force_first_sample: false
72
+ disable_sampling: false
73
+ dtype: "bf16"
74
+ diff_output_preservation: false
75
+ diff_output_preservation_multiplier: 1
76
+ diff_output_preservation_class: "person"
77
+ switch_boundary_every: 1
78
+ loss_type: "mse"
79
+ logging:
80
+ log_every: 1
81
+ use_ui_logger: true
82
+ model:
83
+ name_or_path: "black-forest-labs/FLUX.2-klein-base-9B"
84
+ quantize: true
85
+ qtype: "qfloat8"
86
+ quantize_te: true
87
+ qtype_te: "qfloat8"
88
+ arch: "flux2_klein_9b"
89
+ low_vram: true
90
+ model_kwargs:
91
+ match_target_res: false
92
+ layer_offloading: false
93
+ layer_offloading_text_encoder_percent: 1
94
+ layer_offloading_transformer_percent: 1
95
+ sample:
96
+ sampler: "flowmatch"
97
+ sample_every: 250
98
+ width: 1024
99
+ height: 1024
100
+ samples:
101
+ - prompt: "woman with red hair, playing chess at the park, bomb going off in the background"
102
+ - prompt: "a woman holding a coffee cup, in a beanie, sitting at a cafe"
103
+ - prompt: "a horse is a DJ at a night club, fish eye lens, smoke machine, lazer lights, holding a martini"
104
+ neg: ""
105
+ seed: 42
106
+ walk_seed: true
107
+ guidance_scale: 4
108
+ sample_steps: 25
109
+ num_frames: 1
110
+ fps: 1
111
+ meta:
112
+ name: "[name]"
113
+ version: "1.0"