torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 22.00 MiB (GPU 0; 14.75 GiB total capacity; 13.13 GiB already allocated; 4.81 MiB free; 13.69 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_CONFz
这个错误怎么解决啊!!!!搞了好久,网上的方法也试了,也清理了cuda碎片,还是不可以,求大佬解答啊!