svjack commited on
Commit
fb31aba
·
verified ·
1 Parent(s): 5e13e3d

Upload folder using huggingface_hub

Browse files
.job_config.json ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "job": "extension",
3
+ "config": {
4
+ "name": "qwen_image_sethos_lora_v1",
5
+ "process": [
6
+ {
7
+ "type": "ui_trainer",
8
+ "training_folder": "/home/featurize/ai-toolkit/output",
9
+ "sqlite_db_path": "/home/featurize/ai-toolkit/aitk_db.db",
10
+ "device": "cuda",
11
+ "trigger_word": null,
12
+ "performance_log_every": 10,
13
+ "network": {
14
+ "type": "lora",
15
+ "linear": 16,
16
+ "linear_alpha": 16,
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": 4000,
29
+ "save_format": "diffusers",
30
+ "push_to_hub": false
31
+ },
32
+ "datasets": [
33
+ {
34
+ "folder_path": "/home/featurize/ai-toolkit/datasets/Sethos_Images_Captioned",
35
+ "control_path": null,
36
+ "mask_path": null,
37
+ "mask_min_value": 0.1,
38
+ "default_caption": "",
39
+ "caption_ext": "txt",
40
+ "caption_dropout_rate": 0.05,
41
+ "cache_latents_to_disk": false,
42
+ "is_reg": false,
43
+ "network_weight": 1,
44
+ "resolution": [
45
+ 512,
46
+ 768,
47
+ 1024
48
+ ],
49
+ "controls": [],
50
+ "shrink_video_to_frames": true,
51
+ "num_frames": 1,
52
+ "do_i2v": true
53
+ }
54
+ ],
55
+ "train": {
56
+ "batch_size": 1,
57
+ "bypass_guidance_embedding": false,
58
+ "steps": 30000,
59
+ "gradient_accumulation": 1,
60
+ "train_unet": true,
61
+ "train_text_encoder": false,
62
+ "gradient_checkpointing": true,
63
+ "noise_scheduler": "flowmatch",
64
+ "optimizer": "adamw8bit",
65
+ "timestep_type": "weighted",
66
+ "content_or_style": "balanced",
67
+ "optimizer_params": {
68
+ "weight_decay": 0.0001
69
+ },
70
+ "unload_text_encoder": false,
71
+ "cache_text_embeddings": true,
72
+ "lr": 0.0001,
73
+ "ema_config": {
74
+ "use_ema": false,
75
+ "ema_decay": 0.99
76
+ },
77
+ "skip_first_sample": false,
78
+ "disable_sampling": false,
79
+ "dtype": "bf16",
80
+ "diff_output_preservation": false,
81
+ "diff_output_preservation_multiplier": 1,
82
+ "diff_output_preservation_class": "person"
83
+ },
84
+ "model": {
85
+ "name_or_path": "Qwen/Qwen-Image",
86
+ "quantize": true,
87
+ "qtype": "uint3|ostris/accuracy_recovery_adapters/qwen_image_torchao_uint3.safetensors",
88
+ "quantize_te": true,
89
+ "qtype_te": "qfloat8",
90
+ "arch": "qwen_image",
91
+ "low_vram": true,
92
+ "model_kwargs": {}
93
+ },
94
+ "sample": {
95
+ "sampler": "flowmatch",
96
+ "sample_every": 250,
97
+ "width": 768,
98
+ "height": 768,
99
+ "samples": [
100
+ {
101
+ "prompt": "In the style of Sethos, This is a digital anime-style illustration featuring a young man with long, flowing black hair with green highlights and bright green eyes. He is dressed in a white and gold ornate outfit with purple accents and a yellow scarf. he is eating icecream."
102
+ }
103
+ ],
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
+ }
112
+ }
113
+ ]
114
+ },
115
+ "meta": {
116
+ "name": "[name]",
117
+ "version": "1.0"
118
+ }
119
+ }
config.yaml ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: qwen_image_sethos_lora_v1
4
+ process:
5
+ - type: ui_trainer
6
+ training_folder: /home/featurize/ai-toolkit/output
7
+ sqlite_db_path: /home/featurize/ai-toolkit/aitk_db.db
8
+ device: cuda
9
+ trigger_word: null
10
+ performance_log_every: 10
11
+ network:
12
+ type: lora
13
+ linear: 16
14
+ linear_alpha: 16
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: 4000
25
+ save_format: diffusers
26
+ push_to_hub: false
27
+ datasets:
28
+ - folder_path: /home/featurize/ai-toolkit/datasets/Sethos_Images_Captioned
29
+ control_path: null
30
+ mask_path: null
31
+ mask_min_value: 0.1
32
+ default_caption: ''
33
+ caption_ext: txt
34
+ caption_dropout_rate: 0.05
35
+ cache_latents_to_disk: false
36
+ is_reg: false
37
+ network_weight: 1
38
+ resolution:
39
+ - 512
40
+ - 768
41
+ - 1024
42
+ controls: []
43
+ shrink_video_to_frames: true
44
+ num_frames: 1
45
+ do_i2v: true
46
+ train:
47
+ batch_size: 1
48
+ bypass_guidance_embedding: false
49
+ steps: 30000
50
+ gradient_accumulation: 1
51
+ train_unet: true
52
+ train_text_encoder: false
53
+ gradient_checkpointing: true
54
+ noise_scheduler: flowmatch
55
+ optimizer: adamw8bit
56
+ timestep_type: weighted
57
+ content_or_style: balanced
58
+ optimizer_params:
59
+ weight_decay: 0.0001
60
+ unload_text_encoder: false
61
+ cache_text_embeddings: true
62
+ lr: 0.0001
63
+ ema_config:
64
+ use_ema: false
65
+ ema_decay: 0.99
66
+ skip_first_sample: false
67
+ disable_sampling: false
68
+ dtype: bf16
69
+ diff_output_preservation: false
70
+ diff_output_preservation_multiplier: 1
71
+ diff_output_preservation_class: person
72
+ model:
73
+ name_or_path: Qwen/Qwen-Image
74
+ quantize: true
75
+ qtype: uint3|ostris/accuracy_recovery_adapters/qwen_image_torchao_uint3.safetensors
76
+ quantize_te: true
77
+ qtype_te: qfloat8
78
+ arch: qwen_image
79
+ low_vram: true
80
+ model_kwargs: {}
81
+ sample:
82
+ sampler: flowmatch
83
+ sample_every: 250
84
+ width: 768
85
+ height: 768
86
+ samples:
87
+ - prompt: In the style of Sethos, This is a digital anime-style illustration
88
+ featuring a young man with long, flowing black hair with green highlights
89
+ and bright green eyes. He is dressed in a white and gold ornate outfit with
90
+ purple accents and a yellow scarf. he is eating icecream.
91
+ neg: ''
92
+ seed: 42
93
+ walk_seed: true
94
+ guidance_scale: 4
95
+ sample_steps: 25
96
+ num_frames: 1
97
+ fps: 1
98
+ meta:
99
+ name: qwen_image_sethos_lora_v1
100
+ version: '1.0'
log.txt ADDED
The diff for this file is too large to render. See raw diff
 
logs/0_log.txt ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Running 1 job
2
+ {
3
+ "type": "ui_trainer",
4
+ "training_folder": "/home/featurize/ai-toolkit/output",
5
+ "sqlite_db_path": "/home/featurize/ai-toolkit/aitk_db.db",
6
+ "device": "cuda",
7
+ "trigger_word": null,
8
+ "performance_log_every": 10,
9
+ "network": {
10
+ "type": "lora",
11
+ "linear": 16,
12
+ "linear_alpha": 16,
13
+ "conv": 16,
14
+ "conv_alpha": 16,
15
+ "lokr_full_rank": true,
16
+ "lokr_factor": -1,
17
+ "network_kwargs": {
18
+ "ignore_if_contains": []
19
+ }
20
+ },
21
+ "save": {
22
+ "dtype": "bf16",
23
+ "save_every": 250,
24
+ "max_step_saves_to_keep": 4000,
25
+ "save_format": "diffusers",
26
+ "push_to_hub": false
27
+ },
28
+ "datasets": [
29
+ {
30
+ "folder_path": "/home/featurize/ai-toolkit/datasets/Sethos_Images_Captioned",
31
+ "control_path": null,
32
+ "mask_path": null,
33
+ "mask_min_value": 0.1,
34
+ "default_caption": "",
35
+ "caption_ext": "txt",
36
+ "caption_dropout_rate": 0.05,
37
+ "cache_latents_to_disk": false,
38
+ "is_reg": false,
39
+ "network_weight": 1,
40
+ "resolution": [
41
+ 512,
42
+ 768,
43
+ 1024
44
+ ],
45
+ "controls": [],
46
+ "shrink_video_to_frames": true,
47
+ "num_frames": 1,
48
+ "do_i2v": true
49
+ }
50
+ ],
51
+ "train": {
52
+ "batch_size": 1,
53
+ "bypass_guidance_embedding": false,
54
+ "steps": 3000,
55
+ "gradient_accumulation": 1,
56
+ "train_unet": true,
57
+ "train_text_encoder": false,
58
+ "gradient_checkpointing": true,
59
+ "noise_scheduler": "flowmatch",
60
+ "optimizer": "adamw8bit",
61
+ "timestep_type": "weighted",
62
+ "content_or_style": "balanced",
63
+ "optimizer_params": {
64
+ "weight_decay": 0.0001
65
+ },
66
+ "unload_text_encoder": false,
67
+ "cache_text_embeddings": true,
68
+ "lr": 0.0001,
69
+ "ema_config": {
70
+ "use_ema": false,
71
+ "ema_decay": 0.99
72
+ },
73
+ "skip_first_sample": false,
74
+ "disable_sampling": false,
75
+ "dtype": "bf16",
76
+ "diff_output_preservation": false,
77
+ "diff_output_preservation_multiplier": 1,
78
+ "diff_output_preservation_class": "person"
79
+ },
80
+ "model": {
81
+ "name_or_path": "Qwen/Qwen-Image",
82
+ "quantize": true,
83
+ "qtype": "uint3|ostris/accuracy_recovery_adapters/qwen_image_torchao_uint3.safetensors",
84
+ "quantize_te": true,
85
+ "qtype_te": "qfloat8",
86
+ "arch": "qwen_image",
87
+ "low_vram": true,
88
+ "model_kwargs": {}
89
+ },
90
+ "sample": {
91
+ "sampler": "flowmatch",
92
+ "sample_every": 250,
93
+ "width": 768,
94
+ "height": 768,
95
+ "samples": [
96
+ {
97
+ "prompt": "In the style of Sethos, This is a digital anime-style illustration featuring a young man with long, flowing black hair with green highlights and bright green eyes. He is dressed in a white and gold ornate outfit with purple accents and a yellow scarf. he is eating icecream."
98
+ }
99
+ ],
100
+ "neg": "",
101
+ "seed": 42,
102
+ "walk_seed": true,
103
+ "guidance_scale": 4,
104
+ "sample_steps": 25,
105
+ "num_frames": 1,
106
+ "fps": 1
107
+ }
108
+ }
109
+ Using EMA
110
+ Using SQLite database at /home/featurize/ai-toolkit/aitk_db.db
111
+ Job ID: "5a059c5f-8a03-4ce4-9b76-67537c17317e"
112
+
113
+ #############################################
114
+ # Running job: qwen_image_sethos_lora_v1
115
+ #############################################
116
+
117
+
118
+ Running 1 process
119
+ Loading Qwen Image model
120
+ Loading transformer
121
+
122
+
123
+ Quantizing Transformer
124
+ Grabbing lora from the hub: ostris/accuracy_recovery_adapters/qwen_image_torchao_uint3.safetensors
125
+
126
+
127
+ Error running job: An error occurred while downloading using `hf_transfer`. Consider disabling HF_HUB_ENABLE_HF_TRANSFER for better error handling.
128
+
129
+ ========================================
130
+ Result:
131
+ - 0 completed jobs
132
+ - 1 failure
133
+ ========================================
134
+ Traceback (most recent call last):
135
+ Traceback (most recent call last):
136
+ File "/environment/miniconda3/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 470, in http_get
137
+ File "/environment/miniconda3/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 470, in http_get
138
+ hf_transfer.download(hf_transfer.download(
139
+
140
+ ExceptionException: : Failed too many failures in parallel (3): Request: error decoding response body (no permits available)Failed too many failures in parallel (3): Request: error decoding response body (no permits available)
141
+
142
+
143
+
144
+ The above exception was the direct cause of the following exception:
145
+ The above exception was the direct cause of the following exception:
146
+
147
+
148
+ Traceback (most recent call last):
149
+ Traceback (most recent call last):
150
+ File "/home/featurize/ai-toolkit/run.py", line 120, in <module>
151
+ File "/home/featurize/ai-toolkit/run.py", line 120, in <module>
152
+ main()main()
153
+
154
+ File "/home/featurize/ai-toolkit/run.py", line 108, in main
155
+ File "/home/featurize/ai-toolkit/run.py", line 108, in main
156
+ raise eraise e
157
+
158
+ File "/home/featurize/ai-toolkit/run.py", line 96, in main
159
+ File "/home/featurize/ai-toolkit/run.py", line 96, in main
160
+ job.run()job.run()
161
+
162
+ File "/home/featurize/ai-toolkit/jobs/ExtensionJob.py", line 22, in run
163
+ File "/home/featurize/ai-toolkit/jobs/ExtensionJob.py", line 22, in run
164
+ process.run()process.run()
165
+
166
+ File "/home/featurize/ai-toolkit/jobs/process/BaseSDTrainProcess.py", line 1534, in run
167
+ File "/home/featurize/ai-toolkit/jobs/process/BaseSDTrainProcess.py", line 1534, in run
168
+ self.sd.load_model()self.sd.load_model()
169
+
170
+ File "/home/featurize/ai-toolkit/extensions_built_in/diffusion_models/qwen_image/qwen_image.py", line 102, in load_model
171
+ File "/home/featurize/ai-toolkit/extensions_built_in/diffusion_models/qwen_image/qwen_image.py", line 102, in load_model
172
+ quantize_model(self, transformer)quantize_model(self, transformer)
173
+
174
+ File "/home/featurize/ai-toolkit/toolkit/util/quantize.py", line 161, in quantize_model
175
+ File "/home/featurize/ai-toolkit/toolkit/util/quantize.py", line 161, in quantize_model
176
+ new_lora_path = hf_hub_download(new_lora_path = hf_hub_download(
177
+
178
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
179
+
180
+ File "/environment/miniconda3/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
181
+ File "/environment/miniconda3/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
182
+ return fn(*args, **kwargs)return fn(*args, **kwargs)
183
+
184
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
185
+
186
+ File "/environment/miniconda3/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1010, in hf_hub_download
187
+ File "/environment/miniconda3/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1010, in hf_hub_download
188
+ return _hf_hub_download_to_cache_dir(return _hf_hub_download_to_cache_dir(
189
+
190
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
191
+
192
+ File "/environment/miniconda3/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1171, in _hf_hub_download_to_cache_dir
193
+ File "/environment/miniconda3/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1171, in _hf_hub_download_to_cache_dir
194
+ _download_to_tmp_and_move(_download_to_tmp_and_move(
195
+
196
+ File "/environment/miniconda3/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1738, in _download_to_tmp_and_move
197
+ File "/environment/miniconda3/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1738, in _download_to_tmp_and_move
198
+ http_get(http_get(
199
+
200
+ File "/environment/miniconda3/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 481, in http_get
201
+ File "/environment/miniconda3/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 481, in http_get
202
+ raise RuntimeError(raise RuntimeError(
203
+
204
+ RuntimeErrorRuntimeError: : An error occurred while downloading using `hf_transfer`. Consider disabling HF_HUB_ENABLE_HF_TRANSFER for better error handling.An error occurred while downloading using `hf_transfer`. Consider disabling HF_HUB_ENABLE_HF_TRANSFER for better error handling.
205
+
logs/1_log.txt ADDED
The diff for this file is too large to render. See raw diff
 
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f0b4d2b65b581b1b331ae6ad748e713d78a87bd4de2d7bdac398635e5828112
3
+ size 300280909
qwen_image_sethos_lora_v1_000000250.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb7e4f6e072763e58b288b4bd38c69a37a8c6e4c886e3048f0cb2a429d34b599
3
+ size 295146200
qwen_image_sethos_lora_v1_000000500.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30bdd06b7ab3b3e44f79a85c94f52f77860fb8fd11cde7bbb1fc5ae77ac9d727
3
+ size 295146200
qwen_image_sethos_lora_v1_000000750.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdca99da6d92da529959965a39a1b5f95db66c025c75fadfe11b1512e28df764
3
+ size 295146200
qwen_image_sethos_lora_v1_000001000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a074861754482bdf182da64bab6a066d99cbb30da9d8999cabe11602d49e2a38
3
+ size 295146200
qwen_image_sethos_lora_v1_000001250.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f20a322debabee31227dbc6632dca8907d92a4d817ecde3f2f905a9ab2a16c06
3
+ size 295146200
qwen_image_sethos_lora_v1_000001500.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1e21707b230417651ea5f5ee7a53b1d5b81540de3a7e6de6f89cf9923471e6d
3
+ size 295146200
qwen_image_sethos_lora_v1_000001750.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54910981c0bf177711e83b186fd69bab625194cd2bafd4365195a0eed7dd6876
3
+ size 295146200
qwen_image_sethos_lora_v1_000002000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc6b3281a6e59550276e1ccc7ddebc56517e59b88d0efc4f6d19eadfa3b93d39
3
+ size 295146200
samples/1755052933770__000000000_0.jpg ADDED
samples/1755053325976__000000000_0.jpg ADDED
samples/1755055086904__000000250_0.jpg ADDED
samples/1755056858741__000000500_0.jpg ADDED
samples/1755058575882__000000750_0.jpg ADDED
samples/1755060303795__000001000_0.jpg ADDED
samples/1755062023873__000001250_0.jpg ADDED
samples/1755063768942__000001500_0.jpg ADDED
samples/1755065495982__000001750_0.jpg ADDED
samples/1755067250147__000002000_0.jpg ADDED