Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update UI To Use New Model Manager #3548

Merged
merged 29 commits into from
Jun 22, 2023

Conversation

blessedcoolant
Copy link
Collaborator

@blessedcoolant blessedcoolant commented Jun 17, 2023

PR for the Model Manager UI work related to 3.0

[DONE]

  • Update ModelType Config names to be specific so that the front end can parse them correctly.
  • Rebuild frontend schema to reflect these changes.
  • Update Linear UI Text To Image and Image to Image to work with the new model loader.
  • Updated the ModelInput component in the Node Editor to work with the new changes.

[TODO REMEMBER]

  • Add proper types for ModelLoaderType in ModelSelect.tsx

[TODO]

  • Everything else.

@psychedelicious
Copy link
Collaborator

After playing around a bit with the code, we may want to change the model manager list_models() types to make it easier to consume this data:

def list_models(self, model_type: ModelType) -> list[Model]:

@StAlKeR7779 StAlKeR7779 mentioned this pull request Jun 20, 2023
blessedcoolant and others added 27 commits June 22, 2023 16:40
Basically updated all slices to be more descriptive in their names. Did so in order to make sure theres good naming scheme available for secondary models.
So the long names do not get cut off.
…ms to model schema(as they not not referenced in case of Literal definition)
Loads any pipeline model.

Also introduced is `PipelineModelField`, which includes a model name and base model.
this is more accurate bc it can do eg kandinsky also
- Update model listing code to use `rtk-query`
- Update all graph generation to use new `pipeline_model_loader` node
@blessedcoolant blessedcoolant marked this pull request as ready for review June 22, 2023 08:40
@blessedcoolant blessedcoolant changed the title (wip): Model Manager UI v3.0 Update UI To Use New Model Manager Jun 22, 2023
@blessedcoolant blessedcoolant merged commit 22c337b into invoke-ai:main Jun 22, 2023
3 of 9 checks passed
@blessedcoolant blessedcoolant deleted the model-manager-ui-30 branch July 8, 2023 10:00
hipsterusername added a commit that referenced this pull request Jul 31, 2023
Note: this branch based on #3548, not on main

While find out what needs to be done to implement onnx, found that I can
do draft of it pretty quickly, so... here it is)
Supports LoRA and TI.
As example - cat with sadcatmeme lora:

![image](https://github.com/invoke-ai/InvokeAI/assets/7768370/dbd1a5df-0629-4741-94b3-8e09f4b4d5a3)

![image](https://github.com/invoke-ai/InvokeAI/assets/7768370/d918836c-fdc7-43c0-aa81-dde9182f2e0f)
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.

3 participants