How to Setup TensorFlow GPU for accelerated Machine Learning and Cloud Portability
Setting up TensorFlow is as simple as issuing: pip3 install tensorflow . This setup only uses your CPU to perform the calculations. To enable GPU support requires installing Nvidia drivers, CUDA toolkit, and cuDNN libraries and potential of spending hours troubleshooting installation dependencies. But as Andriy Lazorenko demonstrates with a common laptop setup using a low-end Geforce MX945 GPU can provide three times the performance over the Intel Core i7 7500U CPU. If you have access to higher end GPUs you can realistically get 15x or more performance gains. That's the difference between waiting for an hour, or under 4 minutes to complete the same task! While it's possible to install everything locally on your computer . I recommend using Docker and building a container for each Tensorflow project you create for these reasons: 1) Cloud Portability Ready Ultimately, there may come a time that you will need more powerful hardware. Working with Docker co...