run without preload_models.py

since an upcoming update makes it interactive
This commit is contained in:
mauwii 2022-10-29 08:39:28 +02:00
parent 85b5fcd5e1
commit e7aeaa310c
No known key found for this signature in database
GPG Key ID: D923DB04ADB3F5AB

View File

@ -90,19 +90,19 @@ jobs:
-o ${{ matrix.stable-diffusion-model-dl-path }} \
-L ${{ matrix.stable-diffusion-model }}
- name: Use Cached Huggingface and Torch models
id: cache-hugginface-torch
uses: actions/cache@v3
env:
cache-name: cache-hugginface-torch
with:
path: ~/.cache
key: ${{ env.cache-name }}
restore-keys: |
${{ env.cache-name }}-${{ hashFiles('scripts/preload_models.py') }}
# - name: Use Cached Huggingface and Torch models
# id: cache-hugginface-torch
# uses: actions/cache@v3
# env:
# cache-name: cache-hugginface-torch
# with:
# path: ~/.cache
# key: ${{ env.cache-name }}
# restore-keys: |
# ${{ env.cache-name }}-${{ hashFiles('scripts/preload_models.py') }}
- name: run preload_models.py
run: python scripts/preload_models.py
# - name: run preload_models.py
# run: python scripts/preload_models.py
- name: Run the tests
run: |