kohya_ss
By bmaltais
LoRA_Easy_Training_Scripts
A UI made in Pyside6 to make training LoRA/LoCon and other LoRA type models in sd-scripts easy (by derrian-distro)
kohya_ss | LoRA_Easy_Training_Scripts | |
---|---|---|
132 | 14 | |
8,362 | 938 | |
- | - | |
9.9 | 7.7 | |
5 days ago | 14 days ago | |
Python | Python | |
Apache License 2.0 | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kohya_ss
Posts with mentions or reviews of kohya_ss.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-06.
-
Some semi-advanced LoRA & kohya_ss questions
Many of the options are explained here https://github.com/bmaltais/kohya_ss/wiki/LoRA-training-parameters
-
Lora training with Kohya issue
training in BF16 might solve this issue from what I saw in this ticket. I know other people ran into the issue too https://github.com/bmaltais/kohya_ss/issues/1382
-
What is the best way to merge multiple loras in to one model?
for lycoris loras you can use the command-line script from the kohya-ss repo https://github.com/bmaltais/kohya_ss/blob/master/networks/merge_lora.py i have an older version checked out from late july, it had a separate merge_lycoris.py for for this purpose, it's probably unified now in a single file
- Evidence that LoRA extraction in Kohya is broken?
-
Merging Lora with Checkpoint Model?
I usually do that with kohya_ss, a tool made for making LoRAs and finetunes. It might be a bit of a pain to set up just to do this one task, but if nobody gives you an easier method, look into it. https://github.com/bmaltais/kohya_ss
-
How I got Kohya_SS working on Arch Linux, including an up-to-date pip requirements file
After that, make your staging directory, and do the git clone https://github.com/bmaltais/kohya_ss.git, and navigate inside of it. Now, here's where things can become a pain. I used pyenv to set my system level python to 3.10.6 with pyenv global 3.10.6, though you can probably just use "local" and do it for the current shell. You NEED it to be active however before you set up your venv. If you do python --version and get 3.10.6, you're ready for this next part. Make your venv with python -m venv venv. This is the simplest way, it'll create a virtual environment in your current folder named venv. You'll do a source venv/bin/activate and then do which python to make sure it's using the python from the venv. Now for the fun part. The included setup scripts have been flaky for me, so I just went through the requirements and installed everything by hand. I'm going to do this guide right now for nvidia, because I just got a 4090 for this stuff. If this ends up working well for others and there's demand, I'll try to reproduce this for AMD (But I'll be honest, I got an nvidia card because bitsandbytes doesn't have full rocm support, nor do most libraries, so it's not very reliable). After installing everything and testing it works at least at a basic level for dreambooth training, my finished requirements.txt for pip is as below:
-
The best open source LoRA model training tools
Earlier I created a post where I asked for recommendations for LoRA model training tutorials. The first one I looked at used the kohya_ss GUI. That GitHub repo already has two tutorials, which are quite good, so I ended up using those:
-
Script does...nothing
I have tried my best to research this issue and have not come up with much. It is obvious that its a backend issue right? The guides that I used https://github.com/bmaltais/kohya_ss and https://github.com/pyenv-win/pyenv-win/
- Using LoRa on SDXL 1.0 (not using the Kohra GUIs)
-
How do I reduce the size of my Lora models?
I am training on a 12GB 3060 using kohya_ss. Is there a setting or something I'm missing?
LoRA_Easy_Training_Scripts
Posts with mentions or reviews of LoRA_Easy_Training_Scripts.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-02.
-
Could anyone please help with getting these scripts to work in Google Colab or Kaggle?
Hello! I want to run these scripts in Google Colab (https://github.com/derrian-distro/LoRA_Easy_Training_Scripts), but I don't know how. Tried to replace some code in this Colab (https://colab.research.google.com/github/camenduru/kohya_ss-colab/blob/main/kohya_ss_colab.ipynb), but it didn't go anywhere, so that's why I'm asking about it here. Could anyone help with this problem of mine please? I can clone git content, but I don't know how to run needed .bat or .sh file there.
-
need a lora traning guide for linux
conda create -n lora-easy-ui python=3.10.6 conda activate lora-easy-ui git clone https://github.com/derrian-distro/LoRA_Easy_Training_Scripts cd LoRA_Easy_Training_Scripts conda install -c anaconda cudatoolkit git submodule init git submodule update cd sd_scripts python -m venv venv source venv/bin/activate pip3 install torch torchvision torchaudio pip install -r requirements.txt pip install xformers pip install -r ../requirements_ui.txt pip install ../LyCORIS/. accelerate config
-
Has anyone had any luck getting kohya scripts installed and running on Ubuntu (or Linux in genera)?
I use this https://github.com/derrian-distro/LoRA_Easy_Training_Scripts on Kubuntu. It works very well.
- Kohya stopped working closes immediately after opening
-
help to create a lora in stable diffusion
The same thing happened to me, I could never run it well, but thanks to that I met easy lora, it has a very intuitive interface, it installs very clean, and it works impeccable, it doesn't change almost all of the configuration, just choose the model, your photos and the epocs or steps, and it works great https://github.com/derrian-distro/LoRA_Easy_Training_Scripts
-
Can't Get Any LoRA Training Repos To Work
Are there any Repos that actually work? I've attempted https://github.com/derrian-distro/LoRA_Easy_Training_Scripts, as well as a few variations of the kohya_ss ones to no avail.
-
Keep getting failed to match keys when loading newly trained lora.
This is my 3rd one, can someone point me to the right direction? I'm using https://github.com/derrian-distro/LoRA_Easy_Training_Scripts/releases/tag/installers-v5
- keep getting "failed to match keys error when loading my self trained lora"
-
Have you got running LoRA training on an AMD GPU?
Then, git clone https://github.com/derrian-distro/LoRA_Easy_Training_Scripts
-
LoRA training issue
I'm attempting to train a LoRA using Kohya's SD Scripts and one of Derrian's LoRA Easy Training Scripts (the popup version). I've been able to set everything up fine, boot up the venv, run the script, get everything spinning, etc. until:
What are some alternatives?
When comparing kohya_ss and LoRA_Easy_Training_Scripts you can also consider the following projects:
sd_dreambooth_extension
LyCORIS - Lora beYond Conventional methods, Other Rank adaptation Implementations for Stable diffusion.
EveryDream-trainer - General fine tuning for Stable Diffusion
sd-scripts
pyenv-virtualenv - a pyenv plugin to manage virtualenv (a.k.a. python-virtualenv)
automatic - SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
pyenv - Simple Python version management
kohya_ss_colab - a (successful) attepmt to port kohya_ss to colab
bitsandbytes-rocm
sd-webui-additional-networks
kohya_ss vs sd_dreambooth_extension
LoRA_Easy_Training_Scripts vs LyCORIS
kohya_ss vs EveryDream-trainer
LoRA_Easy_Training_Scripts vs sd-scripts
kohya_ss vs sd-scripts
LoRA_Easy_Training_Scripts vs pyenv-virtualenv
kohya_ss vs automatic
LoRA_Easy_Training_Scripts vs pyenv
kohya_ss vs kohya_ss_colab
LoRA_Easy_Training_Scripts vs bitsandbytes-rocm
kohya_ss vs sd-webui-additional-networks
kohya_ss vs LyCORIS