Skip to content

Download all model types. #3944

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

Merged
merged 5 commits into from
Jul 26, 2023
Merged

Download all model types. #3944

merged 5 commits into from
Jul 26, 2023

Conversation

camenduru
Copy link
Contributor

No description provided.

@camenduru
Copy link
Contributor Author

Copy link
Collaborator

@lstein lstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadly, this does not work quite the way you expect. With your patch, the "STARTER MODELS" section ends up displaying the main, controlnet and lora models all mixed up together:

Screenshot from 2023-07-25 16-33-02

What you want to do is to modify the recommended_models() method in model_install_backend.py to return all recommended models rather than just the ones returned by starter_models(). I believe this will cause them to be downloaded in batch when --default_only --yes is set, but not mess up the UI when used interactively.

Copy link
Collaborator

@lstein lstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have made the requisite change and tested. Works well. This can be merged.

@lstein lstein mentioned this pull request Jul 26, 2023
7 tasks
@lstein lstein enabled auto-merge July 26, 2023 14:20
@lstein lstein merged commit 385483f into invoke-ai:main Jul 26, 2023
lstein pushed a commit that referenced this pull request Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants