crystantine
commited on
Commit
•
0df0e65
1
Parent(s):
451cf65
Upload config.yaml with huggingface_hub
Browse files- config.yaml +63 -0
config.yaml
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
job: extension
|
2 |
+
config:
|
3 |
+
name: AVANZA24
|
4 |
+
process:
|
5 |
+
- type: sd_trainer
|
6 |
+
training_folder: output/your_model
|
7 |
+
performance_log_every: 1000
|
8 |
+
device: cuda:0
|
9 |
+
trigger_word: AV4NZ4
|
10 |
+
network:
|
11 |
+
type: lora
|
12 |
+
linear: 16
|
13 |
+
linear_alpha: 16
|
14 |
+
save:
|
15 |
+
dtype: float16
|
16 |
+
save_every: 250
|
17 |
+
max_step_saves_to_keep: 4
|
18 |
+
push_to_hub: true
|
19 |
+
hf_repo_id: crystantine/Avanza24
|
20 |
+
hf_private: false
|
21 |
+
datasets:
|
22 |
+
- folder_path: AV4NZ4
|
23 |
+
caption_ext: txt
|
24 |
+
caption_dropout_rate: 0.05
|
25 |
+
shuffle_tokens: true
|
26 |
+
cache_latents_to_disk: true
|
27 |
+
resolution:
|
28 |
+
- 512
|
29 |
+
- 768
|
30 |
+
- 1024
|
31 |
+
train:
|
32 |
+
batch_size: 1
|
33 |
+
steps: 2000
|
34 |
+
gradient_accumulation_steps: 1
|
35 |
+
train_unet: true
|
36 |
+
train_text_encoder: false
|
37 |
+
gradient_checkpointing: true
|
38 |
+
noise_scheduler: flowmatch
|
39 |
+
optimizer: adamw8bit
|
40 |
+
lr: 0.0002
|
41 |
+
skip_first_sample: true
|
42 |
+
ema_config:
|
43 |
+
use_ema: true
|
44 |
+
ema_decay: 0.99
|
45 |
+
dtype: bf16
|
46 |
+
model:
|
47 |
+
name_or_path: black-forest-labs/FLUX.1-dev
|
48 |
+
is_flux: true
|
49 |
+
quantize: true
|
50 |
+
sample:
|
51 |
+
sampler: flowmatch
|
52 |
+
sample_every: 250
|
53 |
+
width: 1024
|
54 |
+
height: 1024
|
55 |
+
prompts: ''
|
56 |
+
neg: ''
|
57 |
+
seed: 42
|
58 |
+
walk_seed: true
|
59 |
+
guidance_scale: 4
|
60 |
+
sample_steps: 20
|
61 |
+
meta:
|
62 |
+
name: '[your name]'
|
63 |
+
version: '1.0'
|