<p dir="auto">I am a beginner of pyTorch. I installed a non-cuda pyTorch on my machine, which clearly has no gpu installed, and run the simplest backward() function. But it didn't work out with the following exception:</p>
<p dir="auto">THCudaCheck FAIL file=torch/csrc/autograd/engine.cpp line=353 error=35 : CUDA driver version is insufficient for CUDA runtime version<br>
Traceback (most recent call last):<br>
File "", line 1, in <br>
File "/u/.local/lib/python2.7/site-packages/torch/autograd/variable.py", line 146, in backward<br>
self._execution_engine.run_backward((self,), (gradient,), retain_variables)<br>
RuntimeError: cuda runtime error (35) : CUDA driver version is insufficient for CUDA runtime version at torch/csrc/autograd/engine.cpp:353</p>
<p dir="auto">How can I fix it? Thanks!</p>
<p dir="auto">Hi,</p>
<p dir="auto">I did the following :</p>
<ol dir="auto">
<li>
<p dir="auto">Install PyTorch in Ubuntu 16.04 via :<br>
<code class="notranslate">conda install pytorch torchvision -c soumith</code><br>
<a href="http://pytorch.org/" rel="nofollow">http://pytorch.org/</a><br>
using Anaconda2-4.3.1</p>
</li>
<li>
<p dir="auto">Installed CUDA Linux Ubuntu 16.04 x86_64 via :<br>
<a href="https://developer.nvidia.com/cuda-downloads" rel="nofollow">https://developer.nvidia.com/cuda-downloads</a><br>
There is no CUDA GPU installed on the machine (it is Virtualbox virtual machine)</p>
</li>
<li>
<p dir="auto">Ran autograd_tutorial.py in :<br>
<a href="http://pytorch.org/tutorials/beginner/blitz/autograd_tutorial.html" rel="nofollow">http://pytorch.org/tutorials/beginner/blitz/autograd_tutorial.html</a></p>
</li>
</ol>
<p dir="auto">and I got the following error (using pytorch-0.1.11-py27_2) :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Variable containing:
 1  1
 1  1
[torch.FloatTensor of size 2x2]

Variable containing:
 3  3
 3  3
[torch.FloatTensor of size 2x2]

&lt;torch.autograd._functions.basic_ops.AddConstant object at 0x7feddc620220&gt;
(Variable containing:
 27  27
 27  27
[torch.FloatTensor of size 2x2]
, Variable containing:
 27
[torch.FloatTensor of size 1]
)
NVIDIA: no NVIDIA devices found
THCudaCheck FAIL file=torch/csrc/autograd/engine.cpp line=352 error=30 : unknown error
Traceback (most recent call last):
  File &quot;autograd_tutorial.py&quot;, line 81, in &lt;module&gt;
    out.backward()
  File &quot;/home/testuser/Anaconda2-4.3.1/lib/python2.7/site-packages/torch/autograd/variable.py&quot;, line 146, in backward
    self._execution_engine.run_backward((self,), (gradient,), retain_variables)
RuntimeError: cuda runtime error (30) : unknown error at torch/csrc/autograd/engine.cpp:352
"><pre class="notranslate"><code class="notranslate">Variable containing:
 1  1
 1  1
[torch.FloatTensor of size 2x2]

Variable containing:
 3  3
 3  3
[torch.FloatTensor of size 2x2]

&lt;torch.autograd._functions.basic_ops.AddConstant object at 0x7feddc620220&gt;
(Variable containing:
 27  27
 27  27
[torch.FloatTensor of size 2x2]
, Variable containing:
 27
[torch.FloatTensor of size 1]
)
NVIDIA: no NVIDIA devices found
THCudaCheck FAIL file=torch/csrc/autograd/engine.cpp line=352 error=30 : unknown error
Traceback (most recent call last):
  File "autograd_tutorial.py", line 81, in &lt;module&gt;
    out.backward()
  File "/home/testuser/Anaconda2-4.3.1/lib/python2.7/site-packages/torch/autograd/variable.py", line 146, in backward
    self._execution_engine.run_backward((self,), (gradient,), retain_variables)
RuntimeError: cuda runtime error (30) : unknown error at torch/csrc/autograd/engine.cpp:352

</code></pre></div>
<p dir="auto">How do I get around not having a CUDA GPU card? Thanks</p>