title: How to use system GPU in Jupyter notebook?
body: <p>I tried a lot of things before I could finally figure out this approach. There are a lot of videos and blogs asking to install the Cuda toolkit and cuDNN from the website. Checking the compatible version. But this is not required anymore all you have to do is the following</p>
  <pre><code>pip install tensorflow-gpu
  
  pip install cuda
  
  pip install cudnn
  </code></pre>
  <p>then use the following code to check if your GPU is active in the current notebook</p>
  <pre><code>print(&quot;Num GPUs Available: &quot;, len(tf.config.experimental.list_physical_devices('GPU')))
  
  tf.config.list_physical_devices('GPU')
  
  from tensorflow.python.client import device_lib
  
  device_lib.list_local_devices()
  
  tf.test.is_built_with_cuda()
  
  tf.debugging.set_log_device_placement(True)
  </code></pre>
  <p>I just want to confirm, if these steps are enough to enable GPU in jupyter notebook or am I missing something here?</p>