Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

RuntimeError: CUDA out of memory. Tried to allocate 1024.00 MiB (GPU 0; 4.00 GiB total capacity; 2.55 GiB already allocated; 119.30 MiB free; 2.60 GiB 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

can anyone help me with this. i have a 1050ti 4gb. and I tried to get a 512x512 image.

Show post...

try reduce the resolution like 64x64 and slowly increment by 64 to know what yout card limit

(1 edit)

512x512 is too much for 4GB of VRAM... I am hitting the limit of 576x576 with 8GB. so, doing this resolution with 4GB its practically impossible. In some cases my screen "goes black" due to lack of VRAM to output something in screen while the process is going...