-
-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add preload models step #150
Conversation
@NullSenseStudio @blastframe (lmk if you don’t want me to ping you btw, sorry!) |
@carson-katri I'm happy to help if I can. Downloading now. |
@blastframe Thanks! if you can, delete the huggingface caches in |
I can test too, but won't be until tomorrow if you're okay with waiting. |
Worked perfectly for me. Also deleted torch within |
Is there any reason why the artifact is nested within a second .zip? |
The upload-artifact action creates a zip even if you pass it a zip to upload. And I need to compress it first or it compresses the directory bizarrely. I think it was trying to compress each file in the directory as its own artifact when I didn’t compress it first. |
* Add preload models step to generator_process main * Only run preload_models if models are detected as missing * Show progress in info
This is run every time the
GeneratorProcess
is started, so you don't need to do more than one thing in the preferences window. I also did not use thepreload_models.py
script from InvokeAI for more control over how it works.