Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
diffusers
Commits
f782ca11
Unverified
Commit
f782ca11
authored
Nov 13, 2023
by
Steven Liu
Committed by
GitHub
Nov 13, 2023
Browse files
[docs] Callbacks (#5735)
* updates * feedback
parent
80e78d2c
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/diffusers/pipelines/wuerstchen/pipeline_wuerstchen_combined.py
...sers/pipelines/wuerstchen/pipeline_wuerstchen_combined.py
+2
-2
src/diffusers/pipelines/wuerstchen/pipeline_wuerstchen_prior.py
...ffusers/pipelines/wuerstchen/pipeline_wuerstchen_prior.py
+1
-1
No files found.
src/diffusers/pipelines/wuerstchen/pipeline_wuerstchen_combined.py
View file @
f782ca11
...
...
@@ -234,7 +234,7 @@ class WuerstchenCombinedPipeline(DiffusionPipeline):
prior_callback_on_step_end_tensor_inputs (`List`, *optional*):
The list of tensor inputs for the `prior_callback_on_step_end` function. The tensors specified in the
list will be passed as `callback_kwargs` argument. You will only be able to include variables listed in
the `._callback_tensor_inputs` attribute of your pipeine class.
the `._callback_tensor_inputs` attribute of your pipe
l
ine class.
callback_on_step_end (`Callable`, *optional*):
A function that calls at the end of each denoising steps during the inference. The function is called
with the following arguments: `callback_on_step_end(self: DiffusionPipeline, step: int, timestep: int,
...
...
@@ -243,7 +243,7 @@ class WuerstchenCombinedPipeline(DiffusionPipeline):
callback_on_step_end_tensor_inputs (`List`, *optional*):
The list of tensor inputs for the `callback_on_step_end` function. The tensors specified in the list
will be passed as `callback_kwargs` argument. You will only be able to include variables listed in the
`._callback_tensor_inputs` attribute of your pipeine class.
`._callback_tensor_inputs` attribute of your pipe
l
ine class.
Examples:
...
...
src/diffusers/pipelines/wuerstchen/pipeline_wuerstchen_prior.py
View file @
f782ca11
...
...
@@ -349,7 +349,7 @@ class WuerstchenPriorPipeline(DiffusionPipeline, LoraLoaderMixin):
callback_on_step_end_tensor_inputs (`List`, *optional*):
The list of tensor inputs for the `callback_on_step_end` function. The tensors specified in the list
will be passed as `callback_kwargs` argument. You will only be able to include variables listed in the
`._callback_tensor_inputs` attribute of your pipeine class.
`._callback_tensor_inputs` attribute of your pipe
l
ine class.
Examples:
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment