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
20e92586
"torchvision/vscode:/vscode.git/clone" did not exist on "c5533a2c2b549f0e070e7e3e45396992f39e1388"
Unverified
Commit
20e92586
authored
Jul 26, 2023
by
Patrick von Platen
Committed by
GitHub
Jul 26, 2023
Browse files
0.20.0dev0 (#4299)
* 0.20.0dev0 * make style
parent
5623ea06
Changes
68
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
8 deletions
+8
-8
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py
...able_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py
+1
-1
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py
...able_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py
+1
-1
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_instruct_pix2pix.py
...usion_xl/pipeline_stable_diffusion_xl_instruct_pix2pix.py
+1
-1
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_adapter.py
...ipelines/t2i_adapter/pipeline_stable_diffusion_adapter.py
+1
-1
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py
...s/text_to_video_synthesis/pipeline_text_to_video_synth.py
+1
-1
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth_img2img.py
...o_video_synthesis/pipeline_text_to_video_synth_img2img.py
+1
-1
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py
...es/text_to_video_synthesis/pipeline_text_to_video_zero.py
+1
-1
src/diffusers/utils/hub_utils.py
src/diffusers/utils/hub_utils.py
+1
-1
No files found.
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py
View file @
20e92586
...
...
@@ -773,7 +773,7 @@ class StableDiffusionXLImg2ImgPipeline(DiffusionPipeline, FromSingleFileMixin, L
cross_attention_kwargs (`dict`, *optional*):
A kwargs dictionary that if specified is passed along to the `AttentionProcessor` as defined under
`self.processor` in
[diffusers.
cross_
attention](https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/
cross_
attention.py).
[diffusers.
models.
attention
_processor
](https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/attention
_processor
.py).
guidance_rescale (`float`, *optional*, defaults to 0.7):
Guidance rescale factor proposed by [Common Diffusion Noise Schedules and Sample Steps are
Flawed](https://arxiv.org/pdf/2305.08891.pdf) `guidance_scale` is defined as `φ` in equation 16. of
...
...
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py
View file @
20e92586
...
...
@@ -977,7 +977,7 @@ class StableDiffusionXLInpaintPipeline(
cross_attention_kwargs (`dict`, *optional*):
A kwargs dictionary that if specified is passed along to the `AttentionProcessor` as defined under
`self.processor` in
[diffusers.
cross_
attention](https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/
cross_
attention.py).
[diffusers.
models.
attention
_processor
](https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/attention
_processor
.py).
original_size (`Tuple[int]`, *optional*, defaults to (1024, 1024)):
If `original_size` is not the same as `target_size` the image will appear to be down- or upsampled.
`original_size` defaults to `(width, height)` if not specified. Part of SDXL's micro-conditioning as
...
...
src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_instruct_pix2pix.py
View file @
20e92586
...
...
@@ -678,7 +678,7 @@ class StableDiffusionXLInstructPix2PixPipeline(DiffusionPipeline, FromSingleFile
cross_attention_kwargs (`dict`, *optional*):
A kwargs dictionary that if specified is passed along to the `AttentionProcessor` as defined under
`self.processor` in
[diffusers.
cross_
attention](https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/
cross_
attention.py).
[diffusers.
models.
attention
_processor
](https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/attention
_processor
.py).
guidance_rescale (`float`, *optional*, defaults to 0.7):
Guidance rescale factor proposed by [Common Diffusion Noise Schedules and Sample Steps are
Flawed](https://arxiv.org/pdf/2305.08891.pdf) `guidance_scale` is defined as `φ` in equation 16. of
...
...
src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_adapter.py
View file @
20e92586
...
...
@@ -625,7 +625,7 @@ class StableDiffusionAdapterPipeline(DiffusionPipeline):
cross_attention_kwargs (`dict`, *optional*):
A kwargs dictionary that if specified is passed along to the `AttnProcessor` as defined under
`self.processor` in
[diffusers.
cross_
attention](https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/
cross_
attention.py).
[diffusers.
models.
attention
_processor
](https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/attention
_processor
.py).
adapter_conditioning_scale (`float` or `List[float]`, *optional*, defaults to 1.0):
The outputs of the adapter are multiplied by `adapter_conditioning_scale` before they are added to the
residual in the original unet. If multiple adapters are specified in init, you can set the
...
...
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth.py
View file @
20e92586
...
...
@@ -516,7 +516,7 @@ class TextToVideoSDPipeline(DiffusionPipeline, TextualInversionLoaderMixin, Lora
every step.
cross_attention_kwargs (`dict`, *optional*):
A kwargs dictionary that if specified is passed along to the [`AttentionProcessor`] as defined in
[`self.processor`](https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/
cross_
attention.py).
[`self.processor`](https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/attention
_processor
.py).
Examples:
...
...
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth_img2img.py
View file @
20e92586
...
...
@@ -600,7 +600,7 @@ class VideoToVideoSDPipeline(DiffusionPipeline, TextualInversionLoaderMixin, Lor
every step.
cross_attention_kwargs (`dict`, *optional*):
A kwargs dictionary that if specified is passed along to the [`AttentionProcessor`] as defined in
[`self.processor`](https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/
cross_
attention.py).
[`self.processor`](https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/attention
_processor
.py).
Examples:
...
...
src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_zero.py
View file @
20e92586
...
...
@@ -378,7 +378,7 @@ class TextToVideoZeroPipeline(StableDiffusionPipeline):
Extra_step_kwargs.
cross_attention_kwargs:
A kwargs dictionary that if specified is passed along to the [`AttentionProcessor`] as defined in
[`self.processor`](https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/
cross_
attention.py).
[`self.processor`](https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/attention
_processor
.py).
num_warmup_steps:
number of warmup steps.
...
...
src/diffusers/utils/hub_utils.py
View file @
20e92586
...
...
@@ -280,7 +280,7 @@ def _get_model_file(
if
(
revision
in
DEPRECATED_REVISION_ARGS
and
(
weights_name
==
WEIGHTS_NAME
or
weights_name
==
SAFETENSORS_WEIGHTS_NAME
)
and
version
.
parse
(
version
.
parse
(
__version__
).
base_version
)
>=
version
.
parse
(
"0.2
0
.0"
)
and
version
.
parse
(
version
.
parse
(
__version__
).
base_version
)
>=
version
.
parse
(
"0.2
2
.0"
)
):
try
:
model_file
=
hf_hub_download
(
...
...
Prev
1
2
3
4
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