How to make Jupyter Notebook to run on GPU?

gpu
Hari Prasad picture Hari Prasad · Jun 23, 2018 · Viewed 56.7k times · Source

In Google Collab you can choose your notebook to run on cpu or gpu environment. Now I have a laptop with NVDIA Cuda Compatible GPU 1050, and latest anaconda. How to have similiar feature to the collab one where I can simply make my python to run on GPU?

Answer

Hari Prasad picture Hari Prasad · Jun 23, 2018

I am answering my own question. Easiest way to do is use connect to Local Runtime (https://research.google.com/colaboratory/local-runtimes.html) then select hardware accelerator as GPU as shown in (https://medium.com/deep-learning-turkey/google-colab-free-gpu-tutorial-e113627b9f5d).