-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
refactor(mm): update configs and schemas #5846
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
psychedelicious
requested review from
lstein,
blessedcoolant,
GreggHelt2,
brandonrising,
RyanJDick and
hipsterusername
as code owners
March 1, 2024 05:15
github-actions
bot
added
documentation
Improvements or additions to documentation
api
python
PRs that change python files
backend
PRs that change backend files
services
PRs that change app services
PythonTests
labels
Mar 1, 2024
psychedelicious
force-pushed
the
psyche/refactor/mm-schema
branch
from
March 2, 2024 23:55
69adda6
to
d63d53a
Compare
github-actions
bot
added
python-tests
PRs that change python tests
docs
PRs that change docs
labels
Mar 2, 2024
12 tasks
1 task
psychedelicious
force-pushed
the
psyche/refactor/mm-schema
branch
2 times, most recently
from
March 4, 2024 10:38
5d55a9d
to
c3c2be2
Compare
psychedelicious
force-pushed
the
psyche/refactor/mm-schema
branch
2 times, most recently
from
March 4, 2024 12:02
9a2892c
to
bea0fd4
Compare
maryhipp
reviewed
Mar 4, 2024
invokeai/app/services/shared/sqlite_migrator/migrations/migration_7.py
Outdated
Show resolved
Hide resolved
maryhipp
reviewed
Mar 4, 2024
maryhipp
reviewed
Mar 4, 2024
invokeai/app/services/shared/sqlite_migrator/migrations/migration_7.py
Outdated
Show resolved
Hide resolved
maryhipp
approved these changes
Mar 4, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - would just like to add default_settings
to the DB so that we don't need to do another follow up PR
We will handle default VAE selection in the UI.
- Update all queries - Remove Advanced Add - Removed un-editable, internal-only model attributes from model edit UI (e.g. format, repo variant, model type) - Update model tags so the list refreshes when a model installs - Rename some queries, components, variables, types to match backend - Fix divide-by-zero in install queue
This is useful for when you are using a memory DB and do not want to wait for all models to be hashed on startup.
github-actions
bot
added
invocations
PRs that change invocations
frontend
PRs that change frontend files
labels
Mar 5, 2024
blessedcoolant
approved these changes
Mar 5, 2024
8 tasks
…on to appear in dropdown
We can derive the valid trigger options in the component without needing to lift the options list into global state.
hipsterusername
approved these changes
Mar 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
api
backend
PRs that change backend files
docs
PRs that change docs
documentation
Improvements or additions to documentation
frontend
PRs that change frontend files
frontend-deps
PRs that change frontend dependencies
invocations
PRs that change invocations
python
PRs that change python files
python-deps
PRs that change python dependencies
python-tests
PRs that change python tests
Root
services
PRs that change app services
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What type of PR is this? (check all applicable)
Have you discussed this change with the InvokeAI team?
Have you updated all relevant documentation?
Description
Changes to model manager configs, numerous bug fixes and enhancements:
skip_model_hash
config option. When enabled, new models have their hash set to a UUID. This is useful if you are using a memory DB and often restarting the app, so you don't need to wait for the actual model hashing each time. Disabled by default.QA Instructions, Screenshots, Recordings
App should still work.
Merge Plan
This PR can be merged when approved.
❗❗❗
This PR includes an irreversible DB migration which drops the old model related tables! This shouldn't cause any problems, because nobody is using them - they were feature-flagged for MM2. Just noting this change.
❗❗❗
Added/updated tests?
have not been included