Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes #589 and adds a preliminar support for
diffusers
.For example, to use AnimagineXL (but it's not limited to only that one!) create a
model
YAML config file like this (note this is forcing CPU usage and it's quite slow ~15m for an image - for GPU set cuda to true and f16 to true):From the API call:
Example
Notes:
model
is not officially supported by the OpenAI client - you can specify the model in the Bearer token when using the official OpenAI clientstep
can be configured as well in theYAML
config file to a fixed valueSigned commits