Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Getting the following error: RuntimeError: CUDA out of memory. Tried to allocate 30.00 MiB (GPU 0; 2.00 GiB total capacity; 1.59 GiB already allocated; 17.26 MiB free; 1.62 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

My VGA card is a GeForce GT730, can i do anything with it?

Hi the only way to do this would be to try and generate the image at a smaller size. the vram recommendation is 4gb  min and 6gb to generate images at the standard size of 512 by 512

This error has nothing to do with GPU, people with 12GB and 8GB of vram are also facing same issue. and reducing the size did not help

Did you manage to fix it? If so, please share your solution.