Zaytron40k commited on
Commit
ef7acd8
·
verified ·
1 Parent(s): 8517198

Upload config/job_config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config/job_config.json +162 -0
config/job_config.json ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "job": "extension",
3
+ "config": {
4
+ "name": "Flux2noDOP34",
5
+ "process": [
6
+ {
7
+ "type": "diffusion_trainer",
8
+ "training_folder": "/app/ai-toolkit/output",
9
+ "sqlite_db_path": "./aitk_db.db",
10
+ "device": "cuda",
11
+ "trigger_word": null,
12
+ "performance_log_every": 10,
13
+ "network": {
14
+ "type": "lora",
15
+ "linear": 128,
16
+ "linear_alpha": 64,
17
+ "conv": 64,
18
+ "conv_alpha": 32,
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": 20,
29
+ "save_format": "diffusers",
30
+ "push_to_hub": false
31
+ },
32
+ "datasets": [
33
+ {
34
+ "folder_path": "/app/ai-toolkit/datasets/f30",
35
+ "mask_path": null,
36
+ "mask_min_value": 0.1,
37
+ "default_caption": "",
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
+ 768,
46
+ 1024
47
+ ],
48
+ "controls": [],
49
+ "shrink_video_to_frames": true,
50
+ "num_frames": 1,
51
+ "flip_x": false,
52
+ "flip_y": false,
53
+ "num_repeats": 1,
54
+ "control_path_1": null,
55
+ "control_path_2": null,
56
+ "control_path_3": null
57
+ }
58
+ ],
59
+ "train": {
60
+ "batch_size": 1,
61
+ "bypass_guidance_embedding": false,
62
+ "steps": 5000,
63
+ "gradient_accumulation": 1,
64
+ "train_unet": true,
65
+ "train_text_encoder": false,
66
+ "gradient_checkpointing": true,
67
+ "noise_scheduler": "flowmatch",
68
+ "optimizer": "adamw8bit",
69
+ "timestep_type": "weighted",
70
+ "content_or_style": "balanced",
71
+ "optimizer_params": {
72
+ "weight_decay": 5e-05
73
+ },
74
+ "unload_text_encoder": false,
75
+ "cache_text_embeddings": false,
76
+ "lr": 0.0001,
77
+ "ema_config": {
78
+ "use_ema": false,
79
+ "ema_decay": 0.99
80
+ },
81
+ "skip_first_sample": false,
82
+ "force_first_sample": false,
83
+ "disable_sampling": false,
84
+ "dtype": "bf16",
85
+ "diff_output_preservation": false,
86
+ "diff_output_preservation_multiplier": 1,
87
+ "diff_output_preservation_class": "person",
88
+ "switch_boundary_every": 1,
89
+ "loss_type": "mse"
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": false,
98
+ "qtype": "qfloat8",
99
+ "quantize_te": false,
100
+ "qtype_te": "qfloat8",
101
+ "arch": "flux2_klein_9b",
102
+ "low_vram": false,
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": 1024,
114
+ "height": 1024,
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 horse is a DJ at a night club, fish eye lens, smoke machine, lazer lights, holding a martini"
124
+ },
125
+ {
126
+ "prompt": "a man showing off his cool new t shirt at the beach, a shark is jumping out of the water in the background"
127
+ },
128
+ {
129
+ "prompt": "a bear building a log cabin in the snow covered mountains"
130
+ },
131
+ {
132
+ "prompt": "woman playing the guitar, on stage, singing a song, laser lights, punk rocker"
133
+ },
134
+ {
135
+ "prompt": "hipster man with a beard, building a chair, in a wood shop"
136
+ },
137
+ {
138
+ "prompt": "medium shot of a man in stylish clothing, night Tokyo city"
139
+ },
140
+ {
141
+ "prompt": "a man holding a sign that says, 'this is a sign'"
142
+ },
143
+ {
144
+ "prompt": "a bulldog, in a post apocalyptic world, with a shotgun, in a leather jacket, in a desert, with a motorcycle"
145
+ }
146
+ ],
147
+ "neg": "",
148
+ "seed": 42,
149
+ "walk_seed": true,
150
+ "guidance_scale": 4,
151
+ "sample_steps": 30,
152
+ "num_frames": 1,
153
+ "fps": 1
154
+ }
155
+ }
156
+ ]
157
+ },
158
+ "meta": {
159
+ "name": "[name]",
160
+ "version": "1.0"
161
+ }
162
+ }