malcolmrey commited on
Commit
f4e7461
·
1 Parent(s): 3b8d50d

flux2klein9 test

Browse files
flux2klein9-test/.job_config.json ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "job": "extension",
3
+ "config": {
4
+ "name": "fk9_adrianalima_v1",
5
+ "process": [
6
+ {
7
+ "type": "diffusion_trainer",
8
+ "training_folder": "c:\\Development\\ai-toolkit\\output",
9
+ "sqlite_db_path": "c:\\Development\\ai-toolkit\\aitk_db.db",
10
+ "device": "cuda",
11
+ "trigger_word": "sks woman",
12
+ "performance_log_every": 10,
13
+ "network": {
14
+ "type": "lora",
15
+ "linear": 32,
16
+ "linear_alpha": 32,
17
+ "conv": 16,
18
+ "conv_alpha": 16,
19
+ "lokr_full_rank": true,
20
+ "lokr_factor": -1,
21
+ "network_kwargs": {
22
+ "ignore_if_contains": []
23
+ }
24
+ },
25
+ "save": {
26
+ "dtype": "bf16",
27
+ "save_every": 250,
28
+ "max_step_saves_to_keep": 25,
29
+ "save_format": "diffusers",
30
+ "push_to_hub": false
31
+ },
32
+ "datasets": [
33
+ {
34
+ "folder_path": "c:\\Development\\ai-toolkit\\datasets/adrianalima",
35
+ "mask_path": null,
36
+ "mask_min_value": 0.1,
37
+ "default_caption": "photo of a woman",
38
+ "caption_ext": "txt",
39
+ "caption_dropout_rate": 0.05,
40
+ "cache_latents_to_disk": false,
41
+ "is_reg": false,
42
+ "network_weight": 1,
43
+ "resolution": [
44
+ 512
45
+ ],
46
+ "controls": [],
47
+ "shrink_video_to_frames": true,
48
+ "num_frames": 1,
49
+ "flip_x": false,
50
+ "flip_y": false,
51
+ "num_repeats": 1,
52
+ "control_path_1": null,
53
+ "control_path_2": null,
54
+ "control_path_3": null
55
+ }
56
+ ],
57
+ "train": {
58
+ "batch_size": 1,
59
+ "bypass_guidance_embedding": false,
60
+ "steps": 2500,
61
+ "gradient_accumulation": 1,
62
+ "train_unet": true,
63
+ "train_text_encoder": false,
64
+ "gradient_checkpointing": true,
65
+ "noise_scheduler": "flowmatch",
66
+ "optimizer": "adamw8bit",
67
+ "timestep_type": "weighted",
68
+ "content_or_style": "balanced",
69
+ "optimizer_params": {
70
+ "weight_decay": 0.0001
71
+ },
72
+ "unload_text_encoder": true,
73
+ "cache_text_embeddings": false,
74
+ "lr": 0.0001,
75
+ "ema_config": {
76
+ "use_ema": false,
77
+ "ema_decay": 0.99
78
+ },
79
+ "skip_first_sample": true,
80
+ "force_first_sample": false,
81
+ "disable_sampling": true,
82
+ "dtype": "bf16",
83
+ "diff_output_preservation": false,
84
+ "diff_output_preservation_multiplier": 1,
85
+ "diff_output_preservation_class": "person",
86
+ "switch_boundary_every": 1,
87
+ "loss_type": "mse",
88
+ "do_differential_guidance": true,
89
+ "differential_guidance_scale": 3
90
+ },
91
+ "logging": {
92
+ "log_every": 1,
93
+ "use_ui_logger": true
94
+ },
95
+ "model": {
96
+ "name_or_path": "black-forest-labs/FLUX.2-klein-base-9B",
97
+ "quantize": true,
98
+ "qtype": "qfloat8",
99
+ "quantize_te": true,
100
+ "qtype_te": "qfloat8",
101
+ "arch": "flux2_klein_9b",
102
+ "low_vram": true,
103
+ "model_kwargs": {
104
+ "match_target_res": false
105
+ },
106
+ "layer_offloading": false,
107
+ "layer_offloading_text_encoder_percent": 1,
108
+ "layer_offloading_transformer_percent": 1
109
+ },
110
+ "sample": {
111
+ "sampler": "flowmatch",
112
+ "sample_every": 250,
113
+ "width": 512,
114
+ "height": 512,
115
+ "samples": [
116
+ {
117
+ "prompt": "woman with red hair, playing chess at the park, bomb going off in the background"
118
+ },
119
+ {
120
+ "prompt": "a woman holding a coffee cup, in a beanie, sitting at a cafe"
121
+ },
122
+ {
123
+ "prompt": "a womman showing off her cool new t shirt at the beach, a shark is jumping out of the water in the background"
124
+ },
125
+ {
126
+ "prompt": "woman playing the guitar, on stage, singing a song, laser lights, punk rocker"
127
+ },
128
+ {
129
+ "prompt": "photo of a woman, white background, medium shot, modeling clothing, studio lighting, white backdrop"
130
+ }
131
+ ],
132
+ "neg": "",
133
+ "seed": 42,
134
+ "walk_seed": true,
135
+ "guidance_scale": 4,
136
+ "sample_steps": 25,
137
+ "num_frames": 1,
138
+ "fps": 1
139
+ }
140
+ }
141
+ ]
142
+ },
143
+ "meta": {
144
+ "name": "[name]",
145
+ "version": "1.0"
146
+ }
147
+ }
flux2klein9-test/config.yaml ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: fk9_adrianalima_v1
4
+ process:
5
+ - type: diffusion_trainer
6
+ training_folder: c:\Development\ai-toolkit\output
7
+ sqlite_db_path: c:\Development\ai-toolkit\aitk_db.db
8
+ device: cuda
9
+ trigger_word: sks woman
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: 25
25
+ save_format: diffusers
26
+ push_to_hub: false
27
+ datasets:
28
+ - folder_path: c:\Development\ai-toolkit\datasets/adrianalima
29
+ mask_path: null
30
+ mask_min_value: 0.1
31
+ default_caption: photo of a woman
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
+ controls: []
40
+ shrink_video_to_frames: true
41
+ num_frames: 1
42
+ flip_x: false
43
+ flip_y: false
44
+ num_repeats: 1
45
+ control_path_1: null
46
+ control_path_2: null
47
+ control_path_3: null
48
+ train:
49
+ batch_size: 1
50
+ bypass_guidance_embedding: false
51
+ steps: 2500
52
+ gradient_accumulation: 1
53
+ train_unet: true
54
+ train_text_encoder: false
55
+ gradient_checkpointing: true
56
+ noise_scheduler: flowmatch
57
+ optimizer: adamw8bit
58
+ timestep_type: weighted
59
+ content_or_style: balanced
60
+ optimizer_params:
61
+ weight_decay: 0.0001
62
+ unload_text_encoder: true
63
+ cache_text_embeddings: false
64
+ lr: 0.0001
65
+ ema_config:
66
+ use_ema: false
67
+ ema_decay: 0.99
68
+ skip_first_sample: true
69
+ force_first_sample: false
70
+ disable_sampling: true
71
+ dtype: bf16
72
+ diff_output_preservation: false
73
+ diff_output_preservation_multiplier: 1
74
+ diff_output_preservation_class: person
75
+ switch_boundary_every: 1
76
+ loss_type: mse
77
+ do_differential_guidance: true
78
+ differential_guidance_scale: 3
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: 512
99
+ height: 512
100
+ samples:
101
+ - prompt: woman with red hair, playing chess at the park, bomb going off in
102
+ the background
103
+ - prompt: a woman holding a coffee cup, in a beanie, sitting at a cafe
104
+ - prompt: a womman showing off her cool new t shirt at the beach, a shark is
105
+ jumping out of the water in the background
106
+ - prompt: woman playing the guitar, on stage, singing a song, laser lights,
107
+ punk rocker
108
+ - prompt: photo of a woman, white background, medium shot, modeling clothing,
109
+ studio lighting, white backdrop
110
+ neg: ''
111
+ seed: 42
112
+ walk_seed: true
113
+ guidance_scale: 4
114
+ sample_steps: 25
115
+ num_frames: 1
116
+ fps: 1
117
+ meta:
118
+ name: fk9_adrianalima_v1
119
+ version: '1.0'
flux2klein9-test/fk9_adrianalima_v1.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c641fc51c71ddb776c34fe4b6bbc067f7e74ed3c8cb63a650f7e737564117a3
3
+ size 165704456
flux2klein9-test/fk9_adrianalima_v1_000000250.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5aa457ff26ad1b864e3007671e38c8514e7ef78072f1e1ba4d02fdbaa9816b9c
3
+ size 165704456
flux2klein9-test/fk9_adrianalima_v1_000000500.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b35bf34b6911123db74827d1490f85266a6c436f1a02e33abd20a92dac58ac86
3
+ size 165704456
flux2klein9-test/fk9_adrianalima_v1_000000750.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab5492e4aa84f27f76dc71ffb385a5dd7ecd790240282e42d7a6b16c446e143f
3
+ size 165704456
flux2klein9-test/fk9_adrianalima_v1_000001000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ac7b6f25ed323274fff1a1549f1b12d9cc0b7c6e30577cb46ccfe9c28aefa49
3
+ size 165704456
flux2klein9-test/fk9_adrianalima_v1_000001250.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:281b0d1182a585f991fea207d3003126ba6d94573eb727a1cbffe4be90e6ce07
3
+ size 165704456
flux2klein9-test/fk9_adrianalima_v1_000001500.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:138288524cd388ecd714521a2bfd8cff1dcf7bb52fb94a1902e3626f9d45d84a
3
+ size 165704456
flux2klein9-test/fk9_adrianalima_v1_000001750.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7739c87a14cb87fe1af7e86e34c0d4c58e7d8bf0012dd8968dd25440be6fe97d
3
+ size 165704456
flux2klein9-test/fk9_adrianalima_v1_000002000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8589d91545be6d58c1eeb57e2188f060dd6b3b18ce3e5229d96548e39368fd86
3
+ size 165704456
flux2klein9-test/fk9_adrianalima_v1_000002250.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa663edabb99874a7ad9c54ab248c9ba61f8c8842e8511f5998852dba6c153af
3
+ size 165704456