Diffusers, txt2img and img2img, make sure guidance scale defaults to 0 when num steps <=4 #975
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: Inference API code quality | |
on: | |
pull_request: | |
paths: | |
- "**" | |
jobs: | |
run_tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
pip install -e .[quality] | |
- name: Make quality | |
run: | | |
make quality |