Unlocking the Secrets of GPU Memory Management for Deep Learning