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
22 additions
and
22 deletions
+22
-22
src/diffusers/pipelines/cogvideo/pipeline_cogvideox.py
src/diffusers/pipelines/cogvideo/pipeline_cogvideox.py
+1
-1
src/diffusers/pipelines/cogvideo/pipeline_cogvideox_fun_control.py
...sers/pipelines/cogvideo/pipeline_cogvideox_fun_control.py
+1
-1
src/diffusers/pipelines/cogvideo/pipeline_cogvideox_image2video.py
...sers/pipelines/cogvideo/pipeline_cogvideox_image2video.py
+1
-1
src/diffusers/pipelines/cogvideo/pipeline_cogvideox_video2video.py
...sers/pipelines/cogvideo/pipeline_cogvideox_video2video.py
+1
-1
src/diffusers/pipelines/cogview3/pipeline_cogview3plus.py
src/diffusers/pipelines/cogview3/pipeline_cogview3plus.py
+1
-1
src/diffusers/pipelines/cogview4/pipeline_cogview4.py
src/diffusers/pipelines/cogview4/pipeline_cogview4.py
+1
-1
src/diffusers/pipelines/cogview4/pipeline_cogview4_control.py
...diffusers/pipelines/cogview4/pipeline_cogview4_control.py
+1
-1
src/diffusers/pipelines/consisid/pipeline_consisid.py
src/diffusers/pipelines/consisid/pipeline_consisid.py
+1
-1
src/diffusers/pipelines/controlnet/pipeline_controlnet_blip_diffusion.py
...ipelines/controlnet/pipeline_controlnet_blip_diffusion.py
+1
-1
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py
...pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py
+1
-1
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py
...pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py
+1
-1
src/diffusers/pipelines/controlnet/pipeline_controlnet_union_inpaint_sd_xl.py
...nes/controlnet/pipeline_controlnet_union_inpaint_sd_xl.py
+1
-1
src/diffusers/pipelines/controlnet/pipeline_controlnet_union_sd_xl_img2img.py
...nes/controlnet/pipeline_controlnet_union_sd_xl_img2img.py
+1
-1
src/diffusers/pipelines/controlnet_sd3/pipeline_stable_diffusion_3_controlnet.py
.../controlnet_sd3/pipeline_stable_diffusion_3_controlnet.py
+1
-1
src/diffusers/pipelines/controlnet_sd3/pipeline_stable_diffusion_3_controlnet_inpainting.py
..._sd3/pipeline_stable_diffusion_3_controlnet_inpainting.py
+1
-1
src/diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_stable_diffusion_pix2pix_zero.py
...fusion_variants/pipeline_stable_diffusion_pix2pix_zero.py
+2
-2
src/diffusers/pipelines/flux/pipeline_flux_control.py
src/diffusers/pipelines/flux/pipeline_flux_control.py
+1
-1
src/diffusers/pipelines/flux/pipeline_flux_control_img2img.py
...diffusers/pipelines/flux/pipeline_flux_control_img2img.py
+1
-1
src/diffusers/pipelines/flux/pipeline_flux_control_inpaint.py
...diffusers/pipelines/flux/pipeline_flux_control_inpaint.py
+2
-2
src/diffusers/pipelines/flux/pipeline_flux_controlnet.py
src/diffusers/pipelines/flux/pipeline_flux_controlnet.py
+1
-1
No files found.
src/diffusers/pipelines/cogvideo/pipeline_cogvideox.py
View file @
0d1c5b0c
...
...
@@ -571,7 +571,7 @@ class CogVideoXPipeline(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.
...
...
src/diffusers/pipelines/cogvideo/pipeline_cogvideox_fun_control.py
View file @
0d1c5b0c
...
...
@@ -616,7 +616,7 @@ class CogVideoXFunControlPipeline(DiffusionPipeline, CogVideoXLoraLoaderMixin):
latents (`torch.Tensor`, *optional*):
Pre-generated noisy latents, sampled from a Gaussian distribution, to be used as inputs for video
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`.
control_video_latents (`torch.Tensor`, *optional*):
Pre-generated control latents, sampled from a Gaussian distribution, to be used as inputs for
controlled video generation. If not provided, `control_video` must be provided.
...
...
src/diffusers/pipelines/cogvideo/pipeline_cogvideox_image2video.py
View file @
0d1c5b0c
...
...
@@ -671,7 +671,7 @@ class CogVideoXImageToVideoPipeline(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.
...
...
src/diffusers/pipelines/cogvideo/pipeline_cogvideox_video2video.py
View file @
0d1c5b0c
...
...
@@ -641,7 +641,7 @@ class CogVideoXVideoToVideoPipeline(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.
...
...
src/diffusers/pipelines/cogview3/pipeline_cogview3plus.py
View file @
0d1c5b0c
...
...
@@ -466,7 +466,7 @@ class CogView3PlusPipeline(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.
...
...
src/diffusers/pipelines/cogview4/pipeline_cogview4.py
View file @
0d1c5b0c
...
...
@@ -466,7 +466,7 @@ class CogView4Pipeline(DiffusionPipeline, CogView4LoraLoaderMixin):
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.
...
...
src/diffusers/pipelines/cogview4/pipeline_cogview4_control.py
View file @
0d1c5b0c
...
...
@@ -499,7 +499,7 @@ class CogView4ControlPipeline(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.
...
...
src/diffusers/pipelines/consisid/pipeline_consisid.py
View file @
0d1c5b0c
...
...
@@ -733,7 +733,7 @@ class ConsisIDPipeline(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.
...
...
src/diffusers/pipelines/controlnet/pipeline_controlnet_blip_diffusion.py
View file @
0d1c5b0c
...
...
@@ -279,7 +279,7 @@ class BlipDiffusionControlNetPipeline(DeprecatedPipelineMixin, 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 random sampling.
tensor will
b
e generated by random sampling.
guidance_scale (`float`, *optional*, defaults to 7.5):
Guidance scale as defined in [Classifier-Free Diffusion
Guidance](https://huggingface.co/papers/2207.12598). `guidance_scale` is defined as `w` of equation 2.
...
...
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py
View file @
0d1c5b0c
...
...
@@ -1326,7 +1326,7 @@ class StableDiffusionXLControlNetInpaintPipeline(
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`.
...
...
src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py
View file @
0d1c5b0c
...
...
@@ -1197,7 +1197,7 @@ class StableDiffusionXLControlNetImg2ImgPipeline(
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.
...
...
src/diffusers/pipelines/controlnet/pipeline_controlnet_union_inpaint_sd_xl.py
View file @
0d1c5b0c
...
...
@@ -1310,7 +1310,7 @@ class StableDiffusionXLControlNetUnionInpaintPipeline(
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`.
...
...
src/diffusers/pipelines/controlnet/pipeline_controlnet_union_sd_xl_img2img.py
View file @
0d1c5b0c
...
...
@@ -1185,7 +1185,7 @@ class StableDiffusionXLControlNetUnionImg2ImgPipeline(
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.
...
...
src/diffusers/pipelines/controlnet_sd3/pipeline_stable_diffusion_3_controlnet.py
View file @
0d1c5b0c
...
...
@@ -918,7 +918,7 @@ class StableDiffusion3ControlNetPipeline(
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.
...
...
src/diffusers/pipelines/controlnet_sd3/pipeline_stable_diffusion_3_controlnet_inpainting.py
View file @
0d1c5b0c
...
...
@@ -973,7 +973,7 @@ class StableDiffusion3ControlNetInpaintingPipeline(
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.
...
...
src/diffusers/pipelines/deprecated/stable_diffusion_variants/pipeline_stable_diffusion_pix2pix_zero.py
View file @
0d1c5b0c
...
...
@@ -880,7 +880,7 @@ class StableDiffusionPix2PixZeroPipeline(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.
...
...
@@ -1151,7 +1151,7 @@ class StableDiffusionPix2PixZeroPipeline(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.
...
...
src/diffusers/pipelines/flux/pipeline_flux_control.py
View file @
0d1c5b0c
...
...
@@ -674,7 +674,7 @@ class FluxControlPipeline(
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.
...
...
src/diffusers/pipelines/flux/pipeline_flux_control_img2img.py
View file @
0d1c5b0c
...
...
@@ -712,7 +712,7 @@ class FluxControlImg2ImgPipeline(DiffusionPipeline, FluxLoraLoaderMixin, FromSin
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.
...
...
src/diffusers/pipelines/flux/pipeline_flux_control_inpaint.py
View file @
0d1c5b0c
...
...
@@ -838,7 +838,7 @@ class FluxControlInpaintPipeline(
1)`, or `(H, W)`.
mask_image_latent (`torch.Tensor`, `List[torch.Tensor]`):
`Tensor` representing an image batch to mask `image` generated by VAE. If not provided, the mask
latents tensor will
g
e generated by `mask_image`.
latents tensor will
b
e generated by `mask_image`.
height (`int`, *optional*, defaults to self.unet.config.sample_size * self.vae_scale_factor):
The height in pixels of the generated image. This is set to 1024 by default for the best results.
width (`int`, *optional*, defaults to self.unet.config.sample_size * self.vae_scale_factor):
...
...
@@ -870,7 +870,7 @@ class FluxControlInpaintPipeline(
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.
...
...
src/diffusers/pipelines/flux/pipeline_flux_controlnet.py
View file @
0d1c5b0c
...
...
@@ -764,7 +764,7 @@ class FluxControlNetPipeline(DiffusionPipeline, FluxLoraLoaderMixin, FromSingleF
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.
...
...
Prev
1
2
3
4
5
6
7
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