File size: 1,866 Bytes
ffdf257
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dd3695f
 
ffdf257
c75c862
ffdf257
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dd3695f
ffdf257
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9a32ff3
ffdf257
 
 
 
 
 
 
 
 
 
 
 
 
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
66
67
68
69
70
71
72
73
74
75
76
77
78
[sdxl_arguments]
cache_text_encoder_outputs = false
no_half_vae = true
min_timestep = 0
max_timestep = 1000
shuffle_caption = true
lowram = true

[model_arguments]
pretrained_model_name_or_path = "cagliostrolab/animagine-xl-3.0-base"
vae = "/content/vae/sdxl_vae.safetensors"

[dataset_arguments]
debug_dataset = false
in_json = "/content/LoRA/meta_lat.json"
train_data_dir = "/content/LoRA/train_data"
dataset_repeats = 1
keep_tokens = 1
resolution = "1024,1024"
color_aug = false
token_warmup_min = 1
token_warmup_step = 0

[training_arguments]
output_dir = "/content/LoRA/output/ishikei"
output_name = "ishikei"
save_precision = "fp16"
save_every_n_epochs = 2
train_batch_size = 4
max_token_length = 225
mem_eff_attn = false
sdpa = true
xformers = false
max_train_epochs = 6
max_data_loader_n_workers = 8
persistent_data_loader_workers = true
gradient_checkpointing = true
gradient_accumulation_steps = 1
mixed_precision = "fp16"

[logging_arguments]
log_with = "tensorboard"
logging_dir = "/content/LoRA/logs"
log_prefix = "ishikei"

[sample_prompt_arguments]
sample_every_n_epochs = 1
sample_sampler = "euler_a"

[saving_arguments]
save_model_as = "safetensors"

[optimizer_arguments]
optimizer_type = "prodigy"
learning_rate = 1
max_grad_norm = 0
optimizer_args = [ "decouple=True","weight_decay=0.01","d_coef=2","use_bias_correction=True","safeguard_warmup=True","betas=0.9,0.99"]
lr_scheduler = "constant_with_warmup"
lr_warmup_steps = 100

[additional_network_arguments]
no_metadata = false
network_module = "networks.lora"
network_dim = 32
network_alpha = 1
network_args = []
network_train_unet_only = true

[advanced_training_config]
save_state = false
save_last_n_epochs_state = false
multires_noise_iterations = 6
multires_noise_discount = 0.3
caption_dropout_rate = 0
caption_tag_dropout_rate = 0.5
caption_dropout_every_n_epochs = 0
min_snr_gamma = 5