diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-05-11 09:50:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-11 09:50:00 +0000 |
commit | fb366891abf95e7da64521cbca119b5fd4ee70f5 (patch) | |
tree | aede7d67dbf06cde6789532dd5c7f991e5203824 /.github | |
parent | 4445314c683920c4b093a61f39feca39dfdad501 (diff) | |
parent | 5b592669f9917cf885b0f597ac427ba91c847801 (diff) | |
download | stable-diffusion-webui-gfx803-fb366891abf95e7da64521cbca119b5fd4ee70f5.tar.gz stable-diffusion-webui-gfx803-fb366891abf95e7da64521cbca119b5fd4ee70f5.tar.bz2 stable-diffusion-webui-gfx803-fb366891abf95e7da64521cbca119b5fd4ee70f5.zip |
Merge pull request #10274 from akx/torch-cpu-for-tests
Use CPU Torch in CI, etc.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/run_tests.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml index 9a0b8d22..0708398b 100644 --- a/.github/workflows/run_tests.yaml +++ b/.github/workflows/run_tests.yaml @@ -17,8 +17,14 @@ jobs: cache: pip cache-dependency-path: | **/requirements*txt + launch.py - name: Run tests run: python launch.py --tests test --no-half --disable-opt-split-attention --use-cpu all --skip-torch-cuda-test + env: + PIP_DISABLE_PIP_VERSION_CHECK: "1" + PIP_PROGRESS_BAR: "off" + TORCH_INDEX_URL: https://download.pytorch.org/whl/cpu + WEBUI_LAUNCH_LIVE_OUTPUT: "1" - name: Upload main app stdout-stderr uses: actions/upload-artifact@v3 if: always() |