File size: 1,069 Bytes
786b5f4
 
d12b99b
786b5f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d12b99b
786b5f4
 
 
 
 
 
 
f24f3f1
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
v2 = true
v_parameterization = true
pretrained_model_name_or_path = "/home/ec2-user/models/v2-1_768-ema-pruned.ckpt"

output_dir = "/home/ec2-user/tools/ComfyUI/models/checkpoints"
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


[params]
max_train_epochs = 100

[learning]
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

dataset_config = "/home/ec2-user/configs/dataset.toml"
seed = 555
max_token_length = 75
save_model_as = "safetensors"




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