mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-22 22:30:45 -07:00
M01: Add Install runtime dependencies step (torch, clip, requirements)
Fixes ModuleNotFoundError: torch when using --skip-prepare-environment. Repositories still required from cache for paths.py. Made-with: Cursor
This commit is contained in:
parent
31588a1e59
commit
696371932a
1 changed files with 9 additions and 0 deletions
9
.github/workflows/run_tests.yaml
vendored
9
.github/workflows/run_tests.yaml
vendored
|
|
@ -44,6 +44,15 @@ jobs:
|
|||
run: |
|
||||
pip install pip-audit
|
||||
pip-audit || true
|
||||
- name: Install runtime dependencies
|
||||
run: |
|
||||
pip install torch==2.1.2 torchvision==0.16.2 --extra-index-url https://download.pytorch.org/whl/cpu
|
||||
pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip --no-build-isolation
|
||||
pip install https://github.com/mlfoundations/open_clip/archive/bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b.zip
|
||||
pip install -r requirements_versions.txt
|
||||
env:
|
||||
PIP_DISABLE_PIP_VERSION_CHECK: "1"
|
||||
PIP_PROGRESS_BAR: "off"
|
||||
- name: Setup environment
|
||||
run: python launch.py --skip-prepare-environment --skip-torch-cuda-test --exit
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue