kohya_ss
stable-diffusion-ui
kohya_ss | stable-diffusion-ui | |
---|---|---|
132 | 249 | |
8,414 | 6,808 | |
- | - | |
9.9 | 9.9 | |
4 days ago | 11 months ago | |
Python | JavaScript | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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
-
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?
stable-diffusion-ui
-
Useful Links
CMDR2's 1-Click Installer
-
Best current stable diffusion UI app?
Hey so i'm currently using easydiffusion but its missing one feature i've been really wanting to play around with recently. Video, and i've heard from some others that its one of the easiest to install but least peformant and worse options you can get; so what do you guys suggest?
-
The softer side of self hosting: The aesthetics, logos
Or just use the CPU and it works, just takes a few minutes. stable diffusion cpu But don't let me stop you, I need one too.
-
So how is nvidia gpu experience these days?
No. CUDA is very straightforward. There is even a nice project that sets up Stable Diffusion for you. With basically no knowledge about AI i was able to get it to run. If i recall correctly i just needed to install one dependency manually, and i was provided with nice web gui for playing with it.
-
Models and samplers…
You could read the guide first: https://github.com/cmdr2/stable-diffusion-ui/wiki/UI-Overview or Start easy diffusion
-
Could someone please make my wife into a realistic sculpture/statue? Will tip $50 for a perfect one!
Thanks and your right there are loads, trying out this from GitHub
- What is the text-to-image AI tool?
-
Tip for a (kinda) newbie
Simplest start https://github.com/cmdr2/stable-diffusion-ui
-
SD privacy? Offline? Concerns?
First is Easy Diffusion, you need to be online just once to run the installer. It downloads several extra files. Let it finish and then make some test pictures. Exit everything (browser window and text window). Then anytime you want to run it, just turn off internet and run the batch file to start it up. No internet!
-
Need help installing SD on AMD!!
Yesterday I got Easy Diffusion to work (on Windows only), but it refuses to use the GPU and instead uses the CPU, which of course, takes nearly an hour to make a 512x512 image.
What are some alternatives?
sd_dreambooth_extension
stable-diffusion-webui - Stable Diffusion web UI
EveryDream-trainer - General fine tuning for Stable Diffusion
ComfyUI - The most powerful and modular stable diffusion GUI, api and backend with a graph/nodes interface.
sd-scripts
text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.
automatic - SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
A1111-Web-UI-Installer - Complete installer for Automatic1111's infamous Stable Diffusion WebUI
kohya_ss_colab - a (successful) attepmt to port kohya_ss to colab
civitai - A repository of models, textual inversions, and more
LoRA_Easy_Training_Scripts - A UI made in Pyside6 to make training LoRA/LoCon and other LoRA type models in sd-scripts easy
SHARK - SHARK - High Performance Machine Learning Distribution