Skip to content

Commit 334032c

Browse files
committed
fix
1 parent 4a62cc5 commit 334032c

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

src/diffusers/pipelines/dit/pipeline_dit.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ class DiTPipeline(DiffusionPipeline):
4646
4747
Parameters:
4848
transformer ([`DiTTransformer2DModel`]):
49-
A class conditioned `DiTTransformer2DModel` to denoise the encoded image latents. Initially
50-
published as [Transformer2DModel](https://huggingface.co/facebook/DiT-XL-2-256/blob/main/transformer/config.json#L2) in the config, but the mismatch can be ignored.
49+
A class conditioned `DiTTransformer2DModel` to denoise the encoded image latents. Initially published as
50+
[`Transformer2DModel`](https://huggingface.co/facebook/DiT-XL-2-256/blob/main/transformer/config.json#L2)
51+
in the config, but the mismatch can be ignored.
5152
vae ([`AutoencoderKL`]):
5253
Variational Auto-Encoder (VAE) model to encode and decode images to and from latent representations.
5354
scheduler ([`DDIMScheduler`]):

src/diffusers/pipelines/pixart_alpha/pipeline_pixart_alpha.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,9 @@ class PixArtAlphaPipeline(DiffusionPipeline):
256256
Tokenizer of class
257257
[T5Tokenizer](https://huggingface.co/docs/transformers/model_doc/t5#transformers.T5Tokenizer).
258258
transformer ([`PixArtTransformer2DModel`]):
259-
A text conditioned `PixArtTransformer2DModel` to denoise the encoded image latents. It was initially
260-
published as `Transformer2DModel` which is why [the configuration
261-
still](https://huggingface.co/PixArt-alpha/PixArt-XL-2-1024-MS/blob/main/transformer/config.json#L2) shows
262-
the class name as `Transformer2DModel`. This mismatch can be safely ignored.
259+
A text conditioned `PixArtTransformer2DModel` to denoise the encoded image latents. Initially published as
260+
[`Transformer2DModel`](https://huggingface.co/PixArt-alpha/PixArt-XL-2-1024-MS/blob/main/transformer/config.json#L2)
261+
in the config, but the mismatch can be ignored.
263262
scheduler ([`SchedulerMixin`]):
264263
A scheduler to be used in combination with `transformer` to denoise the encoded image latents.
265264
"""

src/diffusers/pipelines/pixart_alpha/pipeline_pixart_sigma.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,9 @@ class PixArtSigmaPipeline(DiffusionPipeline):
200200
Tokenizer of class
201201
[T5Tokenizer](https://huggingface.co/docs/transformers/model_doc/t5#transformers.T5Tokenizer).
202202
transformer ([`PixArtTransformer2DModel`]):
203-
A text conditioned `PixArtTransformer2DModel` to denoise the encoded image latents. It was initially
204-
published as `Transformer2DModel` which is why [the configuration
205-
still](https://huggingface.co/PixArt-alpha/PixArt-Sigma-XL-2-1024-MS/blob/main/transformer/config.json#L2)
206-
shows the class name as `Transformer2DModel`. This mismatch can be safely ignored.
203+
A text conditioned `PixArtTransformer2DModel` to denoise the encoded image latents. Initially published as
204+
[`Transformer2DModel`](https://huggingface.co/PixArt-alpha/PixArt-Sigma-XL-2-1024-MS/blob/main/transformer/config.json#L2)
205+
in the config, but the mismatch can be ignored.
207206
scheduler ([`SchedulerMixin`]):
208207
A scheduler to be used in combination with `transformer` to denoise the encoded image latents.
209208
"""

0 commit comments

Comments
 (0)