Skip to content

Commit e098880

Browse files
committed
docs for attention_kwargs.
1 parent 92b231c commit e098880

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/diffusers/pipelines/sana/pipeline_sana.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,10 @@ def __call__(
686686
[PIL](https://pillow.readthedocs.io/en/stable/): `PIL.Image.Image` or `np.array`.
687687
return_dict (`bool`, *optional*, defaults to `True`):
688688
Whether or not to return a [`~pipelines.stable_diffusion.IFPipelineOutput`] instead of a plain tuple.
689-
attention_kwargs: TODO
689+
attention_kwargs:
690+
A kwargs dictionary that if specified is passed along to the `AttentionProcessor` as defined under
691+
`self.processor` in
692+
[diffusers.models.attention_processor](https://github.com/huggingface/diffusers/blob/main/src/diffusers/models/attention_processor.py).
690693
clean_caption (`bool`, *optional*, defaults to `True`):
691694
Whether or not to clean the caption before creating embeddings. Requires `beautifulsoup4` and `ftfy` to
692695
be installed. If the dependencies are not installed, the embeddings will be created from the raw

0 commit comments

Comments
 (0)