aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-05-11 12:50:00 +0300
committerGitHub <noreply@github.com>2023-05-11 12:50:00 +0300
commitfb366891abf95e7da64521cbca119b5fd4ee70f5 (patch)
treeaede7d67dbf06cde6789532dd5c7f991e5203824 /.github/workflows
parent4445314c683920c4b093a61f39feca39dfdad501 (diff)
parent5b592669f9917cf885b0f597ac427ba91c847801 (diff)
Merge pull request #10274 from akx/torch-cpu-for-tests
Use CPU Torch in CI, etc.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/run_tests.yaml6
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()