mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-28 10:25:05 +08:00
Page:
Tests
Pages
API
Change model folder location
Command Line Arguments and Settings
Containers
Contributing
Custom Images Filename Name and Subdirectory
Custom Scripts
Dependencies
Developing custom scripts
Developing extensions
Extensions index
Extensions
Features
Guides and Tutorials
Home
How to make your own Inpainting model
How to switch to different versions of WebUI
Install and Run on AMD GPUs
Install and Run on NVidia GPUs
Installation on Apple Silicon
List of Time Zones
Localization
Negative prompt
On the benefits of writing short, concise code
Online Services
Optimizations
Optimum SDXL Usage
Seed breaking changes
Tests
Textual Inversion
Troubleshooting
User Interface Customizations
Xformers
6
Tests
AUTOMATIC1111 edited this page 2023-08-09 18:04:29 +03:00
You can run tests to validate your modifications.
Post PR #10291, py.test is used as the test runner. Testing dependencies are in requirements-test.txt
, so pip install -r requirements-test.txt
first.
Most of the tests run against a live instance of the WebUI. You can start the WebUI server with a suitable baseline configuration with the --test-server
argument, but you may want to add e.g. --use-cpu all --no-half
depending on your system.
The command to run webui tests is: python -m pytest -vv --verify-base-url test
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
This is the Stable Diffusion web UI wiki. Wiki Home