Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
589cd810
"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "8492db2332482b9c53f18393049dd7576cf7deaa"
Commit
589cd810
authored
Sep 25, 2023
by
Patrick von Platen
Browse files
make style
parent
6281d206
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
src/diffusers/pipelines/wuerstchen/pipeline_wuerstchen_combined.py
...sers/pipelines/wuerstchen/pipeline_wuerstchen_combined.py
+3
-2
src/diffusers/schedulers/scheduling_utils.py
src/diffusers/schedulers/scheduling_utils.py
+1
-1
src/diffusers/schedulers/scheduling_utils_flax.py
src/diffusers/schedulers/scheduling_utils_flax.py
+1
-1
No files found.
src/diffusers/pipelines/wuerstchen/pipeline_wuerstchen_combined.py
View file @
589cd810
...
@@ -227,8 +227,9 @@ class WuerstchenCombinedPipeline(DiffusionPipeline):
...
@@ -227,8 +227,9 @@ class WuerstchenCombinedPipeline(DiffusionPipeline):
return_dict (`bool`, *optional*, defaults to `True`):
return_dict (`bool`, *optional*, defaults to `True`):
Whether or not to return a [`~pipelines.ImagePipelineOutput`] instead of a plain tuple.
Whether or not to return a [`~pipelines.ImagePipelineOutput`] instead of a plain tuple.
prior_callback (`Callable`, *optional*):
prior_callback (`Callable`, *optional*):
A function that will be called every `prior_callback_steps` steps during inference. The function will be
A function that will be called every `prior_callback_steps` steps during inference. The function will
called with the following arguments: `prior_callback(step: int, timestep: int, latents: torch.FloatTensor)`.
be called with the following arguments: `prior_callback(step: int, timestep: int, latents:
torch.FloatTensor)`.
prior_callback_steps (`int`, *optional*, defaults to 1):
prior_callback_steps (`int`, *optional*, defaults to 1):
The frequency at which the `callback` function will be called. If not specified, the callback will be
The frequency at which the `callback` function will be called. If not specified, the callback will be
called at every step.
called at every step.
...
...
src/diffusers/schedulers/scheduling_utils.py
View file @
589cd810
...
@@ -15,7 +15,7 @@ import importlib
...
@@ -15,7 +15,7 @@ import importlib
import
os
import
os
from
dataclasses
import
dataclass
from
dataclasses
import
dataclass
from
enum
import
Enum
from
enum
import
Enum
from
typing
import
Any
,
Dict
,
Optional
,
Union
from
typing
import
Optional
,
Union
import
torch
import
torch
...
...
src/diffusers/schedulers/scheduling_utils_flax.py
View file @
589cd810
...
@@ -16,7 +16,7 @@ import math
...
@@ -16,7 +16,7 @@ import math
import
os
import
os
from
dataclasses
import
dataclass
from
dataclasses
import
dataclass
from
enum
import
Enum
from
enum
import
Enum
from
typing
import
Any
,
Dict
,
Optional
,
Tuple
,
Union
from
typing
import
Optional
,
Tuple
,
Union
import
flax
import
flax
import
jax.numpy
as
jnp
import
jax.numpy
as
jnp
...
...
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