GPU Memory not being freed using PT 2.0, issue absent in earlier PT versions · Issue #99835 · pytorch/pytorch · GitHub
![RuntimeError: CUDA out of memory. Tried to allocate 384.00 MiB (GPU 0; 11.17 GiB total capacity; 10.62 GiB already allocated; 145.81 MiB free; 10.66 GiB reserved in total by PyTorch) - Beginners - Hugging Face Forums RuntimeError: CUDA out of memory. Tried to allocate 384.00 MiB (GPU 0; 11.17 GiB total capacity; 10.62 GiB already allocated; 145.81 MiB free; 10.66 GiB reserved in total by PyTorch) - Beginners - Hugging Face Forums](https://global.discourse-cdn.com/hellohellohello/optimized/1X/c164a248b2ba7d82986a125ea7190c868081b81c_2_1024x517.png)
RuntimeError: CUDA out of memory. Tried to allocate 384.00 MiB (GPU 0; 11.17 GiB total capacity; 10.62 GiB already allocated; 145.81 MiB free; 10.66 GiB reserved in total by PyTorch) - Beginners - Hugging Face Forums
PyTorch-Direct: Introducing Deep Learning Framework with GPU-Centric Data Access for Faster Large GNN Training | NVIDIA On-Demand
![torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 256.00 MiB (GPU 0; 39.56 GiB total capacity; 37.84 GiB already allocated; 242.56 MiB free; 37.96 GiB reserved in total by PyTorch) - 🤗Transformers - Hugging Face Forums torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 256.00 MiB (GPU 0; 39.56 GiB total capacity; 37.84 GiB already allocated; 242.56 MiB free; 37.96 GiB reserved in total by PyTorch) - 🤗Transformers - Hugging Face Forums](https://global.discourse-cdn.com/hellohellohello/original/3X/6/f/6fad099788baf6656402515888a77a700bc36153.png)