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

Remove attention map saving #5845

Merged
merged 2 commits into from
Mar 2, 2024
Merged

Conversation

RyanJDick
Copy link
Collaborator

@RyanJDick RyanJDick commented Mar 1, 2024

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Community Node Submission

Have you discussed this change with the InvokeAI team?

  • Yes
  • No, because

Description

Attention map saving was a feature that existed a long time ago in Invoke (>1 year ago). This PR strips out a bunch of dead code that still remains from that feature and is polluting our diffusion implementation.

This change should not have any functional effect on the app.

QA Instructions, Screenshots, Recordings

I did a quick smoke test of SD and SDXL image generation. All of the deleted code was unused, so the risk should be relatively low.

Merge Plan

  • Change target branch to main before merging.

Added/updated tests?

  • Yes
  • No: This PR just deletes a bunch of unused code.

@github-actions github-actions bot added python PRs that change python files invocations PRs that change invocations backend PRs that change backend files labels Mar 1, 2024
Base automatically changed from ryan/tidy-attention-code to main March 1, 2024 20:12
@RyanJDick RyanJDick force-pushed the ryan/remove-attention-map-saving branch from 5b3adf0 to 890d56b Compare March 1, 2024 23:46
@RyanJDick RyanJDick marked this pull request as ready for review March 1, 2024 23:47
@hipsterusername hipsterusername force-pushed the ryan/remove-attention-map-saving branch from 890d56b to cc45007 Compare March 2, 2024 13:25
@RyanJDick RyanJDick merged commit d8d7ddf into main Mar 2, 2024
14 checks passed
@RyanJDick RyanJDick deleted the ryan/remove-attention-map-saving branch March 2, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend PRs that change backend files invocations PRs that change invocations python PRs that change python files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants