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
0d1c5b0c
Unverified
Commit
0d1c5b0c
authored
Aug 26, 2025
by
sqt
Committed by
GitHub
Aug 25, 2025
Browse files
Fix typo: 'will ge generated' -> 'will be generated' (#12231)
parent
0e46c559
Changes
145
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
20 additions
and
20 deletions
+20
-20
examples/community/pipeline_prompt2prompt.py
examples/community/pipeline_prompt2prompt.py
+1
-1
examples/community/pipeline_sdxl_style_aligned.py
examples/community/pipeline_sdxl_style_aligned.py
+1
-1
examples/community/pipeline_stable_diffusion_3_differential_img2img.py
...unity/pipeline_stable_diffusion_3_differential_img2img.py
+1
-1
examples/community/pipeline_stable_diffusion_3_instruct_pix2pix.py
...community/pipeline_stable_diffusion_3_instruct_pix2pix.py
+1
-1
examples/community/pipeline_stable_diffusion_xl_attentive_eraser.py
...ommunity/pipeline_stable_diffusion_xl_attentive_eraser.py
+1
-1
examples/community/pipeline_stable_diffusion_xl_controlnet_adapter.py
...munity/pipeline_stable_diffusion_xl_controlnet_adapter.py
+1
-1
examples/community/pipeline_stable_diffusion_xl_controlnet_adapter_inpaint.py
...ipeline_stable_diffusion_xl_controlnet_adapter_inpaint.py
+1
-1
examples/community/pipeline_stable_diffusion_xl_differential_img2img.py
...nity/pipeline_stable_diffusion_xl_differential_img2img.py
+1
-1
examples/community/pipeline_stable_diffusion_xl_ipex.py
examples/community/pipeline_stable_diffusion_xl_ipex.py
+1
-1
examples/community/pipeline_stg_cogvideox.py
examples/community/pipeline_stg_cogvideox.py
+1
-1
examples/community/pipeline_stg_ltx.py
examples/community/pipeline_stg_ltx.py
+1
-1
examples/community/pipeline_stg_ltx_image2video.py
examples/community/pipeline_stg_ltx_image2video.py
+1
-1
examples/community/pipeline_stg_mochi.py
examples/community/pipeline_stg_mochi.py
+1
-1
examples/community/pipeline_zero1to3.py
examples/community/pipeline_zero1to3.py
+1
-1
examples/community/rerender_a_video.py
examples/community/rerender_a_video.py
+1
-1
examples/community/run_onnx_controlnet.py
examples/community/run_onnx_controlnet.py
+1
-1
examples/community/run_tensorrt_controlnet.py
examples/community/run_tensorrt_controlnet.py
+1
-1
examples/community/sd_text2img_k_diffusion.py
examples/community/sd_text2img_k_diffusion.py
+1
-1
examples/community/seed_resize_stable_diffusion.py
examples/community/seed_resize_stable_diffusion.py
+1
-1
examples/community/stable_diffusion_comparison.py
examples/community/stable_diffusion_comparison.py
+1
-1
No files found.
examples/community/pipeline_prompt2prompt.py
View file @
0d1c5b0c
...
...
@@ -611,7 +611,7 @@ class Prompt2PromptPipeline(
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
output_type (`str`, *optional*, defaults to `"pil"`):
The output format of the generate image. Choose between
[PIL](https://pillow.readthedocs.io/en/stable/): `PIL.Image.Image` or `np.array`.
...
...
examples/community/pipeline_sdxl_style_aligned.py
View file @
0d1c5b0c
...
...
@@ -1480,7 +1480,7 @@ class StyleAlignedSDXLPipeline(
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
prompt_embeds (`torch.Tensor`, *optional*):
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
provided, text embeddings will be generated from `prompt` input argument.
...
...
examples/community/pipeline_stable_diffusion_3_differential_img2img.py
View file @
0d1c5b0c
...
...
@@ -748,7 +748,7 @@ class StableDiffusion3DifferentialImg2ImgPipeline(DiffusionPipeline):
latents (`torch.FloatTensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
prompt_embeds (`torch.FloatTensor`, *optional*):
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
provided, text embeddings will be generated from `prompt` input argument.
...
...
examples/community/pipeline_stable_diffusion_3_instruct_pix2pix.py
View file @
0d1c5b0c
...
...
@@ -945,7 +945,7 @@ class StableDiffusion3InstructPix2PixPipeline(
latents (`torch.FloatTensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
prompt_embeds (`torch.FloatTensor`, *optional*):
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
provided, text embeddings will be generated from `prompt` input argument.
...
...
examples/community/pipeline_stable_diffusion_xl_attentive_eraser.py
View file @
0d1c5b0c
...
...
@@ -1786,7 +1786,7 @@ class StableDiffusionXL_AE_Pipeline(
latents (`torch.FloatTensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
output_type (`str`, *optional*, defaults to `"pil"`):
The output format of the generate image. Choose between
[PIL](https://pillow.readthedocs.io/en/stable/): `PIL.Image.Image` or `np.array`.
...
...
examples/community/pipeline_stable_diffusion_xl_controlnet_adapter.py
View file @
0d1c5b0c
...
...
@@ -973,7 +973,7 @@ class StableDiffusionXLControlNetAdapterPipeline(
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
prompt_embeds (`torch.Tensor`, *optional*):
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
provided, text embeddings will be generated from `prompt` input argument.
...
...
examples/community/pipeline_stable_diffusion_xl_controlnet_adapter_inpaint.py
View file @
0d1c5b0c
...
...
@@ -1329,7 +1329,7 @@ class StableDiffusionXLControlNetAdapterInpaintPipeline(
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
prompt_embeds (`torch.Tensor`, *optional*):
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
provided, text embeddings will be generated from `prompt` input argument.
...
...
examples/community/pipeline_stable_diffusion_xl_differential_img2img.py
View file @
0d1c5b0c
...
...
@@ -1053,7 +1053,7 @@ class StableDiffusionXLDifferentialImg2ImgPipeline(
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
prompt_embeds (`torch.Tensor`, *optional*):
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
provided, text embeddings will be generated from `prompt` input argument.
...
...
examples/community/pipeline_stable_diffusion_xl_ipex.py
View file @
0d1c5b0c
...
...
@@ -832,7 +832,7 @@ class StableDiffusionXLPipelineIpex(
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
prompt_embeds (`torch.Tensor`, *optional*):
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
provided, text embeddings will be generated from `prompt` input argument.
...
...
examples/community/pipeline_stg_cogvideox.py
View file @
0d1c5b0c
...
...
@@ -632,7 +632,7 @@ class CogVideoXSTGPipeline(DiffusionPipeline, CogVideoXLoraLoaderMixin):
latents (`torch.FloatTensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
prompt_embeds (`torch.FloatTensor`, *optional*):
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
provided, text embeddings will be generated from `prompt` input argument.
...
...
examples/community/pipeline_stg_ltx.py
View file @
0d1c5b0c
...
...
@@ -620,7 +620,7 @@ class LTXSTGPipeline(DiffusionPipeline, FromSingleFileMixin, LTXVideoLoraLoaderM
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
prompt_embeds (`torch.Tensor`, *optional*):
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
provided, text embeddings will be generated from `prompt` input argument.
...
...
examples/community/pipeline_stg_ltx_image2video.py
View file @
0d1c5b0c
...
...
@@ -682,7 +682,7 @@ class LTXImageToVideoSTGPipeline(DiffusionPipeline, FromSingleFileMixin, LTXVide
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
prompt_embeds (`torch.Tensor`, *optional*):
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
provided, text embeddings will be generated from `prompt` input argument.
...
...
examples/community/pipeline_stg_mochi.py
View file @
0d1c5b0c
...
...
@@ -603,7 +603,7 @@ class MochiSTGPipeline(DiffusionPipeline, Mochi1LoraLoaderMixin):
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
prompt_embeds (`torch.Tensor`, *optional*):
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
provided, text embeddings will be generated from `prompt` input argument.
...
...
examples/community/pipeline_zero1to3.py
View file @
0d1c5b0c
...
...
@@ -657,7 +657,7 @@ class Zero1to3StableDiffusionPipeline(DiffusionPipeline, StableDiffusionMixin):
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
prompt_embeds (`torch.Tensor`, *optional*):
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
provided, text embeddings will be generated from `prompt` input argument.
...
...
examples/community/rerender_a_video.py
View file @
0d1c5b0c
...
...
@@ -656,7 +656,7 @@ class RerenderAVideoPipeline(StableDiffusionControlNetImg2ImgPipeline):
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
prompt_embeds (`torch.Tensor`, *optional*):
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
provided, text embeddings will be generated from `prompt` input argument.
...
...
examples/community/run_onnx_controlnet.py
View file @
0d1c5b0c
...
...
@@ -591,7 +591,7 @@ class OnnxStableDiffusionControlNetImg2ImgPipeline(DiffusionPipeline):
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
prompt_embeds (`torch.Tensor`, *optional*):
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
provided, text embeddings will be generated from `prompt` input argument.
...
...
examples/community/run_tensorrt_controlnet.py
View file @
0d1c5b0c
...
...
@@ -695,7 +695,7 @@ class TensorRTStableDiffusionControlNetImg2ImgPipeline(DiffusionPipeline):
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
prompt_embeds (`torch.Tensor`, *optional*):
Pre-generated text embeddings. Can be used to easily tweak text inputs, *e.g.* prompt weighting. If not
provided, text embeddings will be generated from `prompt` input argument.
...
...
examples/community/sd_text2img_k_diffusion.py
View file @
0d1c5b0c
...
...
@@ -326,7 +326,7 @@ class StableDiffusionPipeline(DiffusionPipeline, StableDiffusionMixin):
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
output_type (`str`, *optional*, defaults to `"pil"`):
The output format of the generate image. Choose between
[PIL](https://pillow.readthedocs.io/en/stable/): `PIL.Image.Image` or `np.array`.
...
...
examples/community/seed_resize_stable_diffusion.py
View file @
0d1c5b0c
...
...
@@ -122,7 +122,7 @@ class SeedResizeStableDiffusionPipeline(DiffusionPipeline, StableDiffusionMixin)
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
output_type (`str`, *optional*, defaults to `"pil"`):
The output format of the generate image. Choose between
[PIL](https://pillow.readthedocs.io/en/stable/): `PIL.Image.Image` or `np.array`.
...
...
examples/community/stable_diffusion_comparison.py
View file @
0d1c5b0c
...
...
@@ -279,7 +279,7 @@ class StableDiffusionComparisonPipeline(DiffusionPipeline, StableDiffusionMixin)
latents (`torch.Tensor`, optional):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for image
generation. Can be used to tweak the same generation with different prompts. If not provided, a latents
tensor will
g
e generated by sampling using the supplied random `generator`.
tensor will
b
e generated by sampling using the supplied random `generator`.
output_type (`str`, optional, defaults to `"pil"`):
The output format of the generate image. Choose between
[PIL](https://pillow.readthedocs.io/en/stable/): `PIL.Image.Image` or `np.array`.
...
...
Prev
1
2
3
4
5
6
…
8
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