Skip to content

Conversation

lstein
Copy link
Collaborator

@lstein lstein commented Jul 14, 2023

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. added optional destination directories to convert_model and merge_model operations.
  3. added a /ckpt_confs route for retrieving known legacy checkpoint configuration files.
  4. added a /search route for finding all models in a directory located in the server filesystem
  5. added a /add route for manual addition of a local models
  6. added a /rename route for renaming and/or rebasing models
  7. changed the path of the import_model route to /import

Slightly annoying detail:

When adding a model manually using /add, the body JSON must exactly match one of the model configurations returned by list_models (i.e. there is no defaulting of fields). This includes the error field, which should be set to "null".

Lincoln Stein added 2 commits July 14, 2023 11:14
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
@blessedcoolant blessedcoolant enabled auto-merge July 15, 2023 04:58
@blessedcoolant blessedcoolant merged commit 5d5a497 into main Jul 15, 2023
@blessedcoolant blessedcoolant deleted the lstein/model-manager-route-enhancements branch July 15, 2023 05:03
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