pt,
usually at the expense of lower image quality.


text_model_output (CLIPTextModelOutput, optional) —
Pre-defined CLIPTextModel outputs that can be derived from the text encoder. Pre-defined text outputs
can be passed for tasks like text embedding interpolations. Make sure to also pass
text_attention_mask in this case. prompt can the be left to None.


text_attention_mask (torch.Tensor, optional) —
Pre-defined CLIP text attention mask that c