1
0
Fork 0

LoHA: Fixed blending error

This commit is contained in:
ForserX 2023-04-08 13:46:05 +03:00 committed by GitHub
parent bd03edc2ad
commit d244ca9a9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -267,8 +267,8 @@ def blend_loras(
else:
if base_weights.shape != weights.shape:
blended = base_weights + weights.reshape(base_weights.shape)
blended = base_weights + weights
else:
blended = base_weights + weights
logger.trace("blended weight shape: %s", blended.shape)