Could you check, if you see a valid grad_fn if you print(losses_reduced)?
I’m not sure, what reduce_loss_dict does, but if it doesn’t detach the loss, you are storing the whole computation graph in your meters.