{"id":337697,"date":"2017-04-06T01:48:22","date_gmt":"2017-04-05T17:48:22","guid":{"rendered":"http:\/\/techcrunch.com\/?p=1473211"},"modified":"2017-04-06T01:48:22","modified_gmt":"2017-04-05T17:48:22","slug":"google-says-its-custom-machine-learning-chips-are-often-15-30x-faster-than-gpus-and-cpus","status":"publish","type":"post","link":"https:\/\/people.utm.my\/asmawisham\/google-says-its-custom-machine-learning-chips-are-often-15-30x-faster-than-gpus-and-cpus\/","title":{"rendered":"Google says its custom machine learning chips are often 15-30x faster than GPUs and CPUs"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1013.png?w=738\" class=\"\"\/><\/p>\n<p>It\u2019s <a target=\"_blank\" href=\"https:\/\/techcrunch.com\/2016\/05\/18\/google-built-its-own-chips-to-expedite-its-machine-learning-algorithms\/\">no secret<\/a> that Google has developed its own custom chips to accelerate its machine learning algorithms. The company first revealed those chips, called Tensor Processing Units (TPUs), at its I\/O developer conference back in May 2016, but it never went into all that many details about them, except for saying that they were optimized around the company\u2019s own <a target=\"_blank\" href=\"https:\/\/www.tensorflow.org\/\">TensorFlow<\/a> machine-learning framework. Today, for the first time, it\u2019s sharing <a target=\"_blank\" href=\"https:\/\/drive.google.com\/file\/d\/0Bx4hafXDDq2EMzRNcy1vSUxtcEk\/view\">more details<\/a> and <a target=\"_blank\" href=\"https:\/\/cloudplatform.googleblog.com\/2017\/04\/quantifying-the-performance-of-the-TPU-our-first-machine-learning-chip.html\">benchmarks<\/a> about the project.<\/p>\n<p>If you\u2019re a chip designer, you can find all the <del>gory<\/del> glorious details of how the TPU works in <a target=\"_blank\" href=\"https:\/\/drive.google.com\/file\/d\/0Bx4hafXDDq2EMzRNcy1vSUxtcEk\/view\">Google\u2019s paper<\/a>. The numbers that matter most here, though, are that based on Google\u2019s own benchmarks (and it\u2019s worth keeping in mind that this is Google evaluating its own chip), the TPUs are on average 15x to 30x faster in executing Google\u2019s regular machine learning workloads than a standard GPU\/CPU combination (in this case, Intel Haswell processors and Nvidia K80 GPUs). And because power consumption counts in a data center, the TPUs also offer 30x to 80x higher TeraOps\/Watt (and\u00a0with using faster memory in the future, those numbers will probably increase).<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1014.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1473237\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1014.png?w=986&#038;h=549\" alt=\"\" width=\"986\" height=\"549\" srcset=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1014.png 986w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1014.png?w=150&#038;h=84 150w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1014.png?w=300&#038;h=167 300w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1014.png?w=768&#038;h=428 768w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1014.png?w=680&#038;h=379 680w\" sizes=\"(max-width: 986px) 100vw, 986px\"\/><\/a><\/p>\n<p>It\u2019s worth noting that these numbers are about using machine learning models in production, by the way \u2014 not about creating the model in the first place.<\/p>\n<p>Google also notes that while most architects optimize their chips for <a target=\"_blank\" href=\"http:\/\/cs231n.github.io\/convolutional-networks\/\">convolutional neural networks<\/a> (a specific type of neural network that\u2019s works well for image recognition, for example). Google, however, says, those networks only account for about 5 percent of its own data center workload while the majority of its applications use <a target=\"_blank\" href=\"https:\/\/en.wikipedia.org\/wiki\/Multilayer_perceptron\">multi-layer perceptrons<\/a>.<\/p>\n<p>Google says it started looking into how it could use GPUs, FPGAs and custom ASICS (which is\u00a0essentially what the TPUs are) in its data centers back in 2006. At the time, though, there weren\u2019t all that many applications that could really benefit from this special hardware because most of the heavy workloads they required could just\u00a0make use of the excess hardware that was already available in the data center anyway. \u201cThe conversation changed in 2013 when we projected that DNNs could become so popular that they might double computation demands on our data centers, which would be very expensive to satisfy with conventional CPUs,\u201d the authors of Google\u2019s paper write. \u201cThus, we started a high-priority project to quickly produce a custom ASIC for inference (and bought off-the-shelf GPUs for training).\u201d The goal here, Google\u2019s researchers say, \u201cwas to improve cost-performance by 10x over GPUs.\u201d<\/p>\n<p>Google isn\u2019t likely to\u00a0make the TPUs available outside of its own cloud, but the company notes that it expects that others will take what it has learned and \u201cbuild successors that will raise the bar even higher.\u201d<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1011.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1473240\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1011.png?w=1024&#038;h=422\" alt=\"\" width=\"1024\" height=\"422\" srcset=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1011.png?w=1024&#038;h=422 1024w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1011.png?w=150&#038;h=62 150w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1011.png?w=300&#038;h=124 300w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1011.png?w=768&#038;h=316 768w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1011.png?w=680&#038;h=280 680w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1011.png 1325w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"\/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"410\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1013.png?w=680\" class=\"attachment-large size-large wp-post-image\" alt=\"\" srcset=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1013.png?w=680 680w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1013.png?w=150 150w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1013.png?w=300 300w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1013.png?w=768 768w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/2017-04-05_1013.png 1266w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/>&nbsp;It&#8217;s no secret that Google has developed its own custom chips to accelerate its machine learning algorithms. The company first revealed those chips, called Tensor Processing Units (TPUs), at its I\/O developer conference back in May 2016, but it never went into all that many details about them, except for saying that they were optimized around the company&#8217;s own TensorFlow&#8230; <a href=\"https:\/\/techcrunch.com\/2017\/04\/05\/google-says-its-custom-machine-learning-chips-are-often-15-30x-faster-than-gpus-and-cpus\/?ncid=rss\">Read More<\/a><\/p>\n<div class=\"feedflare\">\n<a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=r1hRWBe_Frg:Pkit2jovqF4:2mJPEYqXBVI\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=2mJPEYqXBVI\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=r1hRWBe_Frg:Pkit2jovqF4:7Q72WNTAKBA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=7Q72WNTAKBA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=r1hRWBe_Frg:Pkit2jovqF4:yIl2AUoC8zA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=yIl2AUoC8zA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=r1hRWBe_Frg:Pkit2jovqF4:-BTjWOF_DHI\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?i=r1hRWBe_Frg:Pkit2jovqF4:-BTjWOF_DHI\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=r1hRWBe_Frg:Pkit2jovqF4:D7DqB2pKExk\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?i=r1hRWBe_Frg:Pkit2jovqF4:D7DqB2pKExk\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=r1hRWBe_Frg:Pkit2jovqF4:qj6IDK7rITs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=qj6IDK7rITs\" border=\"0\"><\/img><\/a>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~r\/Techcrunch\/~4\/r1hRWBe_Frg\" height=\"1\" width=\"1\" alt=\"\"\/> <\/p>\n","protected":false},"author":5817,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[25],"tags":[59,66,26],"class_list":["post-337697","post","type-post","status-publish","format-standard","hentry","category-technology","tag-media","tag-techcrunch","tag-technology"],"_links":{"self":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts\/337697","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/users\/5817"}],"replies":[{"embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/comments?post=337697"}],"version-history":[{"count":0,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts\/337697\/revisions"}],"wp:attachment":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/media?parent=337697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/categories?post=337697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/tags?post=337697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}