Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/diffusers/modular_pipelines/krea2/encoders.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,21 +110,25 @@ def intermediate_outputs(self) -> list[OutputParam]:
OutputParam(
name="prompt_embeds",
type_hint=torch.Tensor,
kwargs_type="denoiser_input_fields",
description="Per-prompt stacked text features (B, text_seq_len, num_text_layers, text_hidden_dim).",
),
OutputParam(
name="prompt_embeds_mask",
type_hint=torch.Tensor,
kwargs_type="denoiser_input_fields",
description="Per-prompt boolean text mask (B, text_seq_len).",
),
OutputParam(
name="negative_prompt_embeds",
type_hint=torch.Tensor,
kwargs_type="denoiser_input_fields",
description="Per-prompt negative text features (only when guidance is enabled).",
),
OutputParam(
name="negative_prompt_embeds_mask",
type_hint=torch.Tensor,
kwargs_type="denoiser_input_fields",
description="Per-prompt negative text mask (only when guidance is enabled).",
),
]
Expand Down Expand Up @@ -254,11 +258,13 @@ def intermediate_outputs(self) -> list[OutputParam]:
OutputParam(
name="prompt_embeds",
type_hint=torch.Tensor,
kwargs_type="denoiser_input_fields",
description="Per-prompt stacked text features (B, text_seq_len, num_text_layers, text_hidden_dim).",
),
OutputParam(
name="prompt_embeds_mask",
type_hint=torch.Tensor,
kwargs_type="denoiser_input_fields",
description="Per-prompt boolean text mask (B, text_seq_len).",
),
]
Expand Down
Loading