[PP] put pp assert in model runner (#12934)

Signed-off-by: Xuchun Shang <xuchun.shang@gmail.com>
This commit is contained in:
Xuchun Shang
2025-11-10 14:58:19 +08:00
committed by GitHub
parent 95876d75cb
commit ac19ce7efb
2 changed files with 8 additions and 5 deletions
@@ -122,8 +122,6 @@ class SchedulerPPMixin:
# send out proxy tensors to the next stage
if self.cur_batch:
# FIXME(lsyin): remove this assert
assert result.pp_hidden_states_proxy_tensors.tensors is not None
self.pp_group.send_tensor_dict(
result.pp_hidden_states_proxy_tensors.tensors,
all_gather_group=self.attn_tp_group,