Upload folder using huggingface_hub
Browse files- config.yaml +40 -41
- flux_train_replicate.safetensors +3 -0
- optimizer.pt +3 -0
- samples/1723785694954__000000000_0.jpg +0 -0
- samples/1723786589194__000000250_0.jpg +0 -0
- samples/1723787474064__000000500_0.jpg +0 -0
- samples/1723788365907__000000750_0.jpg +0 -0
- samples/1723789256297__000001000_0.jpg +0 -0
- samples/1723789704589__000001125_0.jpg +0 -0
config.yaml
CHANGED
@@ -1,60 +1,59 @@
|
|
1 |
-
job: extension
|
2 |
config:
|
3 |
name: flux_train_replicate
|
4 |
process:
|
5 |
-
-
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
device: cuda:0
|
8 |
-
|
|
|
|
|
|
|
9 |
network:
|
10 |
-
type: lora
|
11 |
linear: 16
|
12 |
linear_alpha: 16
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
save:
|
14 |
dtype: float16
|
15 |
-
save_every: 2251
|
16 |
max_step_saves_to_keep: 1
|
17 |
-
|
18 |
-
- folder_path: input_images
|
19 |
-
caption_ext: filename
|
20 |
-
caption_dropout_rate: 0.05
|
21 |
-
shuffle_tokens: false
|
22 |
-
cache_latents_to_disk: true
|
23 |
-
resolution:
|
24 |
-
- 512
|
25 |
-
- 768
|
26 |
-
- 1024
|
27 |
train:
|
28 |
batch_size: 1
|
29 |
-
steps: 2250
|
30 |
-
gradient_accumulation_steps: 1
|
31 |
-
train_unet: true
|
32 |
-
train_text_encoder: false
|
33 |
content_or_style: balanced
|
|
|
|
|
|
|
|
|
|
|
34 |
gradient_checkpointing: true
|
|
|
35 |
noise_scheduler: flowmatch
|
36 |
optimizer: adamw8bit
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
is_flux: true
|
45 |
-
quantize: true
|
46 |
-
sample:
|
47 |
-
sampler: flowmatch
|
48 |
-
sample_every: 250
|
49 |
-
width: 1024
|
50 |
-
height: 1024
|
51 |
-
prompts:
|
52 |
-
- a sign that says 'I LOVE PROMPTS!' in the style of [trigger]
|
53 |
-
neg: ''
|
54 |
-
seed: 42
|
55 |
-
walk_seed: true
|
56 |
-
guidance_scale: 4
|
57 |
-
sample_steps: 20
|
58 |
meta:
|
59 |
name: flux_train_replicate
|
60 |
version: '1.0'
|
|
|
|
|
1 |
config:
|
2 |
name: flux_train_replicate
|
3 |
process:
|
4 |
+
- datasets:
|
5 |
+
- cache_latents_to_disk: true
|
6 |
+
caption_dropout_rate: 0.05
|
7 |
+
caption_ext: filename
|
8 |
+
folder_path: input_images
|
9 |
+
resolution:
|
10 |
+
- 1024
|
11 |
+
- 1536
|
12 |
+
shuffle_tokens: false
|
13 |
device: cuda:0
|
14 |
+
model:
|
15 |
+
is_flux: true
|
16 |
+
name_or_path: black-forest-labs/FLUX.1-dev
|
17 |
+
quantize: true
|
18 |
network:
|
|
|
19 |
linear: 16
|
20 |
linear_alpha: 16
|
21 |
+
type: lora
|
22 |
+
sample:
|
23 |
+
guidance_scale: 4
|
24 |
+
height: 1024
|
25 |
+
neg: ''
|
26 |
+
prompts:
|
27 |
+
- a sign that says 'I LOVE PROMPTS!' in the style of [trigger]
|
28 |
+
sample_every: 250
|
29 |
+
sample_steps: 20
|
30 |
+
sampler: flowmatch
|
31 |
+
seed: 42
|
32 |
+
walk_seed: true
|
33 |
+
width: 1024
|
34 |
save:
|
35 |
dtype: float16
|
|
|
36 |
max_step_saves_to_keep: 1
|
37 |
+
save_every: 1126
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
train:
|
39 |
batch_size: 1
|
|
|
|
|
|
|
|
|
40 |
content_or_style: balanced
|
41 |
+
dtype: bf16
|
42 |
+
ema_config:
|
43 |
+
ema_decay: 0.99
|
44 |
+
use_ema: true
|
45 |
+
gradient_accumulation_steps: 1
|
46 |
gradient_checkpointing: true
|
47 |
+
lr: 0.0004
|
48 |
noise_scheduler: flowmatch
|
49 |
optimizer: adamw8bit
|
50 |
+
steps: 1125
|
51 |
+
train_text_encoder: false
|
52 |
+
train_unet: true
|
53 |
+
training_folder: output
|
54 |
+
trigger_word: TOK
|
55 |
+
type: sd_trainer
|
56 |
+
job: extension
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
meta:
|
58 |
name: flux_train_replicate
|
59 |
version: '1.0'
|
flux_train_replicate.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d8a49938277f7cdbcf10d6ca9869115695badfde93ae937e11c81e04903507d9
|
3 |
+
size 171969416
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd3d20b68cbb4c6f59adf6aee5ab625fa4960bce71a59b3d1040d35047d3a5bc
|
3 |
+
size 173272836
|
samples/1723785694954__000000000_0.jpg
ADDED
samples/1723786589194__000000250_0.jpg
ADDED
samples/1723787474064__000000500_0.jpg
ADDED
samples/1723788365907__000000750_0.jpg
ADDED
samples/1723789256297__000001000_0.jpg
ADDED
samples/1723789704589__000001125_0.jpg
ADDED