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