Unverified Commit 364d3d72 authored by Liangsheng Yin's avatar Liangsheng Yin Committed by GitHub
Browse files

Fix broken penalty (#1184)

parent 5623826f
......@@ -615,7 +615,7 @@ class ScheduleBatch:
for r in self.reqs
]
else:
self.penalizer_orchestrator.cumulate_input_tokens(input_ids)
self.sampling_info.penalizer_orchestrator.cumulate_input_tokens(input_ids)
self.input_ids = torch.tensor(input_ids, dtype=torch.int32, device="cuda")
self.seq_lens.add_(1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment