mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
reenable caching of sd model
This commit is contained in:
parent
6c34b89cfb
commit
f7a47c1b67
10
.github/workflows/test-invoke-conda.yml
vendored
10
.github/workflows/test-invoke-conda.yml
vendored
@ -55,6 +55,16 @@ jobs:
|
||||
- name: set conda environment name
|
||||
run: echo "CONDA_ENV_NAME=invokeai" >> $GITHUB_ENV
|
||||
|
||||
- name: Use Cached Stable Diffusion Model
|
||||
id: cache-stable-diffusion-model
|
||||
uses: actions/cache@v3
|
||||
env:
|
||||
cache-name: cache-sd-${{ matrix.stable-diffusion-model }}
|
||||
with:
|
||||
path: models/ldm/stable-diffusion-v1/model.ckpt
|
||||
key: ${{ env.cache-name }}
|
||||
restore-keys: ${{ env.cache-name }}
|
||||
|
||||
- name: Download Stable Diffusion v1.4 Model
|
||||
if: ${{ steps.cache-sd-v1-4.outputs.cache-hit != 'true' }}
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user