Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

OutOfMemoryError #30

Closed
TheWorldIsOur opened this issue Aug 4, 2023 · 1 comment
Closed

OutOfMemoryError #30

TheWorldIsOur opened this issue Aug 4, 2023 · 1 comment

Comments

@TheWorldIsOur
Copy link

i get this error: OutOfMemoryError: CUDA out of memory. Tried to allocate 11.39 GiB (GPU 0; 12.00 GiB total capacity; 14.32 GiB already allocated; 0 bytes free; 14.55 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
Time taken: 3m 56.40sTorch active/reserved: 14769/15466 MiB, Sys VRAM: 12288/12288 MiB (100.0%)

Is 12gb Vram (rtx 3060) and 16 ram not enough to run this extension?

And it would be awesome if there would be some kind of workflow or tutorial as i cant anything like this...

Thank you for any help and your work

@glucauze
Copy link
Owner

glucauze commented Aug 5, 2023

The extension uses RAM, not VRAM. I don't think this is directly related to its use. Unless you use a lot of upscaling or inpainting. If you use inpainting in batch mode and the images are very large then it's possible that it takes up VRAM linked to inpainting.

For the workflow, there's already documentation, but it's true that there could be a more detailed methodology. I don't have much time to write this at the moment.

I have 12Gb VRAM, i use medvram and xformers.

Repository owner locked and limited conversation to collaborators Aug 5, 2023
@glucauze glucauze converted this issue into discussion #31 Aug 5, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants