diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

Flax's use_memory_efficient_attention is broken

Open entrpn opened this issue 1 year ago • 0 comments

Describe the bug

I accidentally introduced a bug in this PR by making a condition on this line, which is needed when use_memory_efficient_attention=True.

Adding this bug to remind myself to put in a fix.

Reproduction

Using this example but adding use_memory_efficient_attention=True in from_pretrained.

Logs

No response

System Info

N/A

Who can help?

@pcuenca

entrpn avatar May 09 '24 01:05 entrpn