208d390779
almost all type mismatches fixed
2023-09-29 19:23:08 -04:00
2e9a7b0454
Merge branch 'main' into lstein/model-manager-refactor
2023-09-26 00:15:37 -04:00
066e09b517
remove dangling debug statement
2023-09-25 19:30:41 -04:00
effced8560
added cancel_all
and prune
model install operations to router API
2023-09-25 17:34:59 -04:00
ac4634000a
merge with main & resolve conflicts
2023-09-25 17:02:21 -04:00
e34e6d6e80
enable v_prediction for sd-1 models
2023-09-24 12:22:29 -04:00
8bc1ca046c
allow priority to be set at install job submission time
2023-09-24 10:08:21 -04:00
f0ce559d28
add install job control to web API
2023-09-17 15:28:37 -04:00
539776a15a
import_model API now working
2023-09-16 22:17:39 -04:00
c029534243
all methods in router API now tested and working
2023-09-16 19:43:01 -04:00
dc683475d4
loading and conversions of checkpoints working
2023-09-16 16:27:57 -04:00
c090c5f907
update_model and delete_model working; convert is WIP
2023-09-16 12:22:23 -04:00
b9a90fbd28
blackify and isort
2023-09-15 22:19:29 -04:00
b7789bb7bb
list_models() API call now working
2023-09-15 21:58:28 -04:00
3529925234
services rewritten; starting work on routes
2023-09-15 18:22:24 -04:00
5615c31799
isort wip
2023-09-12 13:01:58 -04:00
a969707e45
prevent vae: '' from crashing model
2023-08-10 17:33:04 -04:00
fd75a1dd10
reformat with black
2023-07-27 15:01:00 -04:00
2aefa921fe
fix "unknown model type" error when rebasing a model with API
...
- Add command-line model probing script for dev use
- Minor documentation tweak
2023-07-25 08:36:57 -04:00
07a90c0198
Fix incorrect use of a singleton list.
...
This was found through pylance type errors. Go types!
2023-07-23 15:28:05 +02:00
d76bf4444c
Update invokeai/app/api/routers/models.py
...
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com >
2023-07-19 22:46:49 -04:00
170bbd7da3
change GET to POST method for model synchronization route
2023-07-19 22:16:56 -04:00
b08ad28daa
fix: typo in logger statement (import_model)
2023-07-18 15:17:52 +12:00
1353bf98b3
add specific exception for model probe failures
2023-07-17 23:08:39 -04:00
af1c1ab51f
importing an unrecognized model now gives "Unsupported Media Type" error
2023-07-17 22:33:05 -04:00
13da881953
Merge branch 'main' into sdxl-support
2023-07-18 13:34:07 +12:00
08854b6d68
keep model path consistent with model manager key in model update api
2023-07-17 10:00:28 -04:00
6fbb5ce780
add renaming capabilities to model update API route
2023-07-16 14:17:05 -04:00
ccbfa5d862
resolve conflicts
2023-07-15 19:47:50 -04:00
2faa7cee37
add rename_model route
2023-07-14 23:03:18 -04:00
8600aad12b
multiple enhancements to model manager REACT API
...
1. add a /sync route for synchronizing the in-memory model lists to
models.yaml, the models directory, and the autoimport directories.
2. add optional destination_directories to convert_model and merge_model
operations.
3. add /ckpt_confs route for retrieving known legacy checkpoint configuration
files.
4. add /search route for finding all models in a directory located in the server
filesystem
2023-07-14 13:45:16 -04:00
ad076b1174
add model directory search route
2023-07-14 11:14:33 -04:00
23d8a2777e
add ability to filter list_models on list of base models
2023-07-10 21:59:32 -04:00
8e42502dfd
partial implementation of SDXL model loader
2023-07-10 20:18:30 -04:00
e9352227f3
add merge api
2023-07-06 15:12:34 -04:00
90c66aab3d
merge with upstream
2023-07-06 13:17:02 -04:00
3e925fbf34
model merging API ready for testing
2023-07-06 13:15:15 -04:00
c21245f590
fix(api): make list models params querys, make path /
, remove defaults
...
The list models route should just be the base route path, and should use query parameters as opposed to path parameters (which cannot be optional)
Removed defaults for update model route - for the purposes of the API, we should always be explicit with this
2023-07-06 15:34:50 +10:00
f7daa6e71d
all methods now return OPENAPI_MODEL_CONFIGS; convert uses PUT
2023-07-05 23:13:01 -04:00
5b6dd47b9f
add API for model convert
2023-07-05 15:13:21 -04:00
5027d0a603
accept @psychedelicious suggestions above
2023-07-05 14:50:57 -04:00
6112197edf
convert implemented; need router
2023-07-05 09:05:05 -04:00
56d4ea3252
fix(api): improve mm routes
2023-07-05 20:08:47 +10:00
5d099f4a49
update_model working
2023-07-04 17:26:57 -04:00
752b4d50cf
model_delete method now working
2023-07-04 10:40:32 -04:00
c1c49d9a76
import model returns 404 for invalid path, 409 for duplicate model
2023-07-04 10:08:10 -04:00
96bf92ead4
add the import model router
2023-07-04 14:35:47 +10:00
466ec3ab5e
add router API support for model manager heuristic_import()`
2023-06-23 16:35:39 -04:00
b937b7da01
feat(models): update model manager service & route to return list of models
2023-06-22 17:34:12 +10:00
01d17601b8
Generate config names for openapi
2023-06-22 16:41:19 +10:00