-
Notifications
You must be signed in to change notification settings - Fork 26.9k
Tests
w-e-w edited this page Apr 19, 2023
·
6 revisions
You can run tests to validate your modifications to weubi.
To run tests, add --tests TESTS_DIR
as a commandline argument to launch.py
along with your other command line arguments.
There is a basic test
that we used to verify the basic image creation works vi API, you can create other test for different scenarios.
To run the basic test
, pass the argument --tests test
to launch.py
:
python launch.py --tests test
for CPU only test:
python launch.py --tests test --use-cpu all --no-half
the test the arguments used for the automated GitHub actions upon Pull Requests is:
python launch.py --tests test --no-half --disable-opt-split-attention --use-cpu all --skip-torch-cuda-test
You'll find outputs of main program in test/stdout.txt
and test/stderr.txt
.
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