Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTX 4090, Cuda out of memory errors when Hires Fix. #396

Open
Allerius8 opened this issue Aug 26, 2024 · 1 comment
Open

RTX 4090, Cuda out of memory errors when Hires Fix. #396

Allerius8 opened this issue Aug 26, 2024 · 1 comment

Comments

@Allerius8
Copy link

Hello guys, I am having really frustrating problem. I had 3060 with 12GB VRAM few days ago, I was having often CUDA out of Memory issues and I wanted to upgrade for long time so I actually bought 4090 24gb VRAM, expecting I will have zero issues. I also completely reinstalled my stable diffusion and windows. I set up everything, got latest drivers, everything. And SD is working flawlessly... UNLESS I turn on HiRes fix., for some reason, and I cant fucking figure out why, it has extreme issues with HiRes fix, generating the image takes just a few seconds but HiRes takes like 10 times the time, and puts a lot of load on my PC, AND very often either my PC nearly crashes or SD crashed with the same CUDA out of memory error.

Doesnt matter what model I use, doesnt matter what resolution or upscale amount, its just having really tough time with it.

I tried using multiple command arguments and variations of them, also no difference.

I really got beefy PC, 64GB RAM, 24GB VRAM, no load on it, I really have no idea whats the issue, it has to be some bug with last version of stable diffusion

@chen29181
Copy link

chen29181 commented Oct 27, 2024

maybe your image doesn't meet h&w=512,pad or scale it to 512x512 maybe helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@chen29181 @Allerius8 and others