Closed prodigy closed 1 year ago
I didn't see there is an option called restore_settings
in sd-webui side, can you explain why this work?
Also, please resolve the conflict.
The merge conflict is resolved, also I fixed the option name so that it now uses the proper one. That was a replace error by me as black insisted on putting the code on one line and flake8 didn't want the line to be that long. So I couldn't use the name as the original option is named and had to shorten the config name.
Description
Adds an option to disable restoring settings after each render. This massively increases the performance by not loading two models for each render request. By also enabling model caching, the speed for rendering different models is dramatically increased.
This obviously is a worker only mode where no users actively use the web ui. As my machine otherwise more or less idles during my workday, I disabled the worker when I wanted to render images myself. With this feature I can simply increase the time between jobs and enable the restore option.
This fits into #17
Type of changes
Please check the following items before submitting your pull request
black .
flake8 .