Upload folder using huggingface_hub
Browse files- .gitattributes +7 -0
- .job_config.json +142 -0
- config.yaml +131 -0
- log.txt +0 -0
- logs/0_log.txt +244 -0
- m1nd3xpand3r-flux2_v1_000000750.safetensors +3 -0
- m1nd3xpand3r-flux2_v1_000001000.safetensors +3 -0
- m1nd3xpand3r-flux2_v1_000001250.safetensors +3 -0
- m1nd3xpand3r-flux2_v1_000001500.safetensors +3 -0
- optimizer.pt +3 -0
- pid.txt +1 -0
- samples/1764131306943__000000000_0.jpg +3 -0
- samples/1764131345550__000000000_1.jpg +0 -0
- samples/1764131417861__000000000_2.jpg +0 -0
- samples/1764131490145__000000000_3.jpg +0 -0
- samples/1764133464806__000000250_0.jpg +3 -0
- samples/1764133503475__000000250_1.jpg +0 -0
- samples/1764133575751__000000250_2.jpg +0 -0
- samples/1764133648156__000000250_3.jpg +0 -0
- samples/1764135612270__000000500_0.jpg +3 -0
- samples/1764135650905__000000500_1.jpg +0 -0
- samples/1764135723187__000000500_2.jpg +0 -0
- samples/1764135795459__000000500_3.jpg +0 -0
- samples/1764137750741__000000750_0.jpg +3 -0
- samples/1764137789452__000000750_1.jpg +0 -0
- samples/1764137861751__000000750_2.jpg +0 -0
- samples/1764137934240__000000750_3.jpg +0 -0
- samples/1764139874665__000001000_0.jpg +3 -0
- samples/1764139913226__000001000_1.jpg +0 -0
- samples/1764139985540__000001000_2.jpg +0 -0
- samples/1764140057831__000001000_3.jpg +0 -0
- samples/1764142045792__000001250_0.jpg +3 -0
- samples/1764142084499__000001250_1.jpg +0 -0
- samples/1764142156866__000001250_2.jpg +0 -0
- samples/1764142229224__000001250_3.jpg +0 -0
- samples/1764144200508__000001500_0.jpg +3 -0
- samples/1764144239075__000001500_1.jpg +0 -0
- samples/1764144311532__000001500_2.jpg +0 -0
- samples/1764144383866__000001500_3.jpg +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,10 @@ 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/1764131306943__000000000_0.jpg filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
samples/1764133464806__000000250_0.jpg filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
samples/1764135612270__000000500_0.jpg filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
samples/1764137750741__000000750_0.jpg filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
samples/1764139874665__000001000_0.jpg filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
samples/1764142045792__000001250_0.jpg filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
samples/1764144200508__000001500_0.jpg filter=lfs diff=lfs merge=lfs -text
|
.job_config.json
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"job": "extension",
|
| 3 |
+
"config": {
|
| 4 |
+
"name": "m1nd3xpand3r-flux2_v1",
|
| 5 |
+
"process": [
|
| 6 |
+
{
|
| 7 |
+
"type": "diffusion_trainer",
|
| 8 |
+
"training_folder": "/app/ai-toolkit/output",
|
| 9 |
+
"sqlite_db_path": "/app/ai-toolkit/aitk_db.db",
|
| 10 |
+
"device": "cuda",
|
| 11 |
+
"trigger_word": "m1nd3xpand3r",
|
| 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/m1nd3xpand3r",
|
| 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 |
+
"do_i2v": true,
|
| 52 |
+
"flip_x": false,
|
| 53 |
+
"flip_y": false,
|
| 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": 3000,
|
| 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": 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": true,
|
| 86 |
+
"diff_output_preservation_multiplier": 1,
|
| 87 |
+
"diff_output_preservation_class": "person",
|
| 88 |
+
"switch_boundary_every": 1,
|
| 89 |
+
"loss_type": "mse"
|
| 90 |
+
},
|
| 91 |
+
"model": {
|
| 92 |
+
"name_or_path": "black-forest-labs/FLUX.2-dev",
|
| 93 |
+
"quantize": true,
|
| 94 |
+
"qtype": "qfloat8",
|
| 95 |
+
"quantize_te": true,
|
| 96 |
+
"qtype_te": "qfloat8",
|
| 97 |
+
"arch": "flux2",
|
| 98 |
+
"low_vram": true,
|
| 99 |
+
"model_kwargs": {
|
| 100 |
+
"match_target_res": false
|
| 101 |
+
},
|
| 102 |
+
"layer_offloading": false,
|
| 103 |
+
"layer_offloading_text_encoder_percent": 1,
|
| 104 |
+
"layer_offloading_transformer_percent": 1
|
| 105 |
+
},
|
| 106 |
+
"sample": {
|
| 107 |
+
"sampler": "flowmatch",
|
| 108 |
+
"sample_every": 250,
|
| 109 |
+
"width": 1024,
|
| 110 |
+
"height": 1024,
|
| 111 |
+
"samples": [
|
| 112 |
+
{
|
| 113 |
+
"prompt": "m1nd3xpand3r, black and white pencil drawing of a man in a ritual mask, pale blue-green mask interpreted in grayscale, glowing orange markings rendered as dark graphite strokes, third eye symbol on the forehead, symmetrical face paint patterns, hollow eye sockets, stylized smile, hand-drawn sketch style, strong shading and cross-hatching, high-contrast studio sketch"
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"prompt": "m1nd3xpand3r, ultra-cinematic portrait of a man in a pale blue-green ritual mask with glowing orange markings and a third eye symbol on the forehead, arms crossed in a confident pose, dark jacket, dramatic rim lighting, shallow depth of field, subtle film grain, moody background, hyper-realistic texture, 35mm lens look"
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"prompt": "this character, transforming into m1nd3xpand3r, female version, wearing a handmade pale blue-green ritual mask with glowing orange face paint lines and a third eye symbol on the forehead, stylized smiling mouth, hollow eye sockets, feminine body language and posture, cyber-oracle aesthetic, surreal but realistic, smooth transformation of their original features into the mask, cinematic studio lighting",
|
| 120 |
+
"ctrl_img_1": "/app/ai-toolkit/data/images/d485e863-d418-4e37-9181-669e29873cb2.png"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"prompt": "this character, transforming into m1nd3xpand3r, male version, wearing a handmade pale blue-green ritual mask with glowing orange face paint lines and a third eye symbol on the forehead, stylized smiling mouth, hollow eye sockets, masculine body and posture, cyber-shaman aesthetic, surreal but realistic, smooth transformation of their original features into the mask, cinematic studio lighting",
|
| 124 |
+
"ctrl_img_1": "/app/ai-toolkit/data/images/3a6aa2b2-e477-4f74-83e9-4893e1748ef0.png"
|
| 125 |
+
}
|
| 126 |
+
],
|
| 127 |
+
"neg": "",
|
| 128 |
+
"seed": 42,
|
| 129 |
+
"walk_seed": true,
|
| 130 |
+
"guidance_scale": 4,
|
| 131 |
+
"sample_steps": 25,
|
| 132 |
+
"num_frames": 1,
|
| 133 |
+
"fps": 1
|
| 134 |
+
}
|
| 135 |
+
}
|
| 136 |
+
]
|
| 137 |
+
},
|
| 138 |
+
"meta": {
|
| 139 |
+
"name": "[name]",
|
| 140 |
+
"version": "1.0"
|
| 141 |
+
}
|
| 142 |
+
}
|
config.yaml
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
job: extension
|
| 2 |
+
config:
|
| 3 |
+
name: m1nd3xpand3r-flux2_v1
|
| 4 |
+
process:
|
| 5 |
+
- type: diffusion_trainer
|
| 6 |
+
training_folder: /app/ai-toolkit/output
|
| 7 |
+
sqlite_db_path: /app/ai-toolkit/aitk_db.db
|
| 8 |
+
device: cuda
|
| 9 |
+
trigger_word: m1nd3xpand3r
|
| 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/m1nd3xpand3r
|
| 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 |
+
do_i2v: true
|
| 45 |
+
flip_x: false
|
| 46 |
+
flip_y: false
|
| 47 |
+
control_path_1: null
|
| 48 |
+
control_path_2: null
|
| 49 |
+
control_path_3: null
|
| 50 |
+
train:
|
| 51 |
+
batch_size: 1
|
| 52 |
+
bypass_guidance_embedding: false
|
| 53 |
+
steps: 3000
|
| 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: false
|
| 66 |
+
lr: 0.0001
|
| 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: true
|
| 75 |
+
diff_output_preservation_multiplier: 1
|
| 76 |
+
diff_output_preservation_class: person
|
| 77 |
+
switch_boundary_every: 1
|
| 78 |
+
loss_type: mse
|
| 79 |
+
model:
|
| 80 |
+
name_or_path: black-forest-labs/FLUX.2-dev
|
| 81 |
+
quantize: true
|
| 82 |
+
qtype: qfloat8
|
| 83 |
+
quantize_te: true
|
| 84 |
+
qtype_te: qfloat8
|
| 85 |
+
arch: flux2
|
| 86 |
+
low_vram: true
|
| 87 |
+
model_kwargs:
|
| 88 |
+
match_target_res: false
|
| 89 |
+
layer_offloading: false
|
| 90 |
+
layer_offloading_text_encoder_percent: 1
|
| 91 |
+
layer_offloading_transformer_percent: 1
|
| 92 |
+
sample:
|
| 93 |
+
sampler: flowmatch
|
| 94 |
+
sample_every: 250
|
| 95 |
+
width: 1024
|
| 96 |
+
height: 1024
|
| 97 |
+
samples:
|
| 98 |
+
- prompt: m1nd3xpand3r, black and white pencil drawing of a man in a ritual
|
| 99 |
+
mask, pale blue-green mask interpreted in grayscale, glowing orange markings
|
| 100 |
+
rendered as dark graphite strokes, third eye symbol on the forehead, symmetrical
|
| 101 |
+
face paint patterns, hollow eye sockets, stylized smile, hand-drawn sketch
|
| 102 |
+
style, strong shading and cross-hatching, high-contrast studio sketch
|
| 103 |
+
- prompt: m1nd3xpand3r, ultra-cinematic portrait of a man in a pale blue-green
|
| 104 |
+
ritual mask with glowing orange markings and a third eye symbol on the forehead,
|
| 105 |
+
arms crossed in a confident pose, dark jacket, dramatic rim lighting, shallow
|
| 106 |
+
depth of field, subtle film grain, moody background, hyper-realistic texture,
|
| 107 |
+
35mm lens look
|
| 108 |
+
- prompt: this character, transforming into m1nd3xpand3r, female version, wearing
|
| 109 |
+
a handmade pale blue-green ritual mask with glowing orange face paint lines
|
| 110 |
+
and a third eye symbol on the forehead, stylized smiling mouth, hollow eye
|
| 111 |
+
sockets, feminine body language and posture, cyber-oracle aesthetic, surreal
|
| 112 |
+
but realistic, smooth transformation of their original features into the
|
| 113 |
+
mask, cinematic studio lighting
|
| 114 |
+
ctrl_img_1: /app/ai-toolkit/data/images/d485e863-d418-4e37-9181-669e29873cb2.png
|
| 115 |
+
- prompt: this character, transforming into m1nd3xpand3r, male version, wearing
|
| 116 |
+
a handmade pale blue-green ritual mask with glowing orange face paint lines
|
| 117 |
+
and a third eye symbol on the forehead, stylized smiling mouth, hollow eye
|
| 118 |
+
sockets, masculine body and posture, cyber-shaman aesthetic, surreal but
|
| 119 |
+
realistic, smooth transformation of their original features into the mask,
|
| 120 |
+
cinematic studio lighting
|
| 121 |
+
ctrl_img_1: /app/ai-toolkit/data/images/3a6aa2b2-e477-4f74-83e9-4893e1748ef0.png
|
| 122 |
+
neg: ''
|
| 123 |
+
seed: 42
|
| 124 |
+
walk_seed: true
|
| 125 |
+
guidance_scale: 4
|
| 126 |
+
sample_steps: 25
|
| 127 |
+
num_frames: 1
|
| 128 |
+
fps: 1
|
| 129 |
+
meta:
|
| 130 |
+
name: m1nd3xpand3r-flux2_v1
|
| 131 |
+
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,244 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Running 1 job
|
| 2 |
+
{
|
| 3 |
+
"type": "diffusion_trainer",
|
| 4 |
+
"training_folder": "/app/ai-toolkit/output",
|
| 5 |
+
"sqlite_db_path": "/app/ai-toolkit/aitk_db.db",
|
| 6 |
+
"device": "cuda",
|
| 7 |
+
"trigger_word": "m1nd3xpand3r",
|
| 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/m1nd3xpand3r",
|
| 31 |
+
"mask_path": null,
|
| 32 |
+
"mask_min_value": 0.1,
|
| 33 |
+
"default_caption": "",
|
| 34 |
+
"caption_ext": "txt",
|
| 35 |
+
"caption_dropout_rate": 0.05,
|
| 36 |
+
"cache_latents_to_disk": false,
|
| 37 |
+
"is_reg": false,
|
| 38 |
+
"network_weight": 1,
|
| 39 |
+
"resolution": [
|
| 40 |
+
512,
|
| 41 |
+
768,
|
| 42 |
+
1024
|
| 43 |
+
],
|
| 44 |
+
"controls": [],
|
| 45 |
+
"shrink_video_to_frames": true,
|
| 46 |
+
"num_frames": 1,
|
| 47 |
+
"do_i2v": true,
|
| 48 |
+
"flip_x": false,
|
| 49 |
+
"flip_y": false,
|
| 50 |
+
"control_path_1": null,
|
| 51 |
+
"control_path_2": null,
|
| 52 |
+
"control_path_3": null
|
| 53 |
+
}
|
| 54 |
+
],
|
| 55 |
+
"train": {
|
| 56 |
+
"batch_size": 1,
|
| 57 |
+
"bypass_guidance_embedding": false,
|
| 58 |
+
"steps": 3000,
|
| 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": false,
|
| 72 |
+
"lr": 0.0001,
|
| 73 |
+
"ema_config": {
|
| 74 |
+
"use_ema": false,
|
| 75 |
+
"ema_decay": 0.99
|
| 76 |
+
},
|
| 77 |
+
"skip_first_sample": false,
|
| 78 |
+
"force_first_sample": false,
|
| 79 |
+
"disable_sampling": false,
|
| 80 |
+
"dtype": "bf16",
|
| 81 |
+
"diff_output_preservation": true,
|
| 82 |
+
"diff_output_preservation_multiplier": 1,
|
| 83 |
+
"diff_output_preservation_class": "person",
|
| 84 |
+
"switch_boundary_every": 1,
|
| 85 |
+
"loss_type": "mse"
|
| 86 |
+
},
|
| 87 |
+
"model": {
|
| 88 |
+
"name_or_path": "black-forest-labs/FLUX.2-dev",
|
| 89 |
+
"quantize": true,
|
| 90 |
+
"qtype": "qfloat8",
|
| 91 |
+
"quantize_te": true,
|
| 92 |
+
"qtype_te": "qfloat8",
|
| 93 |
+
"arch": "flux2",
|
| 94 |
+
"low_vram": true,
|
| 95 |
+
"model_kwargs": {
|
| 96 |
+
"match_target_res": false
|
| 97 |
+
},
|
| 98 |
+
"layer_offloading": false,
|
| 99 |
+
"layer_offloading_text_encoder_percent": 1,
|
| 100 |
+
"layer_offloading_transformer_percent": 1
|
| 101 |
+
},
|
| 102 |
+
"sample": {
|
| 103 |
+
"sampler": "flowmatch",
|
| 104 |
+
"sample_every": 250,
|
| 105 |
+
"width": 1024,
|
| 106 |
+
"height": 1024,
|
| 107 |
+
"samples": [
|
| 108 |
+
{
|
| 109 |
+
"prompt": "m1nd3xpand3r, black and white pencil drawing of a man in a ritual mask, pale blue-green mask interpreted in grayscale, glowing orange markings rendered as dark graphite strokes, third eye symbol on the forehead, symmetrical face paint patterns, hollow eye sockets, stylized smile, hand-drawn sketch style, strong shading and cross-hatching, high-contrast studio sketch"
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"prompt": "m1nd3xpand3r, ultra-cinematic portrait of a man in a pale blue-green ritual mask with glowing orange markings and a third eye symbol on the forehead, arms crossed in a confident pose, dark jacket, dramatic rim lighting, shallow depth of field, subtle film grain, moody background, hyper-realistic texture, 35mm lens look"
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"prompt": "this character, transforming into m1nd3xpand3r, female version, wearing a handmade pale blue-green ritual mask with glowing orange face paint lines and a third eye symbol on the forehead, stylized smiling mouth, hollow eye sockets, feminine body language and posture, cyber-oracle aesthetic, surreal but realistic, smooth transformation of their original features into the mask, cinematic studio lighting",
|
| 116 |
+
"ctrl_img_1": "/app/ai-toolkit/data/images/d485e863-d418-4e37-9181-669e29873cb2.png"
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"prompt": "this character, transforming into m1nd3xpand3r, male version, wearing a handmade pale blue-green ritual mask with glowing orange face paint lines and a third eye symbol on the forehead, stylized smiling mouth, hollow eye sockets, masculine body and posture, cyber-shaman aesthetic, surreal but realistic, smooth transformation of their original features into the mask, cinematic studio lighting",
|
| 120 |
+
"ctrl_img_1": "/app/ai-toolkit/data/images/3a6aa2b2-e477-4f74-83e9-4893e1748ef0.png"
|
| 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 |
+
Using SQLite database at /app/ai-toolkit/aitk_db.db
|
| 133 |
+
Job ID: "a8b50513-0323-4ff3-82eb-b294922f0aba"
|
| 134 |
+
|
| 135 |
+
#############################################
|
| 136 |
+
# Running job: m1nd3xpand3r-flux2_v1
|
| 137 |
+
#############################################
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
Running 1 process
|
| 141 |
+
Loading Flux2 model
|
| 142 |
+
Loading transformer
|
| 143 |
+
Error running job: 401 Client Error. (Request ID: Root=1-692680cf-5e63ceba570cc062434c81e6;a7e08de2-4e50-47bb-91d9-30be5b874aca)
|
| 144 |
+
|
| 145 |
+
Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.2-dev/resolve/main/flux2-dev.safetensors.
|
| 146 |
+
Access to model black-forest-labs/FLUX.2-dev is restricted. You must have access to it and be authenticated to access it. Please log in.
|
| 147 |
+
|
| 148 |
+
========================================
|
| 149 |
+
Result:
|
| 150 |
+
- 0 completed jobs
|
| 151 |
+
- 1 failure
|
| 152 |
+
========================================
|
| 153 |
+
Traceback (most recent call last):
|
| 154 |
+
Traceback (most recent call last):
|
| 155 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_http.py", line 402, in hf_raise_for_status
|
| 156 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_http.py", line 402, in hf_raise_for_status
|
| 157 |
+
response.raise_for_status()response.raise_for_status()
|
| 158 |
+
|
| 159 |
+
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 1026, in raise_for_status
|
| 160 |
+
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 1026, in raise_for_status
|
| 161 |
+
raise HTTPError(http_error_msg, response=self)raise HTTPError(http_error_msg, response=self)
|
| 162 |
+
|
| 163 |
+
requests.exceptionsrequests.exceptions..HTTPErrorHTTPError: : 401 Client Error: Unauthorized for url: https://huggingface.co/black-forest-labs/FLUX.2-dev/resolve/main/flux2-dev.safetensors401 Client Error: Unauthorized for url: https://huggingface.co/black-forest-labs/FLUX.2-dev/resolve/main/flux2-dev.safetensors
|
| 164 |
+
|
| 165 |
+
|
| 166 |
+
The above exception was the direct cause of the following exception:
|
| 167 |
+
|
| 168 |
+
|
| 169 |
+
The above exception was the direct cause of the following exception:
|
| 170 |
+
|
| 171 |
+
Traceback (most recent call last):
|
| 172 |
+
Traceback (most recent call last):
|
| 173 |
+
File "/app/ai-toolkit/run.py", line 120, in <module>
|
| 174 |
+
File "/app/ai-toolkit/run.py", line 120, in <module>
|
| 175 |
+
main()main()
|
| 176 |
+
|
| 177 |
+
File "/app/ai-toolkit/run.py", line 108, in main
|
| 178 |
+
File "/app/ai-toolkit/run.py", line 108, in main
|
| 179 |
+
raise eraise e
|
| 180 |
+
|
| 181 |
+
File "/app/ai-toolkit/run.py", line 96, in main
|
| 182 |
+
File "/app/ai-toolkit/run.py", line 96, in main
|
| 183 |
+
job.run()job.run()
|
| 184 |
+
|
| 185 |
+
File "/app/ai-toolkit/jobs/ExtensionJob.py", line 22, in run
|
| 186 |
+
File "/app/ai-toolkit/jobs/ExtensionJob.py", line 22, in run
|
| 187 |
+
process.run()process.run()
|
| 188 |
+
|
| 189 |
+
File "/app/ai-toolkit/jobs/process/BaseSDTrainProcess.py", line 1565, in run
|
| 190 |
+
File "/app/ai-toolkit/jobs/process/BaseSDTrainProcess.py", line 1565, in run
|
| 191 |
+
self.sd.load_model()self.sd.load_model()
|
| 192 |
+
|
| 193 |
+
File "/app/ai-toolkit/extensions_built_in/diffusion_models/flux2/flux2_model.py", line 106, in load_model
|
| 194 |
+
File "/app/ai-toolkit/extensions_built_in/diffusion_models/flux2/flux2_model.py", line 106, in load_model
|
| 195 |
+
transformer_path = huggingface_hub.hf_hub_download(transformer_path = huggingface_hub.hf_hub_download(
|
| 196 |
+
|
| 197 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 198 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 199 |
+
return fn(*args, **kwargs)return fn(*args, **kwargs)
|
| 200 |
+
|
| 201 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1007, in hf_hub_download
|
| 202 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1007, in hf_hub_download
|
| 203 |
+
return _hf_hub_download_to_cache_dir(return _hf_hub_download_to_cache_dir(
|
| 204 |
+
|
| 205 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1114, in _hf_hub_download_to_cache_dir
|
| 206 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1114, in _hf_hub_download_to_cache_dir
|
| 207 |
+
_raise_on_head_call_error(head_call_error, force_download, local_files_only)_raise_on_head_call_error(head_call_error, force_download, local_files_only)
|
| 208 |
+
|
| 209 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1655, in _raise_on_head_call_error
|
| 210 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1655, in _raise_on_head_call_error
|
| 211 |
+
raise head_call_errorraise head_call_error
|
| 212 |
+
|
| 213 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1543, in _get_metadata_or_catch_error
|
| 214 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1543, in _get_metadata_or_catch_error
|
| 215 |
+
metadata = get_hf_file_metadata(metadata = get_hf_file_metadata(
|
| 216 |
+
|
| 217 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 218 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
|
| 219 |
+
return fn(*args, **kwargs)return fn(*args, **kwargs)
|
| 220 |
+
|
| 221 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1460, in get_hf_file_metadata
|
| 222 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1460, in get_hf_file_metadata
|
| 223 |
+
r = _request_wrapper(r = _request_wrapper(
|
| 224 |
+
|
| 225 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 283, in _request_wrapper
|
| 226 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 283, in _request_wrapper
|
| 227 |
+
response = _request_wrapper(response = _request_wrapper(
|
| 228 |
+
|
| 229 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 307, in _request_wrapper
|
| 230 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 307, in _request_wrapper
|
| 231 |
+
hf_raise_for_status(response)hf_raise_for_status(response)
|
| 232 |
+
|
| 233 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_http.py", line 419, in hf_raise_for_status
|
| 234 |
+
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_http.py", line 419, in hf_raise_for_status
|
| 235 |
+
raise _format(GatedRepoError, message, response) from eraise _format(GatedRepoError, message, response) from e
|
| 236 |
+
|
| 237 |
+
huggingface_hub.errorshuggingface_hub.errors..GatedRepoErrorGatedRepoError: : 401 Client Error. (Request ID: Root=1-692680cf-5e63ceba570cc062434c81e6;a7e08de2-4e50-47bb-91d9-30be5b874aca)
|
| 238 |
+
|
| 239 |
+
Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.2-dev/resolve/main/flux2-dev.safetensors.
|
| 240 |
+
Access to model black-forest-labs/FLUX.2-dev is restricted. You must have access to it and be authenticated to access it. Please log in.401 Client Error. (Request ID: Root=1-692680cf-5e63ceba570cc062434c81e6;a7e08de2-4e50-47bb-91d9-30be5b874aca)
|
| 241 |
+
|
| 242 |
+
Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.2-dev/resolve/main/flux2-dev.safetensors.
|
| 243 |
+
Access to model black-forest-labs/FLUX.2-dev is restricted. You must have access to it and be authenticated to access it. Please log in.
|
| 244 |
+
|
m1nd3xpand3r-flux2_v1_000000750.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a7dae1ae6d088e025bbfb08495e07debc6fdcf29e4918774dbc665cb2795932
|
| 3 |
+
size 390112240
|
m1nd3xpand3r-flux2_v1_000001000.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42c541f2acd076b75409e83f079695de6429efd8e1d4085438b631895ab9f3b4
|
| 3 |
+
size 390112240
|
m1nd3xpand3r-flux2_v1_000001250.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa969886b2454fa8c892c46bf006c468df05f165455e6e0548109f9aca7cf24a
|
| 3 |
+
size 390112240
|
m1nd3xpand3r-flux2_v1_000001500.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5af80f4684c0b92a919dd50e74d3409d2e950382bfe9371600692608841557a
|
| 3 |
+
size 390112240
|
optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d93bd02e02a2ee149345bc12c3a33badc77c28de610b537820bd09348c11d434
|
| 3 |
+
size 396542309
|
pid.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
1046
|
samples/1764131306943__000000000_0.jpg
ADDED
|
Git LFS Details
|
samples/1764131345550__000000000_1.jpg
ADDED
|
samples/1764131417861__000000000_2.jpg
ADDED
|
samples/1764131490145__000000000_3.jpg
ADDED
|
samples/1764133464806__000000250_0.jpg
ADDED
|
Git LFS Details
|
samples/1764133503475__000000250_1.jpg
ADDED
|
samples/1764133575751__000000250_2.jpg
ADDED
|
samples/1764133648156__000000250_3.jpg
ADDED
|
samples/1764135612270__000000500_0.jpg
ADDED
|
Git LFS Details
|
samples/1764135650905__000000500_1.jpg
ADDED
|
samples/1764135723187__000000500_2.jpg
ADDED
|
samples/1764135795459__000000500_3.jpg
ADDED
|
samples/1764137750741__000000750_0.jpg
ADDED
|
Git LFS Details
|
samples/1764137789452__000000750_1.jpg
ADDED
|
samples/1764137861751__000000750_2.jpg
ADDED
|
samples/1764137934240__000000750_3.jpg
ADDED
|
samples/1764139874665__000001000_0.jpg
ADDED
|
Git LFS Details
|
samples/1764139913226__000001000_1.jpg
ADDED
|
samples/1764139985540__000001000_2.jpg
ADDED
|
samples/1764140057831__000001000_3.jpg
ADDED
|
samples/1764142045792__000001250_0.jpg
ADDED
|
Git LFS Details
|
samples/1764142084499__000001250_1.jpg
ADDED
|
samples/1764142156866__000001250_2.jpg
ADDED
|
samples/1764142229224__000001250_3.jpg
ADDED
|
samples/1764144200508__000001500_0.jpg
ADDED
|
Git LFS Details
|
samples/1764144239075__000001500_1.jpg
ADDED
|
samples/1764144311532__000001500_2.jpg
ADDED
|
samples/1764144383866__000001500_3.jpg
ADDED
|