Skip to content

Commit fede6a8

Browse files
score loraA weight
1 parent 73213a7 commit fede6a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

litgpt/lora.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ def forward(self, x: torch.Tensor) -> torch.Tensor:
423423
"x": x.detach().cpu(),
424424
"qkv_base": pretrained.detach().cpu(),
425425
"qkv_lora": lora.detach().cpu(),
426+
"lora_A": self.lora_A.detach().cpu(),
426427
"stage": stage,
427428
"layer_idx": self.debug_layer_idx,
428429
"step": self._debug_step,

0 commit comments

Comments
 (0)