Skip to content

Reproducibility improvement of SD generation with xFormers #1997

Description

@takuma104

I wrote a patch related to #1339. This patch makes xFormers use Flash Attention as a priority. More details to see: Generating (almost) reproducible pictures using Diffusers with xFormers

fig_xformers_flash_attention_seed_7

main...takuma104:diffusers:force_xformers_flash_attention

I would like to get some feedback.

  • Is it worth opening a PR?
  • I have put an argument to enable_xformers_memory_efficient_attention() to specify if this patch is enabled or not, is there a better way to specify it?
  • Any other advice?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

staleIssues that haven't received updates

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions