-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Contributing
To contribute, clone the repository, make your changes, commit and push to your clone, and submit a pull request.
- if you are adding a lot of code, consider making it an extension instead.
- do not add multiple unrelated things in same PR.
- make sure that your changes do not break anything by running tests.
- do not submit PRs where you just take existing lines and reformat them without changing what they do.
- if you are submitting a bug fix, there must be a way for me to reproduce the bug.
There is a discord channel for development of the webui: link. Join if you want to talk about a PR in real time. Don't join if you're not involved in development.
If you are making changes to used libraries or the installation script, you must verify them to work on default Windows installation from scratch. If you cannot test if it works (due to your OS or anything else), do not make those changes (with possible exception of changes that explicitly are guarded from being executed on Windows by if
s or something else).
I mostly follow code style suggested by PyCharm, with the exception of disabled line length limit.
-
webui.user.bat
is never to be edited -
requirements_versions.txt
is for python 3.10.6 -
requirements.txt
is for people running on colabs and whatnot using python 3.7
Gradio at some point wanted to add this section to shill their project in the contributing section, which I didn't have at the time, so here it is now.
For Gradio check out the docs to contribute: Have an issue or feature request with Gradio? open a issue/feature request on github for support: https://github.com/gradio-app/gradio/issues
This is the Stable Diffusion web UI wiki. Wiki Home
Setup
- Install and run on NVidia GPUs
- Install and run on AMD GPUs
- Install and run on Apple Silicon
- Install and run on Intel Silicon (external wiki page)
- Install and run via container (i.e. Docker)
- Run via online services
Reproducing images / troubleshooting
Usage
- Features
- Command Line Arguments and Settings
- Optimizations
- Custom Filename Name and Subdirectory
- Change model folder location e.g. external disk
- User Interface Customizations
- Guides and Tutorials
Developers