run pre-commit

feat/ppo
YeAnbang 2025-03-07 18:40:31 +08:00
parent d31f9e4d0f
commit c8e13a9403
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ class BaseProducer:
self.dataloader.sampler.set_epoch(episode)
for i, batch in enumerate(self.dataloader):
if i >= num_valid_microbatches:
break
break
outputs = self.rollout(**batch)
print(f"[P{self.producer_idx}] Send data {[(k, v.shape) for k, v in outputs.items()]}")
outputs = pre_send(outputs)