The error message points out that 449.69MiB are only free and the rest might be scattered and lost due to e.g. memory fragmentation.
The CUDA context is not captured by the allocated or reserved memory, as PyTorch doesn’t check its memory usage.