RuntimeError: CUDA out of memory. Tried to allocate 256.00 GiB (GPU 0; 23.69 GiB total capacity; 8.37 GiB already allocated; 11.78 GiB free; 9.91 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
部署stable diffusion 2.0 的时候计算注意模块的数据时,突然爆显存了,还那么大,应该不正常吧。
这是怎么回事