bhismaperkasa commited on
Commit
d7050ba
·
verified ·
1 Parent(s): 142835d

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +9 -0
  2. .job_config.json +138 -0
  3. config.yaml +106 -0
  4. log.txt +0 -0
  5. logs/0_log.txt +271 -0
  6. optimizer.pt +3 -0
  7. pejuang_kemerdekaan_000003750.safetensors +3 -0
  8. pejuang_kemerdekaan_000004000.safetensors +3 -0
  9. pejuang_kemerdekaan_000004250.safetensors +3 -0
  10. pejuang_kemerdekaan_000004500.safetensors +3 -0
  11. samples/1753982934535__000000000_0.jpg +3 -0
  12. samples/1753982965207__000000000_1.jpg +0 -0
  13. samples/1753982996129__000000000_2.jpg +0 -0
  14. samples/1753983027096__000000000_3.jpg +0 -0
  15. samples/1753983058099__000000000_4.jpg +3 -0
  16. samples/1753983089194__000000000_5.jpg +3 -0
  17. samples/1753984723337__000000250_0.jpg +3 -0
  18. samples/1753984754725__000000250_1.jpg +0 -0
  19. samples/1753984786035__000000250_2.jpg +0 -0
  20. samples/1753984817452__000000250_3.jpg +0 -0
  21. samples/1753984848778__000000250_4.jpg +3 -0
  22. samples/1753984880102__000000250_5.jpg +3 -0
  23. samples/1753986474327__000000500_0.jpg +3 -0
  24. samples/1753986505655__000000500_1.jpg +0 -0
  25. samples/1753986537003__000000500_2.jpg +0 -0
  26. samples/1753986568323__000000500_3.jpg +0 -0
  27. samples/1753986599655__000000500_4.jpg +3 -0
  28. samples/1753986630992__000000500_5.jpg +3 -0
  29. samples/1753988231151__000000750_0.jpg +0 -0
  30. samples/1753988262391__000000750_1.jpg +0 -0
  31. samples/1753988293546__000000750_2.jpg +0 -0
  32. samples/1753988324753__000000750_3.jpg +0 -0
  33. samples/1753988355905__000000750_4.jpg +0 -0
  34. samples/1753988387113__000000750_5.jpg +0 -0
  35. samples/1753989995349__000001000_0.jpg +0 -0
  36. samples/1753990026476__000001000_1.jpg +0 -0
  37. samples/1753990057651__000001000_2.jpg +0 -0
  38. samples/1753990088891__000001000_3.jpg +0 -0
  39. samples/1753990120100__000001000_4.jpg +0 -0
  40. samples/1753990151243__000001000_5.jpg +0 -0
  41. samples/1753991758511__000001250_0.jpg +0 -0
  42. samples/1753991789646__000001250_1.jpg +0 -0
  43. samples/1753991820758__000001250_2.jpg +0 -0
  44. samples/1753991851826__000001250_3.jpg +0 -0
  45. samples/1753991882992__000001250_4.jpg +0 -0
  46. samples/1753991914119__000001250_5.jpg +0 -0
  47. samples/1753993515406__000001500_0.jpg +0 -0
  48. samples/1753993546412__000001500_1.jpg +0 -0
  49. samples/1753993577428__000001500_2.jpg +0 -0
  50. samples/1753993608427__000001500_3.jpg +0 -0
.gitattributes CHANGED
@@ -33,3 +33,12 @@ 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
+ samples/1753982934535__000000000_0.jpg filter=lfs diff=lfs merge=lfs -text
37
+ samples/1753983058099__000000000_4.jpg filter=lfs diff=lfs merge=lfs -text
38
+ samples/1753983089194__000000000_5.jpg filter=lfs diff=lfs merge=lfs -text
39
+ samples/1753984723337__000000250_0.jpg filter=lfs diff=lfs merge=lfs -text
40
+ samples/1753984848778__000000250_4.jpg filter=lfs diff=lfs merge=lfs -text
41
+ samples/1753984880102__000000250_5.jpg filter=lfs diff=lfs merge=lfs -text
42
+ samples/1753986474327__000000500_0.jpg filter=lfs diff=lfs merge=lfs -text
43
+ samples/1753986599655__000000500_4.jpg filter=lfs diff=lfs merge=lfs -text
44
+ samples/1753986630992__000000500_5.jpg filter=lfs diff=lfs merge=lfs -text
.job_config.json ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "job": "extension",
3
+ "config": {
4
+ "name": "pejuang_kemerdekaan",
5
+ "process": [
6
+ {
7
+ "type": "ui_trainer",
8
+ "training_folder": "/app/ai-toolkit/output",
9
+ "sqlite_db_path": "/app/ai-toolkit/aitk_db.db",
10
+ "device": "cuda",
11
+ "trigger_word": null,
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": 4,
29
+ "save_format": "diffusers",
30
+ "push_to_hub": false
31
+ },
32
+ "datasets": [
33
+ {
34
+ "folder_path": "/app/ai-toolkit/datasets/target",
35
+ "control_path": "/app/ai-toolkit/datasets/control",
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
+ }
53
+ ],
54
+ "train": {
55
+ "batch_size": 1,
56
+ "bypass_guidance_embedding": false,
57
+ "steps": 10000,
58
+ "gradient_accumulation": 1,
59
+ "train_unet": true,
60
+ "train_text_encoder": false,
61
+ "gradient_checkpointing": true,
62
+ "noise_scheduler": "flowmatch",
63
+ "optimizer": "adamw8bit",
64
+ "timestep_type": "weighted",
65
+ "content_or_style": "balanced",
66
+ "optimizer_params": {
67
+ "weight_decay": 0.0001
68
+ },
69
+ "unload_text_encoder": false,
70
+ "lr": 0.0001,
71
+ "ema_config": {
72
+ "use_ema": false,
73
+ "ema_decay": 0.99
74
+ },
75
+ "skip_first_sample": false,
76
+ "disable_sampling": false,
77
+ "dtype": "bf16",
78
+ "diff_output_preservation": false,
79
+ "diff_output_preservation_multiplier": 1,
80
+ "diff_output_preservation_class": "person"
81
+ },
82
+ "model": {
83
+ "name_or_path": "black-forest-labs/FLUX.1-Kontext-dev",
84
+ "quantize": true,
85
+ "qtype": "qfloat8",
86
+ "quantize_te": true,
87
+ "qtype_te": "qfloat8",
88
+ "arch": "flux_kontext",
89
+ "low_vram": false,
90
+ "model_kwargs": {}
91
+ },
92
+ "sample": {
93
+ "sampler": "flowmatch",
94
+ "sample_every": 250,
95
+ "width": 512,
96
+ "height": 783,
97
+ "samples": [
98
+ {
99
+ "prompt": "make this clothes and backgrounds a pejuang kemerdekaan style",
100
+ "ctrl_img": "/app/ai-toolkit/data/images/e7bb38a8-922a-4a4a-b0d8-045afb88db7a.jpg"
101
+ },
102
+ {
103
+ "prompt": "make this clothes and backgrounds a pejuang kemerdekaan style",
104
+ "ctrl_img": "/app/ai-toolkit/data/images/ab390ba0-2347-49ea-b4b3-1d767a9131d7.jpg"
105
+ },
106
+ {
107
+ "prompt": "make this clothes and backgrounds a pejuang kemerdekaan style",
108
+ "ctrl_img": "/app/ai-toolkit/data/images/8669f2e0-d255-4fb9-bc5b-1c7b10810151.jpg"
109
+ },
110
+ {
111
+ "prompt": "make this clothes and backgrounds a pejuang kemerdekaan style",
112
+ "ctrl_img": "/app/ai-toolkit/data/images/36b72f14-5e7f-46ab-a447-1fcb4a1c3ebf.jpg"
113
+ },
114
+ {
115
+ "prompt": "make this clothes and backgrounds a pejuang kemerdekaan style",
116
+ "ctrl_img": "/app/ai-toolkit/data/images/90fd361f-7cd3-436a-be9e-fa199c2bd773.jpg"
117
+ },
118
+ {
119
+ "prompt": "make this clothes and backgrounds a pejuang kemerdekaan style",
120
+ "ctrl_img": "/app/ai-toolkit/data/images/b290500b-9090-4e56-932b-418c24d3b0e6.jpg"
121
+ }
122
+ ],
123
+ "neg": "",
124
+ "seed": 42,
125
+ "walk_seed": true,
126
+ "guidance_scale": 4,
127
+ "sample_steps": 25,
128
+ "num_frames": 1,
129
+ "fps": 1
130
+ }
131
+ }
132
+ ]
133
+ },
134
+ "meta": {
135
+ "name": "[name]",
136
+ "version": "1.0"
137
+ }
138
+ }
config.yaml ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: pejuang_kemerdekaan
4
+ process:
5
+ - type: ui_trainer
6
+ training_folder: /app/ai-toolkit/output
7
+ sqlite_db_path: /app/ai-toolkit/aitk_db.db
8
+ device: cuda
9
+ trigger_word: null
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: /app/ai-toolkit/datasets/target
29
+ control_path: /app/ai-toolkit/datasets/control
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
+ train:
46
+ batch_size: 1
47
+ bypass_guidance_embedding: false
48
+ steps: 10000
49
+ gradient_accumulation: 1
50
+ train_unet: true
51
+ train_text_encoder: false
52
+ gradient_checkpointing: true
53
+ noise_scheduler: flowmatch
54
+ optimizer: adamw8bit
55
+ timestep_type: weighted
56
+ content_or_style: balanced
57
+ optimizer_params:
58
+ weight_decay: 0.0001
59
+ unload_text_encoder: false
60
+ lr: 0.0001
61
+ ema_config:
62
+ use_ema: false
63
+ ema_decay: 0.99
64
+ skip_first_sample: false
65
+ disable_sampling: false
66
+ dtype: bf16
67
+ diff_output_preservation: false
68
+ diff_output_preservation_multiplier: 1
69
+ diff_output_preservation_class: person
70
+ model:
71
+ name_or_path: black-forest-labs/FLUX.1-Kontext-dev
72
+ quantize: true
73
+ qtype: qfloat8
74
+ quantize_te: true
75
+ qtype_te: qfloat8
76
+ arch: flux_kontext
77
+ low_vram: false
78
+ model_kwargs: {}
79
+ sample:
80
+ sampler: flowmatch
81
+ sample_every: 250
82
+ width: 512
83
+ height: 783
84
+ samples:
85
+ - prompt: make this clothes and backgrounds a pejuang kemerdekaan style
86
+ ctrl_img: /app/ai-toolkit/data/images/e7bb38a8-922a-4a4a-b0d8-045afb88db7a.jpg
87
+ - prompt: make this clothes and backgrounds a pejuang kemerdekaan style
88
+ ctrl_img: /app/ai-toolkit/data/images/ab390ba0-2347-49ea-b4b3-1d767a9131d7.jpg
89
+ - prompt: make this clothes and backgrounds a pejuang kemerdekaan style
90
+ ctrl_img: /app/ai-toolkit/data/images/8669f2e0-d255-4fb9-bc5b-1c7b10810151.jpg
91
+ - prompt: make this clothes and backgrounds a pejuang kemerdekaan style
92
+ ctrl_img: /app/ai-toolkit/data/images/36b72f14-5e7f-46ab-a447-1fcb4a1c3ebf.jpg
93
+ - prompt: make this clothes and backgrounds a pejuang kemerdekaan style
94
+ ctrl_img: /app/ai-toolkit/data/images/90fd361f-7cd3-436a-be9e-fa199c2bd773.jpg
95
+ - prompt: make this clothes and backgrounds a pejuang kemerdekaan style
96
+ ctrl_img: /app/ai-toolkit/data/images/b290500b-9090-4e56-932b-418c24d3b0e6.jpg
97
+ neg: ''
98
+ seed: 42
99
+ walk_seed: true
100
+ guidance_scale: 4
101
+ sample_steps: 25
102
+ num_frames: 1
103
+ fps: 1
104
+ meta:
105
+ name: pejuang_kemerdekaan
106
+ 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,271 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Running 1 job
2
+ {
3
+ "type": "ui_trainer",
4
+ "training_folder": "/app/ai-toolkit/output",
5
+ "sqlite_db_path": "/app/ai-toolkit/aitk_db.db",
6
+ "device": "cuda",
7
+ "trigger_word": null,
8
+ "performance_log_every": 10,
9
+ "network": {
10
+ "type": "lora",
11
+ "linear": 32,
12
+ "linear_alpha": 32,
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": 4,
25
+ "save_format": "diffusers",
26
+ "push_to_hub": false
27
+ },
28
+ "datasets": [
29
+ {
30
+ "folder_path": "/app/ai-toolkit/datasets/target",
31
+ "control_path": "/app/ai-toolkit/datasets/control",
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
+ }
49
+ ],
50
+ "train": {
51
+ "batch_size": 1,
52
+ "bypass_guidance_embedding": false,
53
+ "steps": 10000,
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
+ },
65
+ "unload_text_encoder": false,
66
+ "lr": 0.0001,
67
+ "ema_config": {
68
+ "use_ema": false,
69
+ "ema_decay": 0.99
70
+ },
71
+ "skip_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
+ },
78
+ "model": {
79
+ "name_or_path": "black-forest-labs/FLUX.1-Kontext-dev",
80
+ "quantize": true,
81
+ "qtype": "qfloat8",
82
+ "quantize_te": true,
83
+ "qtype_te": "qfloat8",
84
+ "arch": "flux_kontext",
85
+ "low_vram": false,
86
+ "model_kwargs": {}
87
+ },
88
+ "sample": {
89
+ "sampler": "flowmatch",
90
+ "sample_every": 250,
91
+ "width": 512,
92
+ "height": 783,
93
+ "samples": [
94
+ {
95
+ "prompt": "make this clothes and backgrounds a pejuang kemerdekaan style",
96
+ "ctrl_img": "/app/ai-toolkit/data/images/e7bb38a8-922a-4a4a-b0d8-045afb88db7a.jpg"
97
+ },
98
+ {
99
+ "prompt": "make this clothes and backgrounds a pejuang kemerdekaan style",
100
+ "ctrl_img": "/app/ai-toolkit/data/images/ab390ba0-2347-49ea-b4b3-1d767a9131d7.jpg"
101
+ },
102
+ {
103
+ "prompt": "make this clothes and backgrounds a pejuang kemerdekaan style",
104
+ "ctrl_img": "/app/ai-toolkit/data/images/8669f2e0-d255-4fb9-bc5b-1c7b10810151.jpg"
105
+ },
106
+ {
107
+ "prompt": "make this clothes and backgrounds a pejuang kemerdekaan style",
108
+ "ctrl_img": "/app/ai-toolkit/data/images/36b72f14-5e7f-46ab-a447-1fcb4a1c3ebf.jpg"
109
+ },
110
+ {
111
+ "prompt": "make this clothes and backgrounds a pejuang kemerdekaan style",
112
+ "ctrl_img": "/app/ai-toolkit/data/images/90fd361f-7cd3-436a-be9e-fa199c2bd773.jpg"
113
+ },
114
+ {
115
+ "prompt": "make this clothes and backgrounds a pejuang kemerdekaan style",
116
+ "ctrl_img": "/app/ai-toolkit/data/images/b290500b-9090-4e56-932b-418c24d3b0e6.jpg"
117
+ }
118
+ ],
119
+ "neg": "",
120
+ "seed": 42,
121
+ "walk_seed": true,
122
+ "guidance_scale": 4,
123
+ "sample_steps": 25,
124
+ "num_frames": 1,
125
+ "fps": 1
126
+ }
127
+ }
128
+ Using EMA
129
+ Using SQLite database at /app/ai-toolkit/aitk_db.db
130
+ Job ID: "0b142013-aafd-4f71-964a-4f38883ea912"
131
+
132
+ #############################################
133
+ # Running job: pejuang_kemerdekaan
134
+ #############################################
135
+
136
+
137
+ Running 1 process
138
+ Loading Flux Kontext model
139
+ Loading transformer
140
+ Error running job: black-forest-labs/FLUX.1-Kontext-dev is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
141
+ If this is a private repository, make sure to pass a token having permission to this repo with `token` or log in with `hf auth login`.
142
+
143
+ ========================================
144
+ Result:
145
+ - 0 completed jobs
146
+ - 1 failure
147
+ ========================================
148
+ Traceback (most recent call last):
149
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_http.py", line 409, in hf_raise_for_status
150
+ response.raise_for_status()
151
+ File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 1026, in raise_for_status
152
+ raise HTTPError(http_error_msg, response=self)
153
+ requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev/resolve/main/transformer/config.json
154
+
155
+ The above exception was the direct cause of the following exception:
156
+
157
+ Traceback (most recent call last):
158
+ File "/usr/local/lib/python3.10/dist-packages/diffusers/configuration_utils.py", line 392, in load_config
159
+ config_file = hf_hub_download(
160
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
161
+ return fn(*args, **kwargs)
162
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1010, in hf_hub_download
163
+ return _hf_hub_download_to_cache_dir(
164
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1117, in _hf_hub_download_to_cache_dir
165
+ _raise_on_head_call_error(head_call_error, force_download, local_files_only)
166
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1658, in _raise_on_head_call_error
167
+ raise head_call_error
168
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1546, in _get_metadata_or_catch_error
169
+ metadata = get_hf_file_metadata(
170
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
171
+ return fn(*args, **kwargs)
172
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1463, in get_hf_file_metadata
173
+ r = _request_wrapper(
174
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 286, in _request_wrapper
175
+ response = _request_wrapper(
176
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 310, in _request_wrapper
177
+ hf_raise_for_status(response)
178
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_http.py", line 426, in hf_raise_for_status
179
+ raise _format(GatedRepoError, message, response) from e
180
+ huggingface_hub.errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-688ba654-546bcf4619c5d83f42a849d1;dc97c631-791b-4368-98d3-01c6497dff64)
181
+
182
+ Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev/resolve/main/transformer/config.json.
183
+ Access to model black-forest-labs/FLUX.1-Kontext-dev is restricted. You must have access to it and be authenticated to access it. Please log in.
184
+
185
+ During handling of the above exception, another exception occurred:
186
+
187
+ Traceback (most recent call last):
188
+ File "/app/ai-toolkit/run.py", line 120, in <module>
189
+ main()
190
+ File "/app/ai-toolkit/run.py", line 108, in main
191
+ raise e
192
+ File "/app/ai-toolkit/run.py", line 96, in main
193
+ job.run()
194
+ File "/app/ai-toolkit/jobs/ExtensionJob.py", line 22, in run
195
+ process.run()
196
+ File "/app/ai-toolkit/jobs/process/BaseSDTrainProcess.py", line 1518, in run
197
+ self.sd.load_model()
198
+ File "/app/ai-toolkit/extensions_built_in/diffusion_models/flux_kontext/flux_kontext.py", line 95, in load_model
199
+ transformer = FluxTransformer2DModel.from_pretrained(
200
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
201
+ return fn(*args, **kwargs)
202
+ File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 1077, in from_pretrained
203
+ config, unused_kwargs, commit_hash = cls.load_config(
204
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
205
+ return fn(*args, **kwargs)
206
+ File "/usr/local/lib/python3.10/dist-packages/diffusers/configuration_utils.py", line 407, in load_config
207
+ raise EnvironmentError(
208
+ OSError: black-forest-labs/FLUX.1-Kontext-dev is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
209
+ If this is a private repository, make sure to pass a token having permission to this repo with `token` or log in with `hf auth login`.
210
+ Traceback (most recent call last):
211
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_http.py", line 409, in hf_raise_for_status
212
+ response.raise_for_status()
213
+ File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 1026, in raise_for_status
214
+ raise HTTPError(http_error_msg, response=self)
215
+ requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev/resolve/main/transformer/config.json
216
+
217
+ The above exception was the direct cause of the following exception:
218
+
219
+ Traceback (most recent call last):
220
+ File "/usr/local/lib/python3.10/dist-packages/diffusers/configuration_utils.py", line 392, in load_config
221
+ config_file = hf_hub_download(
222
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
223
+ return fn(*args, **kwargs)
224
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1010, in hf_hub_download
225
+ return _hf_hub_download_to_cache_dir(
226
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1117, in _hf_hub_download_to_cache_dir
227
+ _raise_on_head_call_error(head_call_error, force_download, local_files_only)
228
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1658, in _raise_on_head_call_error
229
+ raise head_call_error
230
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1546, in _get_metadata_or_catch_error
231
+ metadata = get_hf_file_metadata(
232
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
233
+ return fn(*args, **kwargs)
234
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1463, in get_hf_file_metadata
235
+ r = _request_wrapper(
236
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 286, in _request_wrapper
237
+ response = _request_wrapper(
238
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 310, in _request_wrapper
239
+ hf_raise_for_status(response)
240
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_http.py", line 426, in hf_raise_for_status
241
+ raise _format(GatedRepoError, message, response) from e
242
+ huggingface_hub.errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-688ba654-546bcf4619c5d83f42a849d1;dc97c631-791b-4368-98d3-01c6497dff64)
243
+
244
+ Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev/resolve/main/transformer/config.json.
245
+ Access to model black-forest-labs/FLUX.1-Kontext-dev is restricted. You must have access to it and be authenticated to access it. Please log in.
246
+
247
+ During handling of the above exception, another exception occurred:
248
+
249
+ Traceback (most recent call last):
250
+ File "/app/ai-toolkit/run.py", line 120, in <module>
251
+ main()
252
+ File "/app/ai-toolkit/run.py", line 108, in main
253
+ raise e
254
+ File "/app/ai-toolkit/run.py", line 96, in main
255
+ job.run()
256
+ File "/app/ai-toolkit/jobs/ExtensionJob.py", line 22, in run
257
+ process.run()
258
+ File "/app/ai-toolkit/jobs/process/BaseSDTrainProcess.py", line 1518, in run
259
+ self.sd.load_model()
260
+ File "/app/ai-toolkit/extensions_built_in/diffusion_models/flux_kontext/flux_kontext.py", line 95, in load_model
261
+ transformer = FluxTransformer2DModel.from_pretrained(
262
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
263
+ return fn(*args, **kwargs)
264
+ File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 1077, in from_pretrained
265
+ config, unused_kwargs, commit_hash = cls.load_config(
266
+ File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
267
+ return fn(*args, **kwargs)
268
+ File "/usr/local/lib/python3.10/dist-packages/diffusers/configuration_utils.py", line 407, in load_config
269
+ raise EnvironmentError(
270
+ OSError: black-forest-labs/FLUX.1-Kontext-dev is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
271
+ If this is a private repository, make sure to pass a token having permission to this repo with `token` or log in with `hf auth login`.
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac1050b2dd0a1af673758794e8755bdb5fed65a5d9eb3f0a0facc3637ef75fc9
3
+ size 350203413
pejuang_kemerdekaan_000003750.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b8d59c2983e45f4036b95c677b15bab5cac2bc581829023531b738d24c495c1
3
+ size 343806392
pejuang_kemerdekaan_000004000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:781bc22c9bdf53c6433e6bd01e50fed74c53b154abd741eca41b3763d810a902
3
+ size 343806392
pejuang_kemerdekaan_000004250.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28ecf8297154c6be891a0220bccee1617576e657ad6dfc74e7dd2fbe86a3fde7
3
+ size 343806392
pejuang_kemerdekaan_000004500.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1ab170adfaebb7c703910b244c7e399108c86ab111aa3b69c4b756d090a7a07
3
+ size 343806392
samples/1753982934535__000000000_0.jpg ADDED

Git LFS Details

  • SHA256: d2633c9f8a0321ac85de78933a2d16ca10bb92a412adc92631b4a0072081623a
  • Pointer size: 131 Bytes
  • Size of remote file: 103 kB
samples/1753982965207__000000000_1.jpg ADDED
samples/1753982996129__000000000_2.jpg ADDED
samples/1753983027096__000000000_3.jpg ADDED
samples/1753983058099__000000000_4.jpg ADDED

Git LFS Details

  • SHA256: 108776f6cce582d96e3e0c44b10b6a9be5a9f65ba8036d17bf420da8dd091a55
  • Pointer size: 131 Bytes
  • Size of remote file: 116 kB
samples/1753983089194__000000000_5.jpg ADDED

Git LFS Details

  • SHA256: 8f1e2a4f3361bb5afce4ad24d9b6d3b6d2dbde2589ee1dc5f6591bffa1dd5562
  • Pointer size: 131 Bytes
  • Size of remote file: 120 kB
samples/1753984723337__000000250_0.jpg ADDED

Git LFS Details

  • SHA256: 5105308f4ba86077ed6c2169885fa16a27e8b4c16e0d250202007a56c24f06fa
  • Pointer size: 131 Bytes
  • Size of remote file: 127 kB
samples/1753984754725__000000250_1.jpg ADDED
samples/1753984786035__000000250_2.jpg ADDED
samples/1753984817452__000000250_3.jpg ADDED
samples/1753984848778__000000250_4.jpg ADDED

Git LFS Details

  • SHA256: 1620f20223b00054c8e7db9310c8010a8da88200746413be9b5fede8765708c6
  • Pointer size: 131 Bytes
  • Size of remote file: 148 kB
samples/1753984880102__000000250_5.jpg ADDED

Git LFS Details

  • SHA256: e6565a612df6ce2cef13fdab3d2f8e204e7f88449bcb434ba6cac534243989ce
  • Pointer size: 131 Bytes
  • Size of remote file: 130 kB
samples/1753986474327__000000500_0.jpg ADDED

Git LFS Details

  • SHA256: 85ff923e0612cb61f50d89d38b4209b8a6d470846c56ab3102de11b8a5681a2b
  • Pointer size: 131 Bytes
  • Size of remote file: 122 kB
samples/1753986505655__000000500_1.jpg ADDED
samples/1753986537003__000000500_2.jpg ADDED
samples/1753986568323__000000500_3.jpg ADDED
samples/1753986599655__000000500_4.jpg ADDED

Git LFS Details

  • SHA256: dd8f65d066953b7daa95a7c8a0e1d9249e099da4a6938c6e400c6480b1a8da03
  • Pointer size: 131 Bytes
  • Size of remote file: 131 kB
samples/1753986630992__000000500_5.jpg ADDED

Git LFS Details

  • SHA256: 88ac756ab3922dcdb31613aa12f96965576102bb0d40f3ddf4b0419c873eccd0
  • Pointer size: 131 Bytes
  • Size of remote file: 108 kB
samples/1753988231151__000000750_0.jpg ADDED
samples/1753988262391__000000750_1.jpg ADDED
samples/1753988293546__000000750_2.jpg ADDED
samples/1753988324753__000000750_3.jpg ADDED
samples/1753988355905__000000750_4.jpg ADDED
samples/1753988387113__000000750_5.jpg ADDED
samples/1753989995349__000001000_0.jpg ADDED
samples/1753990026476__000001000_1.jpg ADDED
samples/1753990057651__000001000_2.jpg ADDED
samples/1753990088891__000001000_3.jpg ADDED
samples/1753990120100__000001000_4.jpg ADDED
samples/1753990151243__000001000_5.jpg ADDED
samples/1753991758511__000001250_0.jpg ADDED
samples/1753991789646__000001250_1.jpg ADDED
samples/1753991820758__000001250_2.jpg ADDED
samples/1753991851826__000001250_3.jpg ADDED
samples/1753991882992__000001250_4.jpg ADDED
samples/1753991914119__000001250_5.jpg ADDED
samples/1753993515406__000001500_0.jpg ADDED
samples/1753993546412__000001500_1.jpg ADDED
samples/1753993577428__000001500_2.jpg ADDED
samples/1753993608427__000001500_3.jpg ADDED