What should happen on not using loss.item() for logging the loss values.
I was using
AverageMeter (from imagenet tutorial) to store losses and I forgot using loss.item(). I believed it should have increased my GPU util and caused error.
But instead somethin strange happened. It started increasing RAM utilization and literally froze my system. Why did this happen (and not what I expected happened!!)?