Skip to content

Conversation

@psychedelicious
Copy link
Contributor

Description

Cherry-pick of these 3 commits: #5694 (comment)

Resolved conflicts, fixed a couple issues, this branch generates.

Supersedes #5694.

Merge Plan

This PR can be merged when approved. Test failures will be resolved in #5735.

Lincoln Stein and others added 3 commits February 18, 2024 16:54
- ModelMetadataStoreService is now injected into ModelRecordStoreService
  (these two services are really joined at the hip, and should someday be merged)
- ModelRecordStoreService is now injected into ModelManagerService
- Reduced timeout value for the various installer and download wait*() methods
- Introduced a Mock modelmanager for testing
- Removed bare print() statement with _logger in the install helper backend.
- Removed unused code from model loader init file
- Made `locker` a private variable in the `LoadedModel` object.
- Fixed up model merge frontend (will be deprecated anyway!)
- Rename old "model_management" directory to "model_management_OLD" in order to catch
  dangling references to original model manager.
- Caught and fixed most dangling references (still checking)
- Rename lora, textual_inversion and model_patcher modules
- Introduce a RawModel base class to simplfy the Union returned by the
  model loaders.
- Tidy up the model manager 2-related tests. Add useful fixtures, and
  a finalizer to the queue and installer fixtures that will stop the
  services and release threads.
- Replace AnyModelLoader with ModelLoaderRegistry
- Fix type check errors in multiple files
- Remove apparently unneeded `get_model_config_enum()` method from model manager
- Remove last vestiges of old model manager
- Updated tests and documentation

resolve conflict with seamless.py
@github-actions github-actions bot added documentation Improvements or additions to documentation api python PRs that change python files invocations PRs that change invocations backend PRs that change backend files services PRs that change app services PythonTests labels Feb 18, 2024
@psychedelicious psychedelicious changed the title chore: absorb mm2 chore: absorb mm2 commits Feb 18, 2024
@psychedelicious psychedelicious merged commit be8b99e into next Feb 18, 2024
@psychedelicious psychedelicious deleted the psyche/chore/absorb-mm2 branch February 18, 2024 21:16
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 documentation Improvements or additions to documentation invocations PRs that change invocations python PRs that change python files services PRs that change app services

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants