LoHA: Fixed blending error
This commit is contained in:
parent
bd03edc2ad
commit
d244ca9a9c
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue