feat: add sd-server API support for steps, sampler and scheduler#1173
feat: add sd-server API support for steps, sampler and scheduler#1173leejet merged 2 commits intoleejet:masterfrom
Conversation
|
I believe it would be better to exclude the Python web client from this PR and keep the scope limited to server-related changes. |
I think we could limit the number of steps to a maximum value, for example, 100. |
d0b291c to
fe3ae56
Compare
For reference, I have seen distillations that use 150steps as reference. |
Since this is mostly to avoid excessive processing, a better way could be combining a really high hard limit with a simple heuristic for cost. Something like number of steps * image area * batch size, first capping batch size, then the step count. (out of scope for this PR, of course) |
This is on top of #1166 just to make it easier to test.
The step numbers should probably be limited in some way?