1
0
mirror of https://github.com/hpcaitech/ColossalAI.git synced 2025-05-03 05:58:09 +00:00

run pre-commit

This commit is contained in:
YeAnbang 2025-03-07 18:40:31 +08:00
parent d31f9e4d0f
commit c8e13a9403

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)