Skip to content

Commit e30585d

Browse files
authored
Update loss.py
1 parent db33975 commit e30585d

File tree

1 file changed

+1
-0
lines changed
  • slime/backends/megatron_utils

1 file changed

+1
-0
lines changed

slime/backends/megatron_utils/loss.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def get_values(
106106
unconcat_tokens: list[torch.Tensor],
107107
total_lengths: list[int],
108108
response_lengths: list[int],
109+
non_loss_data: bool = True,
109110
) -> dict[str, list[torch.Tensor]]:
110111
value_list = []
111112
for logits_chunk, _ in get_responses(

0 commit comments

Comments
 (0)