title: Trying to use Cuda in pyTorch
body: <p>I've been working on PyTorch and wanted to use Cuda tensors but I've been having trouble getting it to work.</p>
  
  <p>When I use the line torch.cuda.is_available(), it returns false.</p>
  
  <p>But when I use the same line on the anaconda command prompt, it returns true. What gives? Do I need to set the device somehow? Or maybe have the interpreter include my GPU? All I want is my GPU to be recognized as CUDA usable and can use in code.</p>
  
  <p>I use:</p>
  
  <p>python 3.7</p>
  
  <p>CUDA 10.1</p>
  
  <p>GPU: GTX 1070</p>