fix upcast in slice attention (#1591) · informaticacba/diffusers@ced7c96 · GitHub
Skip to content

Commit ced7c96

Browse files
authored
fix upcast in slice attention (huggingface#1591)
* fix upcast in slice attention * fix dtype * add test * fix test
1 parent 8e74efa commit ced7c96

2 files changed

Lines changed: 22 additions & 3 deletions

File tree

‎src/diffusers/models/attention.py‎

Lines changed: 3 additions & 3 deletions

‎tests/pipelines/stable_diffusion_2/test_stable_diffusion_v_pred.py‎

Lines changed: 19 additions & 0 deletions

0 commit comments

Comments
 (0)