I got CUDA out of memory error as follows which is pretty weird.
RuntimeError: CUDA out of memory. Tried to allocate 16.00 MiB (GPU 0; 23.65 GiB total capacity; 412.68 MiB already allocated; 8.56 MiB free; 442.00 MiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
There should be nothing wrong with my installed openood conda environment as I could successfully run my own script in this environment. Then I have no idea what's going on here. Would appreciate some help!
Hi,
When I'm running the following provided CIFAR-10 script on one Quadro RTX 6000 24GB GPU,
I got CUDA out of memory error as follows which is pretty weird.
There should be nothing wrong with my installed
openood
conda environment as I could successfully run my own script in this environment. Then I have no idea what's going on here. Would appreciate some help!Thanks