lllyasviel/ControlNet

Low VRAM tests (now 8GB ok, begin to solve 6gb)

Open

#3 opened on Feb 11, 2023

View on GitHub
 (21 comments) (3 reactions) (0 assignees)Python (2,500 forks)batch import
help wanted

Repository metrics

Stars
 (27,526 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

RuntimeError: CUDA out of memory. Tried to allocate 58.00 MiB (GPU 0; 8.00 GiB total capacity; 7.14 GiB already allocated; 0 bytes free; 7.26 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

Contributor guide