diffusionmodules.make_attn: fall back to vanilla if xformers is not available#51
Merged
Merged
Conversation
Contributor
Author
|
@benjaminaubin For what it's worth, I tested that this works on my mac (in a future branch that stacks this, #49, and other things so using |
Contributor
Yes my bad your condition is valid if you use torch >= 2.0 |
Contributor
|
@akx please resolve conflicts with the previous merged branch |
a8f54a1 to
60a5b25
Compare
Contributor
Author
|
@benjaminaubin rebased |
benjaminaubin
approved these changes
Jul 25, 2023
jenuk
pushed a commit
that referenced
this pull request
Jul 26, 2023
akx
added a commit
to akx/generative-models
that referenced
this pull request
Jul 27, 2023
This is a rebase of Stability-AI#51.
akx
added a commit
to akx/generative-models
that referenced
this pull request
Jul 27, 2023
This is a rebase of Stability-AI#51.
akx
added a commit
to akx/generative-models
that referenced
this pull request
Sep 26, 2023
This is a rebase of Stability-AI#51.
akx
added a commit
to akx/generative-models
that referenced
this pull request
Nov 22, 2023
This is a rebase of Stability-AI#51.
akx
added a commit
to akx/generative-models
that referenced
this pull request
Nov 24, 2023
This is a rebase of Stability-AI#51.
LinearFalcon
pushed a commit
to LinearFalcon/generative-models
that referenced
this pull request
Jul 6, 2024
LinearFalcon
pushed a commit
to LinearFalcon/generative-models
that referenced
this pull request
Jul 6, 2024
…AI#51)" (Stability-AI#61) This reverts commit ef520df.
SevanBrodjian
pushed a commit
to SevanBrodjian/sd-latent-exploration
that referenced
this pull request
Aug 12, 2024
SevanBrodjian
pushed a commit
to SevanBrodjian/sd-latent-exploration
that referenced
this pull request
Aug 12, 2024
…AI#51)" (Stability-AI#61) This reverts commit ef520df.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The default YAML file for SDXL specifies
vanilla-xformers, which won't work ifxformersis not available. This adds fallback logic like that ingenerative-models/sgm/modules/attention.py
Lines 395 to 400 in e5dc966