Commit 59c8dc3
FIX Bug when merging negatively weighted adapters (#2918)
See
#2796 (comment)
There was a bug with handling negative weights when merging multiple
LoRA adapters into a single one using add_weighted_adapter (#2811). It
should now be handled. The accompanying tests did not reveal the error
because they compared A and B separately, not after multiplying (the
"delta weight").1 parent 7f1a5c1 commit 59c8dc3
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| |||
0 commit comments