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

fix(nodes): workaround seamless multi gpu error #6076

Merged
merged 1 commit into from Mar 28, 2024

Conversation

psychedelicious
Copy link
Collaborator

Summary

Note: This is a partial fix. It doesn't fix seamless in a multi-GPU setup, but it will fix non-seamless generation on a multi-GPU setup.


The seamless logic errors when a second GPU is selected. I don't understand why, but a workaround is to skip the model patching when there there are no seamless axes specified.

This is also just a good practice regardless - don't patch the model unless we need to. Probably a negligible perf impact.

Related Issues / Discussions

Partial fix for #6010

QA Instructions

Needs a machine w/ 2 GPUs to test. Normal generation should work on the second GPU (though we expect the same error if you enable seamless).

Merge Plan

n/a

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable) n/a
  • Documentation added / updated (if applicable) n/a

@github-actions github-actions bot added python PRs that change python files backend PRs that change backend files labels Mar 28, 2024
@psychedelicious psychedelicious enabled auto-merge (rebase) March 28, 2024 21:40
@psychedelicious psychedelicious force-pushed the psyche/fix/nodes/seamless-multi-gpu-6010 branch from 0d37fb3 to 606790c Compare March 28, 2024 21:40
The seamless logic errors when a second GPU is selected. I don't understand why, but a workaround is to skip the model patching when there there are no seamless axes specified.

This is also just a good practice regardless - don't patch the model unless we need to. Probably a negligible perf impact.

Closes #6010
@psychedelicious psychedelicious force-pushed the psyche/fix/nodes/seamless-multi-gpu-6010 branch from 606790c to b35ca37 Compare March 28, 2024 21:45
@psychedelicious psychedelicious merged commit 2526ef5 into main Mar 28, 2024
14 checks passed
@psychedelicious psychedelicious deleted the psyche/fix/nodes/seamless-multi-gpu-6010 branch March 28, 2024 21:56
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 python PRs that change python files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants