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 kohya-ss OFT network wrong device for eye and constraint #14726

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

v0xie
Copy link
Contributor

@v0xie v0xie commented Jan 22, 2024

Description

This PR fixes a "Expected tensors to be on same device" error for kohya-ss OFT networks.
We send eye and self.constraint to the same device as oft_blocks before performing operations with them.

Screenshots/videos:

N/A

Checklist:

@AUTOMATIC1111 AUTOMATIC1111 merged commit 358e9e2 into AUTOMATIC1111:dev Jan 23, 2024
3 checks passed
@w-e-w w-e-w mentioned this pull request Feb 17, 2024
@pawel665j pawel665j mentioned this pull request Apr 16, 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