Port DW Pose preprocessor #2001
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run basic features tests on CPU | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
with: | |
repository: 'AUTOMATIC1111/stable-diffusion-webui' | |
path: 'stable-diffusion-webui' | |
ref: '5ab7f213bec2f816f9c5644becb32eb72c8ffb89' | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
with: | |
repository: 'Mikubill/sd-webui-controlnet' | |
path: 'stable-diffusion-webui/extensions/sd-webui-controlnet' | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.10.6 | |
cache: pip | |
cache-dependency-path: | | |
**/requirements*txt | |
stable-diffusion-webui/requirements*txt | |
- run: | | |
pip install torch torchvision | |
curl -Lo stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_canny-fp16.safetensors https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_canny-fp16.safetensors | |
cd stable-diffusion-webui && python launch.py --no-half --disable-opt-split-attention --use-cpu all --skip-torch-cuda-test --api --tests ./extensions/sd-webui-controlnet/tests | |
rm -fr stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_canny-fp16.safetensors |