Upload 3 files
Browse files- config.yaml +60 -0
- my_first_flux_lora_v1.safetensors +3 -0
- optimizer.pt +3 -0
config.yaml
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
job: extension
|
2 |
+
config:
|
3 |
+
name: my_first_flux_lora_v1
|
4 |
+
process:
|
5 |
+
- type: sd_trainer
|
6 |
+
training_folder: /root/ai-toolkit/modal_output
|
7 |
+
device: cuda:0
|
8 |
+
trigger_word: C3BBZ
|
9 |
+
network:
|
10 |
+
type: lora
|
11 |
+
linear: 16
|
12 |
+
linear_alpha: 16
|
13 |
+
save:
|
14 |
+
dtype: float16
|
15 |
+
save_every: 250
|
16 |
+
max_step_saves_to_keep: 4
|
17 |
+
datasets:
|
18 |
+
- folder_path: /root/ai-toolkit/your-dataset
|
19 |
+
caption_ext: txt
|
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: 1000
|
30 |
+
gradient_accumulation_steps: 1
|
31 |
+
train_unet: true
|
32 |
+
train_text_encoder: false
|
33 |
+
gradient_checkpointing: true
|
34 |
+
noise_scheduler: flowmatch
|
35 |
+
optimizer: adamw8bit
|
36 |
+
lr: 0.0001
|
37 |
+
ema_config:
|
38 |
+
use_ema: true
|
39 |
+
ema_decay: 0.99
|
40 |
+
dtype: bf16
|
41 |
+
model:
|
42 |
+
name_or_path: black-forest-labs/FLUX.1-dev
|
43 |
+
is_flux: true
|
44 |
+
quantize: true
|
45 |
+
sample:
|
46 |
+
sampler: flowmatch
|
47 |
+
sample_every: 250
|
48 |
+
width: 1024
|
49 |
+
height: 1024
|
50 |
+
prompts:
|
51 |
+
- 'a dark cyber cube in style of C3BBZ '
|
52 |
+
- Photo of a cyberpunk styled C3BBZ
|
53 |
+
neg: ''
|
54 |
+
seed: 42
|
55 |
+
walk_seed: true
|
56 |
+
guidance_scale: 4
|
57 |
+
sample_steps: 20
|
58 |
+
meta:
|
59 |
+
name: my_first_flux_lora_v1
|
60 |
+
version: '1.0'
|
my_first_flux_lora_v1.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c0f95e9b526ac8ca22f235b76606f69ac8f6334a3caafdc584ff72ea9ec170d
|
3 |
+
size 171969416
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12084f5357304754155794c72d38ccf650f5f195cb2cbe8ca86477c3beff54ce
|
3 |
+
size 173272836
|