ohcaidek commited on
Commit
3eeea5d
·
verified ·
1 Parent(s): c490a16

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ loss_log.db filter=lfs diff=lfs merge=lfs -text
.job_config.json ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "job": "extension",
3
+ "config": {
4
+ "name": "s0ra_FluxK",
5
+ "process": [
6
+ {
7
+ "type": "diffusion_trainer",
8
+ "training_folder": "/workspace/ai-toolkit/output",
9
+ "sqlite_db_path": "/workspace/ai-toolkit/aitk_db.db",
10
+ "device": "cuda",
11
+ "trigger_word": null,
12
+ "performance_log_every": 10,
13
+ "network": {
14
+ "type": "lora",
15
+ "linear": 31,
16
+ "linear_alpha": 31,
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": 204,
28
+ "max_step_saves_to_keep": 8,
29
+ "save_format": "diffusers",
30
+ "push_to_hub": false
31
+ },
32
+ "datasets": [
33
+ {
34
+ "folder_path": "/workspace/ai-toolkit/datasets/s0ra",
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": 2,
61
+ "bypass_guidance_embedding": false,
62
+ "steps": 2550,
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": 0.0001
73
+ },
74
+ "unload_text_encoder": false,
75
+ "cache_text_embeddings": true,
76
+ "lr": 0.0002,
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": true,
98
+ "qtype": "qfloat8",
99
+ "quantize_te": true,
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": 204,
113
+ "width": 712,
114
+ "height": 1268,
115
+ "samples": [
116
+ {
117
+ "prompt": "anw0ll, A woman with long, flowing, light-blonde hair sits on a plain, light gray floor, wearing a loose, draped, gray and white striped wrap dress. She has a contemplative expression, eyes slightly lifted, with a subtle smile, her bare feet slightly extended."
118
+ }
119
+ ],
120
+ "neg": "",
121
+ "seed": 42,
122
+ "walk_seed": true,
123
+ "guidance_scale": 4,
124
+ "sample_steps": 20,
125
+ "num_frames": 1,
126
+ "fps": 1
127
+ }
128
+ }
129
+ ]
130
+ },
131
+ "meta": {
132
+ "name": "[name]",
133
+ "version": "1.0"
134
+ }
135
+ }
config.yaml ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: s0ra_FluxK
4
+ process:
5
+ - type: diffusion_trainer
6
+ training_folder: /workspace/ai-toolkit/output
7
+ sqlite_db_path: /workspace/ai-toolkit/aitk_db.db
8
+ device: cuda
9
+ trigger_word: null
10
+ performance_log_every: 10
11
+ network:
12
+ type: lora
13
+ linear: 31
14
+ linear_alpha: 31
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: 204
24
+ max_step_saves_to_keep: 8
25
+ save_format: diffusers
26
+ push_to_hub: false
27
+ datasets:
28
+ - folder_path: /workspace/ai-toolkit/datasets/s0ra
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: 2
52
+ bypass_guidance_embedding: false
53
+ steps: 2550
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: true
66
+ lr: 0.0002
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: false
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: 204
98
+ width: 712
99
+ height: 1268
100
+ samples:
101
+ - prompt: anw0ll, A woman with long, flowing, light-blonde hair sits on a plain,
102
+ light gray floor, wearing a loose, draped, gray and white striped wrap dress.
103
+ She has a contemplative expression, eyes slightly lifted, with a subtle
104
+ smile, her bare feet slightly extended.
105
+ neg: ''
106
+ seed: 42
107
+ walk_seed: true
108
+ guidance_scale: 4
109
+ sample_steps: 20
110
+ num_frames: 1
111
+ fps: 1
112
+ meta:
113
+ name: s0ra_FluxK
114
+ version: '1.0'
log.txt ADDED
The diff for this file is too large to render. See raw diff
 
loss_log.db ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fac77964040a7d5fcc857042746d1e26b166b5113af5d229089ebd6b924babe4
3
+ size 483328
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee418da88bb64a5e8e3ede372969703020e0d36f61d4200746a23616ae18b768
3
+ size 163270027
pid.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 2593
s0ra_FluxK.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:150a6debfe0d8cdeefcfb4d6cdcb52707427e89ffe1642ccd49cec404c363836
3
+ size 160527024
s0ra_FluxK_000001224.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e6ee824d447c16361577a839c6445b5a6b1444f326b8a9a58c464e95e4fd805
3
+ size 160527024
s0ra_FluxK_000001632.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98239b1fb0f16f42dc11cf36b0606182ac7a84926c24b44514a1ce4b58cda57b
3
+ size 160527024
samples/1770651620083__000000000_0.jpg ADDED
samples/1770652121403__000000204_0.jpg ADDED
samples/1770652728971__000000408_0.jpg ADDED
samples/1770653234749__000000612_0.jpg ADDED
samples/1770653720133__000000816_0.jpg ADDED
samples/1770654212250__000001020_0.jpg ADDED
samples/1770654715557__000001224_0.jpg ADDED
samples/1770655470035__000001428_0.jpg ADDED
samples/1770655959252__000001632_0.jpg ADDED
samples/1770656446516__000001836_0.jpg ADDED
samples/1770656930346__000002040_0.jpg ADDED
samples/1770657826056__000002244_0.jpg ADDED
samples/1770658315010__000002448_0.jpg ADDED
samples/1770658563707__000002550_0.jpg ADDED