Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
v0xie committed Feb 7, 2024
1 parent 81c16c9 commit 2f1073d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions-builtin/Lora/network_oft.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def calc_updown(self, orig_weight):
bi = R[i] # b_num, b_size, b_size
if i == 0:
# Apply multiplier/scale and rescale into first weight
bi = bi * scale + (1 - scale) * eye
bi = bi * scale + (1 - scale) * eye
#if self.rescaled:
# bi = bi * self.rescale
inp = rearrange(inp, "(c g k) ... -> (c k g) ...", g=2, k=2**i * r_b)
Expand Down

0 comments on commit 2f1073d

Please sign in to comment.