Torch Free Cuda Memory Allocate