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

[enhancement] Improve organization & behavior of model merging and textual inversion scripts #2427

Merged
merged 6 commits into from
Jan 26, 2023

Conversation

lstein
Copy link
Collaborator

@lstein lstein commented Jan 26, 2023

  • Model merging and textual inversion scripts have been moved into ldm/invoke, which allows them to be installed properly by pyproject.toml.
  • As part of the pyproject install, the .py suffix is removed from the command. I.e. use invoke, configure_invokeai, merge_models and textual_inversion.
  • GUI versions are activated by adding --gui to the command. Without this, you get a classical argv-based command. Example: merge_models --gui
  • Fixed up the launcher scripts to accommodate new naming scheme.
  • Keyboard behavior of the GUI front ends has been improved. You can now use up and down arrow to move from field to field, in addition to and ctrl-N/ctrl-P

@lstein lstein requested review from ebr and mauwii January 26, 2023 20:36
@mauwii
Copy link
Contributor

mauwii commented Jan 26, 2023

something is strange:

image

previously my Apple M1 was used like 90-95% while running invoke, this is not the case right now 🤔

Hmmmm, switched from sd-1.5 to sd-2.1, which is working fine, so maybe just my odd configuration...

image

@lstein lstein enabled auto-merge January 26, 2023 21:14
@lstein lstein merged commit d53df09 into main Jan 26, 2023
@lstein lstein deleted the install/change-script-locations branch January 26, 2023 22:36
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.

None yet

2 participants