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