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]: A secondary way to stop the server #7448

Open
1 task done
HenryLoenwind opened this issue Dec 16, 2024 · 0 comments
Open
1 task done

[enhancement]: A secondary way to stop the server #7448

HenryLoenwind opened this issue Dec 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@HenryLoenwind
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Contact Details

No response

What should this feature add?

I'd ask for a way to terminate the server that is not Ctrl-C.

Reasoning: On Windows, stopping a program with Ctrl-C also interrupts the batch file(s) calling that program, making them ask for confirmation. This is quite annoying, especially because InvokeAI has its "what do you want to do" wrapper. With my own "start in a conda environment" wrapper, that's three prompts.

I much prefer to press any other key combination to land directly in the InvokeAI wrapper without the batch spam.

Alternatives

A button in the UI to stop or restart would be nice, too. But hosting and stuff...

Additional Content

Not worth its own issue: How about a config to auto-restart when "VRAM in use" after a generation doesn't go down to a reasonable level? That's the most common failure mode that forces me to Ctrl-C in the first place.

@HenryLoenwind HenryLoenwind added the enhancement New feature or request label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant