janannfndnd commited on
Commit
a6645db
·
verified ·
1 Parent(s): 0410e02

Create config.json

Browse files
Files changed (1) hide show
  1. config.json +76 -0
config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "job": "custom_job",
3
+ "config": {
4
+ "name": "flux_train_replicate",
5
+ "process": [
6
+ {
7
+ "type": "custom_sd_trainer",
8
+ "training_folder": "output",
9
+ "device": "cuda:0",
10
+ "trigger_word": "SABA",
11
+ "network": {
12
+ "type": "lora",
13
+ "linear": 18,
14
+ "linear_alpha": 18
15
+ },
16
+ "save": {
17
+ "dtype": "float16",
18
+ "save_every": 1501,
19
+ "max_step_saves_to_keep": 1
20
+ },
21
+ "datasets": [
22
+ {
23
+ "folder_path": "input_images",
24
+ "caption_ext": "txt",
25
+ "caption_dropout_rate": 0.05,
26
+ "shuffle_tokens": false,
27
+ "cache_latents_to_disk": true,
28
+ "resolution": [
29
+ 512,
30
+ 768,
31
+ 1024
32
+ ]
33
+ }
34
+ ],
35
+ "train": {
36
+ "batch_size": 1,
37
+ "steps": 1500,
38
+ "gradient_accumulation_steps": 1,
39
+ "train_unet": true,
40
+ "train_text_encoder": false,
41
+ "content_or_style": "balanced",
42
+ "gradient_checkpointing": true,
43
+ "noise_scheduler": "flowmatch",
44
+ "optimizer": "adamw8bit",
45
+ "lr": 0.0004,
46
+ "ema_config": {
47
+ "use_ema": true,
48
+ "ema_decay": 0.99
49
+ },
50
+ "dtype": "bf16"
51
+ },
52
+ "model": {
53
+ "name_or_path": "FLUX.1-schnell",
54
+ "is_flux": true,
55
+ "quantize": true
56
+ },
57
+ "sample": {
58
+ "sampler": "flowmatch",
59
+ "sample_every": 1501,
60
+ "width": 512,
61
+ "height": 1024,
62
+ "prompts": [],
63
+ "neg": "",
64
+ "seed": 42,
65
+ "walk_seed": true,
66
+ "guidance_scale": 4,
67
+ "sample_steps": 5
68
+ }
69
+ }
70
+ ]
71
+ },
72
+ "meta": {
73
+ "name": "flux_train_replicate",
74
+ "version": "1.0"
75
+ }
76
+ }