refactor: model manager v3 - #8607
Merged
Merged
Conversation
5 tasks
psychedelicious
force-pushed
the
psyche/refactor/mm-3
branch
7 times, most recently
from
October 10, 2025 11:56
2b3fdbe to
151dd4d
Compare
psychedelicious
temporarily deployed
to
testpypi
October 10, 2025 12:16 — with
GitHub Actions
Inactive
psychedelicious
temporarily deployed
to
testpypi
October 12, 2025 05:03 — with
GitHub Actions
Inactive
…, simplify model manager models list
I can't remember what this was for and don't see any reference to it. Maybe it's just remnants from a previous implementation?
- Handle CLIP Embed and Main SD models missing variant field - Handle errors when calling the discriminator function, previously only handled ValidationError but it could be a ValueError or something else - Better logging for config migration
psychedelicious
force-pushed
the
psyche/refactor/mm-3
branch
from
October 12, 2025 23:30
877e9b1 to
7296a0c
Compare
psychedelicious
temporarily deployed
to
testpypi
October 14, 2025 05:38 — with
GitHub Actions
Inactive
psychedelicious
marked this pull request as ready for review
October 14, 2025 22:52
psychedelicious
requested review from
blessedcoolant,
ebr,
hipsterusername,
lstein and
maryhipp
as code owners
October 14, 2025 22:52
hipsterusername
approved these changes
Oct 14, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR:
It adds 3 migrations:
UNIQUEconstraint on the combination of name, base and model type. The only unique thing for models is now the model's path on disk.This PR was previously split into 3 smaller PRs:
TODO
Related Issues / Discussions
Gajillions of related issues.
QA Instructions
Merge Plan
This will need an alpha release before RC.
Checklist
What's Newcopy (if doing a release after this PR)