Skip to content

Commit c039581

Browse files
committed
Removes prints
1 parent fe8df85 commit c039581

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/train_infer/train_loop.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def forward_only(self, batch, cond):
231231
t,
232232
model_kwargs=micro_cond,
233233
)
234-
234+
g
235235
if last_batch or not self.use_ddp:
236236
losses = compute_losses()
237237
else:
@@ -255,7 +255,7 @@ def forward_backward(self, batch, cond):
255255
last_batch = (i + self.microbatch) >= batch_size
256256
curr_batch_size = micro_cond[list(micro_cond.keys())[0]].shape[0]
257257
t, weights = self.schedule_sampler.sample(curr_batch_size, dist_util.dev())
258-
print(f"Micro cond keys (in forward_backward): {micro_cond.keys()}")
258+
#print(f"Micro cond keys (in forward_backward): {micro_cond.keys()}")
259259
compute_losses = functools.partial(
260260
self.diffusion.training_losses,
261261
self.ddp_model, # this is the transformer model in DDP mode

0 commit comments

Comments
 (0)