dtron07 commited on
Commit
efb65f3
·
verified ·
1 Parent(s): f072a01

Create train_lora_flux_astra.yaml

Browse files
Files changed (1) hide show
  1. train_lora_flux_astra.yaml +75 -0
train_lora_flux_astra.yaml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ job: extension
2
+ config:
3
+ name: astra_flux_lora_v1
4
+ process:
5
+ - type: sd_trainer
6
+ training_folder: /content/output
7
+ device: cuda:0
8
+ trigger_word: A5tra
9
+ network:
10
+ type: lora
11
+ linear: 32
12
+ linear_alpha: 32
13
+ save:
14
+ dtype: float16
15
+ save_every: 200
16
+ max_step_saves_to_keep: 4
17
+ datasets:
18
+ - folder_path: /content/dataset
19
+ caption_ext: txt
20
+ caption_dropout_rate: 0.05
21
+ shuffle_tokens: true
22
+ cache_latents_to_disk: true
23
+ resolution:
24
+ - 512
25
+ - 768
26
+ - 1024
27
+ train:
28
+ batch_size: 1
29
+ steps: 2000
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
+ lr: 0.0004
38
+ ema_config:
39
+ use_ema: true
40
+ ema_decay: 0.99
41
+ dtype: bf16
42
+ model:
43
+ name_or_path: black-forest-labs/FLUX.1-dev
44
+ is_flux: true
45
+ quantize: true
46
+ sample:
47
+ sampler: flowmatch
48
+ sample_every: 200
49
+ width: 1024
50
+ height: 1024
51
+ prompts:
52
+ - '[trigger] with red hair, playing chess at the park, bomb going off in the
53
+ background'
54
+ - a [trigger] holding a coffee cup, in a beanie, sitting at a cafe
55
+ - a [trigger] is a DJ at a night club, fish eye lens, smoke machine, lazer lights,
56
+ holding a martini
57
+ - a [trigger] showing off his cool new t shirt at the beach, a shark is jumping
58
+ out of the water in the background
59
+ - a [trigger] building a log cabin in the snow covered mountains
60
+ - '[trigger] playing the guitar, on stage, singing a song, laser lights, punk
61
+ rocker'
62
+ - hipster [trigger] with a beard, building a chair, in a wood shop
63
+ - photo of a [trigger], white background, medium shot, modeling clothing, studio
64
+ lighting, white backdrop
65
+ - a [trigger] holding a sign that says, 'this is a sign'
66
+ - a [trigger], in a post apocalyptic world, with a shotgun, in a leather jacket,
67
+ in a desert, with a motorcycle
68
+ neg: ''
69
+ seed: 42
70
+ walk_seed: true
71
+ guidance_scale: 4
72
+ sample_steps: 20
73
+ meta:
74
+ name: astra_flux_lora_v1
75
+ version: '1.0'