mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
preload_models: explicitly load diffusers models
In non-interactive mode too, as long as you're logged in.
This commit is contained in:
parent
94f57345e3
commit
a6a766dfa2
8
.github/workflows/test-invoke-conda.yml
vendored
8
.github/workflows/test-invoke-conda.yml
vendored
@ -105,7 +105,9 @@ jobs:
|
||||
mkdir -p ~/.huggingface
|
||||
echo -n '${{ secrets.HUGGINGFACE_TOKEN }}' > ~/.huggingface/token
|
||||
fi
|
||||
python scripts/configure_invokeai.py --no-interactive --yes
|
||||
python scripts/preload_models.py \
|
||||
--no-interactive \
|
||||
--full-precision # can't use fp16 weights without a GPU
|
||||
|
||||
- name: cat ~/.invokeai
|
||||
id: cat-invokeai
|
||||
@ -113,6 +115,10 @@ jobs:
|
||||
|
||||
- name: Run the tests
|
||||
id: run-tests
|
||||
env:
|
||||
HF_HUB_OFFLINE: 1
|
||||
HF_DATASETS_OFFLINE: 1
|
||||
TRANSFORMERS_OFFLINE: 1
|
||||
run: |
|
||||
time python scripts/invoke.py \
|
||||
--no-patchmatch \
|
||||
|
Loading…
Reference in New Issue
Block a user