forked from huggingface/diffusers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add callback parameters for Stable Diffusion pipelines (huggingface#521)
* Add callback parameters for Stable Diffusion pipelines Signed-off-by: James R T <[email protected]> * Lint code with `black --preview` Signed-off-by: James R T <[email protected]> * Refactor callback implementation for Stable Diffusion pipelines * Fix missing imports Signed-off-by: James R T <[email protected]> * Fix documentation format Signed-off-by: James R T <[email protected]> * Add kwargs parameter to standardize with other pipelines Signed-off-by: James R T <[email protected]> * Modify Stable Diffusion pipeline callback parameters Signed-off-by: James R T <[email protected]> * Remove useless imports Signed-off-by: James R T <[email protected]> * Change types for timestep and onnx latents * Fix docstring style * Return decode_latents and run_safety_checker back into __call__ * Remove unused imports * Add intermediate state tests for Stable Diffusion pipelines Signed-off-by: James R T <[email protected]> * Fix intermediate state tests for Stable Diffusion pipelines Signed-off-by: James R T <[email protected]> Signed-off-by: James R T <[email protected]>
- Loading branch information
1 parent
026f309
commit 86ef695
Showing
4 changed files
with
85 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters