DHENG / DHENG_config /config_file.toml
kilog's picture
feat: upload DHENG lora model
d3ab6df
[model_arguments]
v2 = false
v_parameterization = false
pretrained_model_name_or_path = "/content/pretrained_model/AOM3A3.safetensors"
vae = "/content/vae/anime.vae.pt"
[additional_network_arguments]
no_metadata = false
unet_lr = 0.00025
text_encoder_lr = 2e-5
network_module = "lycoris.kohya"
network_dim = 8
network_alpha = 1
network_args = [ "conv_dim=16", "conv_alpha=8", "algo=loha",]
network_train_unet_only = false
network_train_text_encoder_only = false
[optimizer_arguments]
min_snr_gamma = 5
optimizer_type = "AdamW8bit"
learning_rate = 0.00025
max_grad_norm = 1.0
lr_scheduler = "cosine_with_restarts"
lr_warmup_steps = 300
lr_scheduler_num_cycles = 3
[dataset_arguments]
cache_latents = true
debug_dataset = false
vae_batch_size = 2
[training_arguments]
output_dir = "/content/LoRA/output"
output_name = "DHENG"
save_precision = "fp16"
save_every_n_epochs = 2
train_batch_size = 2
max_token_length = 225
mem_eff_attn = false
xformers = true
max_train_epochs = 50
max_data_loader_n_workers = 8
persistent_data_loader_workers = true
gradient_checkpointing = false
gradient_accumulation_steps = 1
mixed_precision = "fp16"
clip_skip = 2
logging_dir = "/content/LoRA/logs"
log_prefix = "DHENG"
noise_offset = 0.03
lowram = true
[sample_prompt_arguments]
sample_every_n_epochs = 999999
sample_sampler = "ddim"
[dreambooth_arguments]
prior_loss_weight = 1.0
[saving_arguments]
save_model_as = "safetensors"