This commit is contained in:
bmaltais 2023-01-17 17:54:38 -05:00
parent 9f95c8d830
commit cb953d716f
2 changed files with 23 additions and 3 deletions

View File

@ -6,7 +6,7 @@ This repository repository is providing a Gradio GUI for kohya's Stable Diffusio
Python 3.10.6+ and Git:
- Python 3.10.6+: https://www.python.org/ftp/python/3.10.6/python-3.10.6-amd64.exe
- Python 3.10.6+: https://www.python.org/ftp/python/3.10.9/python-3.10.9-amd64.exe
- git: https://git-scm.com/download/win
## Installation
@ -27,7 +27,7 @@ python -m venv --system-site-packages venv
.\venv\Scripts\activate
pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116
pip install --upgrade -r requirements.txt
pip install --use-pep517 --upgrade -r requirements.txt
pip install -U -I --no-deps https://github.com/C43H66N12O12S2/stable-diffusion-webui/releases/download/f/xformers-0.0.14.dev0-cp310-cp310-win_amd64.whl
cp .\bitsandbytes_windows\*.dll .\venv\Lib\site-packages\bitsandbytes\
@ -61,7 +61,7 @@ When a new release comes out you can upgrade your repo with the following comman
cd kohya_ss
git pull
.\venv\Scripts\activate
pip install --upgrade -r requirements.txt
pip install --use-pep517 --upgrade -r requirements.txt
```
Once the commands have completed successfully you should be ready to use the new version.
@ -104,6 +104,16 @@ python lora_gui.py
Once you have created the LoRA network you can generate images via auto1111 by installing the extension found here: https://github.com/kohya-ss/sd-webui-additional-networks
## Troubleshooting
### Page file limit
- if get X error relating to `page file`, increase page file size limit in Windows
### No module called tkinter
- Re-install python 3.10.x on your system: https://www.python.org/ftp/python/3.10.9/python-3.10.9-amd64.exe
## Change history
* 2023/01/16 (v20.2.1):

10
gui.bat Normal file
View File

@ -0,0 +1,10 @@
@echo off
set VENV_DIR=.\venv
set PYTHON=python
call %VENV_DIR%\Scripts\activate.bat
%PYTHON% kohya_gui.py
pause