The most powerful and modular stable diffusion GUI, api and backend with a graph/nodes interface.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
name: "Windows Release cu118 dependencies 2"
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
xformers:
|
|
|
|
description: 'xformers version'
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
default: "xformers"
|
|
|
|
|
|
|
|
# push:
|
|
|
|
# branches:
|
|
|
|
# - master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build_dependencies:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-python@v4
|
|
|
|
with:
|
|
|
|
python-version: '3.10.9'
|
|
|
|
|
|
|
|
- shell: bash
|
|
|
|
run: |
|
|
|
|
python -m pip wheel --no-cache-dir torch torchvision torchaudio ${{ inputs.xformers }} --extra-index-url https://download.pytorch.org/whl/cu118 -r requirements.txt pygit2 -w ./temp_wheel_dir
|
|
|
|
python -m pip install --no-cache-dir ./temp_wheel_dir/*
|
|
|
|
echo installed basic
|
|
|
|
ls -lah temp_wheel_dir
|
|
|
|
mv temp_wheel_dir cu118_python_deps
|
|
|
|
tar cf cu118_python_deps.tar cu118_python_deps
|
|
|
|
|
|
|
|
- uses: actions/cache/save@v3
|
|
|
|
with:
|
|
|
|
path: cu118_python_deps.tar
|
|
|
|
key: ${{ runner.os }}-build-cu118
|