Debug and scale a PyTorch training loop | Startups.Com Interview Question