Skip to content

Commit

Permalink
pprint debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
otaj committed Jul 27, 2022
1 parent 5a51c5a commit ab20f5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pytorch_lightning/strategies/ipu.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,11 @@ def _convert_to_poptorch_loader(
opts = self.training_opts if mode == RunningStage.TRAINING else self.inference_opts
from pprint import pprint

pprint(opts)
pprint(repr(opts))
pprint(dl_args)
pprint(dl_kwargs)
dataloader = poptorch.DataLoader(opts, *dl_args, **dl_kwargs)
pprint(dataloader)
pprint(repr(dataloader))
return dataloader

def _handle_gradient_accumulation_steps(self) -> None:
Expand Down

0 comments on commit ab20f5f

Please sign in to comment.