Skip to content

Commit e034fd9

Browse files
committed
ruff formatting
Signed-off-by: Yuhe Zhang <[email protected]>
1 parent e91a736 commit e034fd9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nemo_automodel/components/_peft/lora_moe.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -492,9 +492,7 @@ def to_local(proj):
492492
trans_b=False,
493493
)
494494
# [T, R] @ [E_local, R, H] -> [T, H]
495-
lora_out1 = ops.gmm(
496-
lora_out1_A, to_local(self.lora_gate_and_up_B), tokens_per_expert, trans_b=False
497-
)
495+
lora_out1 = ops.gmm(lora_out1_A, to_local(self.lora_gate_and_up_B), tokens_per_expert, trans_b=False)
498496

499497
output1 = output1 + lora_out1 * self.scale
500498

0 commit comments

Comments
 (0)