this post was submitted on 15 Dec 2024
6 points (87.5% liked)

AI Generated Images

7235 readers
104 users here now

Community for AI image generation. Any models are allowed. Creativity is valuable! It is recommended to post the model used for reference, but not a rule.

No explicit violence, gore, or nudity.

This is not a NSFW community although exceptions are sometimes made. Any NSFW posts must be marked as NSFW and may be removed at any moderator's discretion. Any suggestive imagery may be removed at any time.

Refer to https://lemmynsfw.com/ for any NSFW imagery.

No misconduct: Harassment, Abuse or assault, Bullying, Illegal activity, Discrimination, Racism, Trolling, Bigotry.

AI Generated Videos are allowed under the same rules. Photosensitivity warning required for any flashing videos.

To embed images type:

“![](put image url in here)”

Follow all sh.itjust.works rules.


Community Challenge Past Entries

Related communities:

founded 2 years ago
MODERATORS
 

Hello, as stated in the title, I used to be able to generate a batch of 4 images, but when I try to do this now, I get the following error: CUDA out of memory. Tried to allocate 4.50 GiB. GPU 0 has a total capacity of 7.78 GiB of which 780.00 MiB is free. Including non-PyTorch memory, this process has 6.57 GiB memory in use. Of the allocated memory 6.37 GiB is allocated by PyTorch, and 56.09 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management

This started happening right after I updated SD.Next to the most recent version. I don't know which version I was using beforehand, since I don't update it frequently. I assume it installed it sometime around April this year.

I'm using a NVIDIA Geforce RTX 2070.

Does anybody have any idea what I could try?

you are viewing a single comment's thread
view the rest of the comments
[–] Saledovil 1 points 6 days ago

Thanks, I'll try that.