[NPU] npu attention enable ulysses (#12919) · huggingface/diffusers@be38f41 · GitHub
Skip to content

Commit be38f41

Browse files
TmacAaronsayakpaul
andauthored
[NPU] npu attention enable ulysses (#12919)
* npu attention enable ulysses * clean the format * register _native_npu_attention to _supports_context_parallel Signed-off-by: yyt <yangyit139@gmail.com> * change npu_fusion_attention's input_layout to BSND to eliminate redundant transpose Signed-off-by: yyt <yangyit139@gmail.com> * Update format --------- Signed-off-by: yyt <yangyit139@gmail.com> Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
1 parent 91e5134 commit be38f41

1 file changed

Lines changed: 76 additions & 16 deletions

File tree

‎src/diffusers/models/attention_dispatch.py‎

Lines changed: 76 additions & 16 deletions

0 commit comments

Comments
 (0)