- Python Deep Learning Cookbook
- Indra den Bakker
- 272字
- 2021-07-02 15:43:09
How to do it...
- Make sure the region you want to work in gives access to P2 or G3 instances. These instances include NVIDIA K80 GPUs and NVIDIA Tesla M60 GPUs, respectively. The K80 GPU is faster and has more GPU memory than the M60 GPU: 12 GB versus 8 GB.
While the NVIDIA K80 and M60 GPUs are powerful GPUs for running deep learning models, these should not be considered state-of-the-art. Other faster GPUs have already been launched by NVIDIA and it takes some time before these are added to cloud solutions. However, a big advantage of these cloud machines is that it is straightforward to scale the number of GPUs attached to a machine; for example, Amazon's p2.16xlarge instance has 16 GPUs.
- There are two options when launching an AWS instance. Option 1: You build everything from scratch. Option 2: You use a preconfigured Amazon Machine Image (AMI) from the AWS marketplace. If you choose option 2, you will have to pay additional costs. For an example, see this AMI at https://aws.amazon.com/marketplace/pp/B06VSPXKDX.
- Amazon provides a detailed and up-to-date overview of steps to launch the deep learning AMI at https://aws.amazon.com/blogs/ai/get-started-with-deep-learning-using-the-aws-deep-learning-ami/.
- If you want to build the server from scratch, launch a P2 or G3 instance and follow the steps under the Installing CUDA and cuDNN and Installing Anaconda and Libraries recipes.
- Always make sure you stop the running instances when you're done to prevent unnecessary costs.
A good option to save costs is to use AWS Spot instances. This allows you to bid on spare Amazon EC2 computing capacity.
推薦閱讀
- Redis入門指南(第3版)
- Oracle 11g從入門到精通(第2版) (軟件開發視頻大講堂)
- 實戰Java程序設計
- 軟件測試工程師面試秘籍
- 嚴密系統設計:方法、趨勢與挑戰
- H5頁面設計:Mugeda版(微課版)
- Linux Device Drivers Development
- Kotlin編程實戰:創建優雅、富于表現力和高性能的JVM與Android應用程序
- 一塊面包板玩轉Arduino編程
- 零基礎學Python編程(少兒趣味版)
- PHP+MySQL動態網站開發從入門到精通(視頻教學版)
- NGUI for Unity
- Machine Learning for OpenCV
- Java 9 with JShell
- Software Development on the SAP HANA Platform