title: AI - Big Sleep on Pycharm
body: <pre><code>AssertionError                            Traceback (most recent call last)
  
  ~\AppData\Local\Temp/ipykernel_14392/3652721515.py in &lt;module&gt;
        2 from IPython.display import Image, display
        3 
  ----&gt; 4 from big_sleep import Imagine
        5 
        6 TEXT = &quot;robot penis&quot; #@param {type:&quot;string&quot;}
  
  d:\ai work\venv\lib\site-packages\big_sleep\__init__.py in &lt;module&gt;
  ----&gt; 1 from big_sleep.big_sleep import BigSleep, Imagine
  
  d:\ai work\venv\lib\site-packages\big_sleep\big_sleep.py in &lt;module&gt;
       24 from big_sleep.clip import load, tokenize
       25 
  ---&gt; 26 assert torch.cuda.is_available(), 'CUDA must be available in order to use Big Sleep'
       27 
       28 # graceful keyboard interrupt
  
  AssertionError: CUDA must be available in order to use Big Sleep
  </code></pre>
  <p>Originally big sleep was running on Google Collaboratory but I want to run it on Pycharm. I installed the Jupyter plugin and it run on a website. But the program isnt working because of the CUDA error. I tried researching and I read a forum that said to install CUDA from NVIDIA's website. I did and still nothing so I'm hoping someone can help me fix this issue.</p>