The hands-on lab is part of this learning path
Ready for the real environment experience?
Graphics processing units (GPUs) and other hardware accelerators can dramatically reduce the time taken to train complex machine learning models. In this lab, you will take control of a p2.xlarge instance equipped with an NVIDIA Tesla K80 GPU to perform a CPU vs GPU performance analysis for Amazon Machine Learning. The instance is based on the AWS deep learning AMI that comes with many machine learning libraries pre-installed. You will create a Jupyter Notebook to write code and visualize results in a single document. The TensorFlow library is used for the CPU and GPU benchmark code.
Upon completion of this Lab you will be able to:
- Run Jupyter Notebook server and create Jupyter Notebooks for machine learning experiments
- Configure an SSH tunnel to forward instance ports through an encrypted channel
- Understand when GPUs can be advantageous in machine learning, and to what extent
You should be familiar with:
- Working with Linux on the command-line
- Knowledge of the Python programming language is beneficial, but not required
Before completing the Lab instructions, the environment will look as follows:
After completing the Lab instructions, the environment should look similar to:
About the Author
Logan has been involved in software development and research for over eleven years, including six years in the cloud. He is an AWS Certified DevOps Engineer - Professional, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, and Certified Kubernetes Administrator (CKA). He earned his Ph.D. studying design automation and enjoys all things tech.