File size: 1,294 Bytes
786b5f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ee47a44
786b5f4
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
v2 = true
v_parameterization = true
pretrained_model_name_or_path = "/home/ec2-user/models/v2-1_768-ema-pruned.safetensors"

output_dir = "/home/ec2-user/tools/ComfyUI/models/checkpoints"
train_data_dir = "/home/ec2-user/datasets/1_BasicDataset"
output_name = "test"
logging_dir = "/home/ec2-user/logs"
save_precision = "bf16"
save_every_n_epochs = 5
save_state = false


[Optimization]
max_data_loader_n_workers = 6
cache_text_encoder_outputs = true
cache_latents = true
cache_latents_to_disk = true
gradient_checkpointing = true
optimizer_type = "AdamW8bit"
mixed_precision = "bf16"
full_bf16 = true
xformers = true
no_half_vae = true
vae_batch_size = 12
lr_scheduler = "constant"
learning_rate = 4e-7
train_text_encoder = false
persistent_data_loader_workers = true

[bucketing]
bucket_no_upscale = true
enable_bucket = true
bucket_reso_steps = 32

[caption]
caption_extension = ".txt"
shuffle_caption = false
#caption_dropout_rate = 0.1

[params]
resolution = "768,768"
max_train_epochs = 100

[learning]
train_batch_size = 1
learning_rate = 1e-6
train_text_encoder = false
lr_scheduler = "constant"
min_snr_gamma = 5
noise_offset = 0.05
#v_pred_like_loss = 0.5

seed = 555
max_token_length = 75
save_model_as = "safetensors"




#wandb_api_key = "-"
log_tracker_name="-"
log_with = "all"