An issue while running debug

While trying to run my test.py file on my anaconda prompt I got these messages below:

CUDA™ is AVAILABLE
Please assign a gpu core (int, <1): 0
THCudaCheck FAIL file=…\aten\src\THC\THCGeneral.cpp line=87 error=30 : unknown error
Traceback (most recent call last):
File “VSLcore.py”, line 202, in
DQNAgent()
File “VSLcore.py”, line 87, in DQNAgent
torch.set_default_tensor_type(‘torch.cuda.FloatTensor’)
File “D:\Softwares\Anaconda3\lib\site-packages\torch_ init _.py”, line 158, in set_default_tensor_type
C. set_default_tensor_type(t)
File "D:\Softwares\Anaconda3\lib\site-packages\torch\cuda
init
.py", line 162, in _lazy_init
torch._C._cuda_init()
RuntimeError: cuda runtime error (30) : unknown error at …\aten\src\THC\THCGeneral.cpp:87

Could anyone tell me what should I do?

And also my CUDA version:

nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2018 NVIDIA Corporation
Built on Sat_Aug_25_21:08:04_Central_Daylight_Time_2018
Cuda compilation tools, release 10.0, V10.0.130

I’m running a Windows 10 system and anaconda3

Use cuda 9.0 perhaps?