{"id":338704,"date":"2017-04-19T08:13:54","date_gmt":"2017-04-19T00:13:54","guid":{"rendered":"http:\/\/techcrunch.com\/?p=1477954"},"modified":"2017-04-19T08:13:54","modified_gmt":"2017-04-19T00:13:54","slug":"facebook-open-sources-caffe2-its-flexible-deep-learning-framework-of-choice","status":"publish","type":"post","link":"https:\/\/people.utm.my\/asmawisham\/facebook-open-sources-caffe2-its-flexible-deep-learning-framework-of-choice\/","title":{"rendered":"Facebook open sources Caffe2, its flexible deep learning framework of choice"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/image-uploaded-from-ios-1.jpg?w=738\" class=\"\"\/><\/p>\n<p>Today Facebook open sourced Caffe2. The deep learning framework follows in the steps of the original Caffe, a project started at the University of California, Berkeley. Caffe2 offers developers greater flexibility for building high-performance products that deploy efficiently.<\/p>\n<p>This isn\u2019t the first time that Facebook has engaged\u00a0with the Caffe community. Back in October,\u00a0<a target=\"_blank\" href=\"https:\/\/techcrunch.com\/2016\/11\/08\/shining-light-on-facebooks-ai-strategy\/\">Facebook announced Caffe2Go<\/a>, what effectively was a mobile CPU and GPU optimized version of Caffe2 (they even both have Caffe2 in their names if you parse it right). Caffe2Go received attention at that time because its release coincided with <a target=\"_blank\" href=\"https:\/\/techcrunch.com\/2016\/10\/25\/facebook-video-filters\/\">Style Transfer.<\/a><\/p>\n<p>Notably, the company also released <a target=\"_blank\" href=\"https:\/\/github.com\/facebook\/fb-caffe-exts\">extensions to the original Caffe<\/a>. The majority of these changes make Caffe more attractive to developers building services for large audiences. For projects where resources are of no consequence, Facebook has historically turned to Torch \u2014\u00a0a library it finds optimal for research use cases.<\/p>\n<p>Every tech company wants to tout the scalability of its machine learning framework of choice. I asked Yangqing Jia, the lead author on Caffe2, what he thought of MXNet and <a target=\"_blank\" href=\"https:\/\/techcrunch.com\/2017\/01\/30\/mxnet-accepted-to-the-apache-incubator\/\">the noise Amazon has been making<\/a> about its ability to scale. Reasonably, he was cautious about dropping benchmarking numbers for comparison. These numbers can have meaning, but they are heavily influenced by the actual implementation of a machine learning model and subject to a fair amount of \u201cDIY\u201d volatility.<\/p>\n<div id=\"attachment_1477962\" class=\"wp-caption alignnone c4\" readability=\"34\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1477962 size-full\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/18012825_10210473745858884_1504092118_o.jpg?w=1024&#038;h=768\" alt=\"\" width=\"1024\" height=\"768\" srcset=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/18012825_10210473745858884_1504092118_o.jpg?w=1024&#038;h=768 1024w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/18012825_10210473745858884_1504092118_o.jpg?w=150&#038;h=113 150w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/18012825_10210473745858884_1504092118_o.jpg?w=300&#038;h=225 300w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/18012825_10210473745858884_1504092118_o.jpg?w=768&#038;h=576 768w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/18012825_10210473745858884_1504092118_o.jpg?w=680&#038;h=510 680w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/18012825_10210473745858884_1504092118_o.jpg 1136w\" sizes=\"(max-width: 1024px) 100vw, 1024px\"\/><\/p>\n<p class=\"wp-caption-text\">Yangqing Jia, the lead author on Caffe2 and Alex Yu, leader of business development<\/p>\n<\/div>\n<p>\u201cAll frameworks are more or less at a similar scalability factor,\u201d explained Jia. \u201cWe\u2019re pretty confident that Caffe2 is probably a little bit better than the rest.\u201d<\/p>\n<p>Facebook is pouring a lot of resources into both Caffe2 and PyTorch. Today\u2019s release accompanies partnerships at the hardware, device and cloud levels. Alex Yu, leader of business development for Caffe2, explained to me that Facebook aimed to include the market leaders in each category. This meant Nvidia and Intel on the hardware side, Qualcomm on the device side and Amazon and Microsoft on the cloud side. And while Google wasn\u2019t targeted, a GCP partnership wouldn\u2019t be out of the question going forward.<\/p>\n<p>Prior to release, Caffe2 was deployed at scale across Facebook. The team also took considerations for the developer communities familiar with\u00a0the original Caffe. Caffe models can be easily converted to Caffe2 models with a utility script. Facebook is releasing <a target=\"_blank\" href=\"http:\/\/caffe2.ai\">documentation and tutorials<\/a> and has put Caffe2\u2019s <a target=\"_blank\" href=\"https:\/\/github.com\/caffe2\/caffe2\">source code on GitHub.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"510\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/image-uploaded-from-ios-1.jpg?w=680\" class=\"attachment-large size-large wp-post-image\" alt=\"\" srcset=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/image-uploaded-from-ios-1.jpg?w=680 680w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/image-uploaded-from-ios-1.jpg?w=1360 1360w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/image-uploaded-from-ios-1.jpg?w=150 150w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/image-uploaded-from-ios-1.jpg?w=300 300w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/04\/image-uploaded-from-ios-1.jpg?w=768 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/>&nbsp;Today Facebook open sourced Caffe2. The deep learning framework follows in the steps of the original Caffe, a project started at the University of California, Berkeley. Caffe2 offers developers greater flexibility for building high-performance products that deploy efficiently. <a href=\"https:\/\/techcrunch.com\/2017\/04\/18\/facebook-open-sources-caffe2-its-flexible-deep-learning-framework-of-choice\/?ncid=rss\">Read More<\/a><\/p>\n<div class=\"feedflare\">\n<a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=guKsdZywjgA:eTGJagAmUkk: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=guKsdZywjgA:eTGJagAmUkk: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=guKsdZywjgA:eTGJagAmUkk: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=guKsdZywjgA:eTGJagAmUkk:-BTjWOF_DHI\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?i=guKsdZywjgA:eTGJagAmUkk:-BTjWOF_DHI\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=guKsdZywjgA:eTGJagAmUkk:D7DqB2pKExk\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?i=guKsdZywjgA:eTGJagAmUkk:D7DqB2pKExk\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=guKsdZywjgA:eTGJagAmUkk: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\/guKsdZywjgA\" 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-338704","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\/338704","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=338704"}],"version-history":[{"count":0,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts\/338704\/revisions"}],"wp:attachment":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/media?parent=338704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/categories?post=338704"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/tags?post=338704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}