Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dead code removal #48

Merged
merged 3 commits into from
Jul 25, 2023
Merged

Dead code removal #48

merged 3 commits into from
Jul 25, 2023

Conversation

akx
Copy link
Contributor

@akx akx commented Jul 18, 2023

While working on figuring out the runtime deps (as discussed in #17), I found some dead/duplicate code; this cleans it up (or marks it for possible future removal). 🧹

@benjaminaubin benjaminaubin self-requested a review July 25, 2023 10:31
Copy link
Contributor

@benjaminaubin benjaminaubin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fair enough!

sgm/modules/attention.py Outdated Show resolved Hide resolved
@benjaminaubin benjaminaubin merged commit b5b5680 into Stability-AI:main Jul 25, 2023
timudk added a commit that referenced this pull request Jul 25, 2023
@timudk timudk mentioned this pull request Jul 25, 2023
jenuk pushed a commit that referenced this pull request Jul 26, 2023
LinearFalcon pushed a commit to LinearFalcon/generative-models that referenced this pull request Jul 6, 2024
* Remove old commented-out attention code

* Mark two functions as likely unused

* Use exists() and default() from sgm.util
LinearFalcon pushed a commit to LinearFalcon/generative-models that referenced this pull request Jul 6, 2024
SevanBrodjian pushed a commit to SevanBrodjian/sd-latent-exploration that referenced this pull request Aug 12, 2024
* Remove old commented-out attention code

* Mark two functions as likely unused

* Use exists() and default() from sgm.util
SevanBrodjian pushed a commit to SevanBrodjian/sd-latent-exploration that referenced this pull request Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants