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:
Michael Cahill 2026-03-07 15:40:45 -08:00
parent 9ae76265ba
commit 23575dc7d6

View file

@ -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 &