mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-22 22:30:45 -07:00
M01: Add GITHUB_TOKEN for repo clones, cache repositories
CLIP fix worked. Git clone of Stability-AI fails without auth. Add token-based URLs for Stability-AI repos. Made-with: Cursor
This commit is contained in:
parent
9ae76265ba
commit
23575dc7d6
1 changed files with 8 additions and 0 deletions
8
.github/workflows/run_tests.yaml
vendored
8
.github/workflows/run_tests.yaml
vendored
|
|
@ -25,6 +25,12 @@ jobs:
|
|||
with:
|
||||
path: models
|
||||
key: "2023-12-30"
|
||||
- name: Cache repositories
|
||||
id: cache-repos
|
||||
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
|
||||
with:
|
||||
path: repositories
|
||||
key: "repos-2023-12-30"
|
||||
- name: Install test dependencies
|
||||
run: pip install wait-for-it -r requirements-test.txt
|
||||
env:
|
||||
|
|
@ -46,6 +52,8 @@ jobs:
|
|||
TORCH_INDEX_URL: https://download.pytorch.org/whl/cpu
|
||||
WEBUI_LAUNCH_LIVE_OUTPUT: "1"
|
||||
PYTHONUNBUFFERED: "1"
|
||||
STABLE_DIFFUSION_REPO: https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/Stability-AI/stablediffusion.git
|
||||
STABLE_DIFFUSION_XL_REPO: https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/Stability-AI/generative-models.git
|
||||
- name: Smoke startup
|
||||
run: |
|
||||
python launch.py --skip-prepare-environment --skip-torch-cuda-test --test-server --do-not-download-clip --no-half --disable-opt-split-attention --use-cpu all --api-server-stop --port 7860 &
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue