yes,I’m able to create CUDATensor,my CUDA is available.
my PyTorch version is 1.1，CUDA version is 10.2,my video card is GTX1060(if driver version means this).
strangely,this morning when I ran that code again,there was no error anymore,I am confused.