Skip to content

Commit 9a3b3e8

Browse files
committed
removed break
1 parent 67649a9 commit 9a3b3e8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

xtra_labs/llm_finetune/draft.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ def replace_linear_with_lora(module):
139139
for name, child in module.named_children():
140140
if isinstance(child, nn.Linear):
141141
setattr(module, name, LoRALinear(child.in_features, child.out_features, child.weight, child.bias))
142-
break
143142
else:
144143
replace_linear_with_lora(child)
145144

0 commit comments

Comments
 (0)