invoke-ai / invoke-ai/InvokeAI

[enhancement]: A secondary way to stop the server

Open
#7,448 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
28.2k
Forks
3k
Avg merge
6d 5h
Merged PRs (30d)
19

Description

### Is there an existing issue for this?

- [X] 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.