-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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 the OFT/BOFT bugs when using new LyCORIS implementation #14973
Conversation
|
||
def calc_updown(self, orig_weight): | ||
oft_blocks = self.oft_blocks.to(orig_weight.device) | ||
eye = torch.eye(self.block_size, device=oft_blocks.device) | ||
|
||
if self.is_kohya: | ||
if not self.is_R: | ||
block_Q = oft_blocks - oft_blocks.transpose(1, 2) # ensure skew-symmetric orthogonal matrix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KohakuBlueleaf I used 2.1.0.post3 to train a new boft and diag-oft
boft got an error during inference
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KohakuBlueleaf I used 2.1.0.post3 to train a new boft and diag-oft boft got an error during inference
Got it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KohakuBlueleaf I used 2.1.0.post3 to train a new boft and diag-oft boft got an error during inference
Try new Commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Exist-c fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the OFT/BOFT bugs when using new LyCORIS implementation
…-boft Fix the OFT/BOFT bugs when using new LyCORIS implementation
Checklist: