Skip to content

Instantly share code, notes, and snippets.

@shakir-abdo
Forked from vizsumit/LoraConfig.json
Created September 7, 2023 09:33
Show Gist options
  • Save shakir-abdo/fb484c982f27cec79425196ec8e68bc7 to your computer and use it in GitHub Desktop.
Save shakir-abdo/fb484c982f27cec79425196ec8e68bc7 to your computer and use it in GitHub Desktop.
settings for Kohya_ss LoRA Training
{
"pretrained_model_name_or_path": "D:/Others/StableDiffusion/checkpoints/Stable-diffusion/realistic-vision-v13.ckpt",
"v2": false,
"v_parameterization": false,
"logging_dir": "D:/Others/StableDiffusion/training_data/log",
"train_data_dir": "D:/Others/StableDiffusion/training_data/images",
"reg_data_dir": "",
"output_dir": "D:/Others/StableDiffusion/training_data/model",
"max_resolution": "512,512",
"learning_rate": 0.0001,
"lr_scheduler": "constant",
"lr_warmup": 0,
"train_batch_size": 2,
"epoch": 1,
"save_every_n_epochs": 1,
"mixed_precision": "bf16",
"save_precision": "bf16",
"seed": "1234",
"num_cpu_threads_per_process": 2,
"cache_latents": true,
"cache_latents_to_disk": false,
"caption_extension": ".txt",
"enable_bucket": true,
"gradient_checkpointing": false,
"full_fp16": false,
"no_token_padding": false,
"stop_text_encoder_training": 0,
"xformers": true,
"save_model_as": "safetensors",
"shuffle_caption": false,
"save_state": false,
"resume": "",
"prior_loss_weight": 1.0,
"text_encoder_lr": 5e-05,
"unet_lr": 0.0001,
"network_dim": 128,
"lora_network_weights": "",
"color_aug": false,
"flip_aug": false,
"clip_skip": 2,
"gradient_accumulation_steps": 1.0,
"mem_eff_attn": false,
"output_name": "FileName",
"model_list": "custom",
"max_token_length": "75",
"max_train_epochs": "",
"max_data_loader_n_workers": "1",
"network_alpha": 128,
"training_comment": "",
"keep_tokens": "0",
"lr_scheduler_num_cycles": "",
"lr_scheduler_power": "",
"persistent_data_loader_workers": false,
"bucket_no_upscale": true,
"random_crop": false,
"bucket_reso_steps": 64.0,
"caption_dropout_every_n_epochs": 0.0,
"caption_dropout_rate": 0,
"optimizer": "AdamW8bit",
"optimizer_args": "",
"noise_offset_type": "Original",
"noise_offset": 0,
"adaptive_noise_scale": 0,
"multires_noise_iterations": 0,
"multires_noise_discount": 0,
"LoRA_type": "Standard",
"conv_dim": 1,
"conv_alpha": 1,
"sample_every_n_steps": 0,
"sample_every_n_epochs": 0,
"sample_sampler": "euler_a",
"sample_prompts": "",
"additional_parameters": "",
"vae_batch_size": 0,
"min_snr_gamma": 0,
"down_lr_weight": "",
"mid_lr_weight": "",
"up_lr_weight": "",
"block_lr_zero_threshold": "",
"block_dims": "",
"block_alphas": "",
"conv_dims": "",
"conv_alphas": "",
"weighted_captions": false,
"unit": 1,
"save_every_n_steps": 0,
"save_last_n_steps": 0,
"save_last_n_steps_state": 0,
"use_wandb": "",
"wandb_api_key": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment