我的机器是两张3060ti,16G显存,在运行Seg时候爆显存了。
<torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 770.00 MiB. GPU 1 has a total capacity of 15.71 GiB of which 233.62 MiB is free. Including non-PyTorch memory, this process has 15.46 GiB memory in use. Of the allocated memory 15.07 GiB is allocated by PyTorch, and 156.61 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 (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)>
我的机器是两张3060ti,16G显存,在运行Seg时候爆显存了。
<torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 770.00 MiB. GPU 1 has a total capacity of 15.71 GiB of which 233.62 MiB is free. Including non-PyTorch memory, this process has 15.46 GiB memory in use. Of the allocated memory 15.07 GiB is allocated by PyTorch, and 156.61 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 (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)>