Commit Graph

18592 Commits

Author SHA1 Message Date
psychedelicious
1373b440c3 refactor(mm): continued iteration on model identifcation 2025-10-10 16:48:34 +11:00
psychedelicious
0865c99834 feat(mm): do not log when multiple non-unknown model matches 2025-10-10 16:48:34 +11:00
psychedelicious
8222d5579d feat(mm): add method to get main model defaults from a base 2025-10-10 16:48:34 +11:00
psychedelicious
255327840b fix(mm): ModelOnDisk skips dirs when looking for weights
Previously a path w/ any of the known weights suffixes would be seen as
a weights file, even if it was a directory. We now check to ensure the
candidate path is actually a file before adding it to the list of
weights.
2025-10-10 16:48:34 +11:00
psychedelicious
c873d054b9 fix(mm): vae checkpoint probe checking for dir instead of file 2025-10-10 16:48:34 +11:00
psychedelicious
11f03a4201 fix(mm): false negative on flux lora 2025-10-10 16:48:34 +11:00
psychedelicious
8e5987ff64 feat(db): run migrations 23 and 24 2025-10-10 16:48:34 +11:00
psychedelicious
55e8fe1e18 fix(db): migration 23 fall back to unknown model when config change fails 2025-10-10 16:48:34 +11:00
psychedelicious
2437d2c029 fix(db): migration 22 insert only real cols 2025-10-10 16:48:34 +11:00
psychedelicious
54e6d28a7e fix(mm): pop base/type/format when creating unknown model config 2025-10-10 16:48:34 +11:00
psychedelicious
5437f8dc76 refactor(mm): split big migration into 3
Split the big migration that did all of these things into 3:

- Migration 22: Remove unique contraint on base/name/type in models
table
- Migration 23: Migrate configs to v6.8.0 schemas
- Migration 24: Normalize file storage
2025-10-10 16:48:34 +11:00
psychedelicious
e39a52741b fix(mm): duplicate import 2025-10-10 16:48:34 +11:00
psychedelicious
9e03a39c3c feat(mm): add model config schema migration logic 2025-10-10 16:48:34 +11:00
psychedelicious
a2f9e007ac feat(mm): fix clip vision starter model bases, add ref to actual models 2025-10-10 16:48:34 +11:00
psychedelicious
64ed234fc2 feat(mm): clearer naming for main config class hierarchy 2025-10-10 16:48:34 +11:00
psychedelicious
06447f7f31 docs(mm): add reminder for self for field migrations 2025-10-10 16:48:34 +11:00
psychedelicious
34be134c09 feat(mm): add sanity checks before probing paths 2025-10-10 16:48:34 +11:00
psychedelicious
c1d51e5968 fix(mm): clip vision identification 2025-10-10 16:48:34 +11:00
psychedelicious
c38d7bd398 feat(mm): more flexible config matching utils 2025-10-10 16:48:34 +11:00
psychedelicious
a34958f42c fix(mm): sdxl ip adapter identification 2025-10-10 16:48:34 +11:00
psychedelicious
1b4dbf5266 fix(mm): t5 identification 2025-10-10 16:48:33 +11:00
psychedelicious
e5dcc013d4 fix(mm): ensure unknown model configs get unknown attrs 2025-10-10 16:48:33 +11:00
psychedelicious
7d8c7e44e6 docs(mm): remove extraneous comment 2025-10-10 16:48:33 +11:00
psychedelicious
ea3d2b4c09 feat(mm): satisfy type checker in flux denoise 2025-10-10 16:48:33 +11:00
psychedelicious
3a76d26776 feat(mm): add helper method for legacy configs 2025-10-10 16:48:33 +11:00
psychedelicious
fcf0200168 docs(mm): document flux variant attr 2025-10-10 16:48:33 +11:00
psychedelicious
407926b8dc docs(mm): update docsstrings in factory.py 2025-10-10 16:48:33 +11:00
psychedelicious
7659a131f4 fix(mm): inverted condition 2025-10-10 16:48:33 +11:00
psychedelicious
5adce0266b refactor(mm): remove legacy probe, new configs dir structure, update imports 2025-10-10 16:48:33 +11:00
psychedelicious
2043aa3807 chore(ui): typegen 2025-10-10 16:48:33 +11:00
psychedelicious
f640920c6b docs(mm): add comments for identification utils 2025-10-10 16:48:33 +11:00
psychedelicious
d93d4242f9 refactor(mm): split configs into separate files 2025-10-10 16:48:33 +11:00
psychedelicious
6cc67e53a8 tidy(mm): consistent class names 2025-10-10 16:48:33 +11:00
psychedelicious
165f57286a fix(mm): tag generation & scattered probe fixes 2025-10-10 16:48:33 +11:00
psychedelicious
1e1c8b988b feat(mm): consistent naming for all model config classes 2025-10-10 16:48:33 +11:00
psychedelicious
315ddefbf1 refactor(mm): diffusers loras
w
2025-10-10 16:48:33 +11:00
psychedelicious
629db4acfe refactor(mm): make config classes narrow
Simpler logic to identify, less complexity to add new model, fewer
useless attrs that do not relate to the model arch, etc
2025-10-10 16:48:33 +11:00
psychedelicious
a7f1cf4c17 tidy(mm): flux lora format util 2025-10-10 16:48:33 +11:00
psychedelicious
a9b88d46e2 tidy(mm): clean up ModelOnDisk caching 2025-10-10 16:48:32 +11:00
psychedelicious
dd7a51b351 tidy(mm): clean up model heuristic utils 2025-10-10 16:48:32 +11:00
psychedelicious
e9911cf135 feat(mm): wip port main models to new api 2025-10-10 16:48:32 +11:00
psychedelicious
6b5e3ca17f tidy(mm): removed unused model merge class 2025-10-10 16:48:32 +11:00
psychedelicious
54e3c3e209 docs(mm): add todos 2025-10-10 16:48:32 +11:00
psychedelicious
0192caa90f feat(mm): wip port of main models to new api 2025-10-10 16:48:32 +11:00
psychedelicious
24bc4f5047 feat(mm): wip port of main models to new api 2025-10-10 16:48:32 +11:00
psychedelicious
6f5720904a feat(mm): wip port of main models to new api 2025-10-10 16:48:32 +11:00
psychedelicious
f9686b38fa refactor(mm): add config validation utils, make it all consistent and clean 2025-10-10 16:48:32 +11:00
psychedelicious
41c4c82f1d feat(mm): port cnet to new api 2025-10-10 16:48:32 +11:00
psychedelicious
9fe3c12275 fix(mm): t2i base determination 2025-10-10 16:48:32 +11:00
psychedelicious
e79f8b641a tidy(ui): use Extract to get model config types 2025-10-10 16:48:32 +11:00