I wonder that what is your OS? Maybe this error will only occur in window’s computer since another one of our lab’s computer with 2080 ti and window 10 also meet this error.
Yes. There’s no running out memory issue.
My current environment is already installed with latest pytorch version.
The detail is listed below.
Collecting environment information...
PyTorch version: 1.5.0
Is debug build: No
CUDA used to build PyTorch: 10.2

OS: Microsoft Windows 10 Home
GCC version: (i686-posix-dwarf-rev0, Built by MinGW-W64 project) 8.1.0
CMake version: Could not collect

Python version: 3.8
Is CUDA available: Yes
CUDA runtime version: 10.2.89
GPU models and configuration: GPU 0: GeForce RTX 2080 Ti
Nvidia driver version: 441.22
cuDNN version: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\cudnn64_7.dll

Versions of relevant libraries:
[pip] numpy==1.18.1
[pip] torch==1.5.0
[pip] torchvision==0.6.0
[conda] blas                      1.0                         mkl
[conda] mkl                       2020.1                      216
[conda] mkl-service               2.3.0            py38hb782905_0
[conda] mkl_fft                   1.0.15           py38h14836fe_0
[conda] mkl_random                1.1.0            py38hf9181ef_0
[conda] pytorch                   1.5.0           py3.8_cuda102_cudnn7_0    pytorch
[conda] torchvision               0.6.0                py38_cu102    pytorch

The previous environment that doesn’t have the issue is pretty old. I can only remember there were CUDA 9.2, Pytorch 1.2.0. Yet, when I try to remake the environment and see whether the error disappear, I fail. So I cannot answer which environment I used to work will not have this error. Sorry.
Thanks.