- Deep Learning with PyTorch
- Vishnu Subramanian
- 280字
- 2021-06-24 19:16:21
Hardware availability
Deep learning requires complex mathematical operations to be performed on millions, sometimes billions, of parameters. Existing CPUs take a long time to perform these kinds of operations, although this has improved over the last several years. A new kind of hardware called a graphics processing unit (GPU) has completed these huge mathematical operations, such as matrix multiplications, orders of magnitude faster.
GPUs were initially built for the gaming industry by companies such as Nvidia and AMD. It turned out that this hardware is extremely efficient, not only for rendering high quality video games, but also to speed up the DL algorithms. One recent GPU from Nvidia, the 1080ti, takes a few days to build an image-classification system on top of an ImageNet dataset, which previously could have taken around a month.
If you are planning to buy hardware for running deep learning, I would recommend choosing a GPU from Nvidia based on your budget. Choose one with a good amount of memory. Remember, your computer memory and GPU memory are two different things. The 1080ti comes with 11 GB of memory and it costs around $700.
You can also use various cloud providers such as AWS, Google Cloud, or Floyd (this company offers GPU machines optimized for DL). Using a cloud provider is economical if you are just starting with DL or if you are setting up machines for organization usage where you may have more financial freedom.
The following image shows some of the benchmarks that compare performance between CPUs and GPUs :

- 筆記本電腦使用、維護與故障排除實戰
- 觸摸屏實用技術與工程應用
- SDL Game Development
- VCD、DVD原理與維修
- Visual Media Processing Using Matlab Beginner's Guide
- BeagleBone Robotic Projects
- Spring Cloud微服務和分布式系統實踐
- 新編電腦組裝與硬件維修從入門到精通
- Mastering Machine Learning on AWS
- 微服務實戰
- 計算機組裝、維護與維修項目教程
- 創客電子:Arduino和Raspberry Pi智能制作項目精選
- 快·易·通:2天學會電腦組裝·系統安裝·日常維護與故障排除
- 超炫的35個Arduino制作項目
- The Complete Guide to DAZ Studio 4