{"id":1943,"date":"2019-05-03T17:54:19","date_gmt":"2019-05-03T17:54:19","guid":{"rendered":"https:\/\/blogs.mathworks.com\/deep-learning\/?p=1943"},"modified":"2021-04-06T15:50:51","modified_gmt":"2021-04-06T19:50:51","slug":"deep-learning-with-ngc","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/deep-learning\/2019\/05\/03\/deep-learning-with-ngc\/","title":{"rendered":"Deep Learning with NGC"},"content":{"rendered":"Did you know: you can run MATLAB with GPUs in the cloud? <span style=\"text-decoration: underline;\"><strong>MATLAB has a deep learning container on NGC!<\/strong><\/span><strong>\u00a0<\/strong>Let\u2019s define what this means:\r\n<h6><\/h6>\r\n<!--more-->\r\n<ul>\r\n \t<li><strong>What is a container?<\/strong>\r\n<ul>\r\n \t<li>A self-contained execution environment. Containers \u201crun everywhere\u201d on the cloud, on-premise GPU clusters, or desktop workstations. This simply means: a MATLAB container is a way to bring MATLAB with you to the cloud or cluster resources.<\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li><strong><strong>What is NGC?<\/strong><\/strong>\r\n<ul>\r\n \t<li>This stands for NVIDIA GPU Cloud, which is a repository of containers. (<a href=\"https:\/\/ngc.nvidia.com\/catalog\/containers\">See list of all containers)<\/a>\u00a0If you go to the site, you\u2019ll see MATLAB is one of the packaged, tested and optimized containers. NGC containers are tested to work on DGX stations and Cloud vendors like AWS and Azure. <em>More info about MATLAB with GPUs is at the bottom of this page. <\/em><\/li>\r\n<\/ul>\r\n<\/li>\r\n \t<li><strong>What is deep learning? <\/strong>\r\n<ul>\r\n \t<li>(just kidding - but we do have a video on <a href=\"https:\/\/www.mathworks.com\/videos\/introduction-to-deep-learning-what-is-deep-learning--1489502328819.html\">deep learning<\/a>)<\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ul>\r\n<div id=\"attachment_2055\" style=\"width: 310px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2019\/05\/NVIDIA-screen-shot.png\"><img aria-describedby=\"caption-attachment-2055\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-2055 size-medium\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2019\/05\/NVIDIA-screen-shot-300x239.png\" alt=\"\" width=\"300\" height=\"239\" \/><\/a><p id=\"caption-attachment-2055\" class=\"wp-caption-text\">Screen shot of NVIDIA's containers on their website<\/p><\/div>\r\n<h6><\/h6>\r\n<h6><\/h6>\r\n<h6><\/h6>\r\nPut this all together: <strong>MATLAB has a deep learning container on NGC.<\/strong> We have containers available for release R2018a through R2019a, and new containers will be provided for every future major release.\r\n<h6><\/h6>\r\nHow can you try this?\r\n<h6><\/h6>\r\n<ul>\r\n \t<li>If you <strong>have on-premise GPU clusters<\/strong> and you\u2019re interested to try the MATLAB container, you should contact us (deep-learning@mathworks.com), and we\u2019ll help you get set up.<\/li>\r\n \t<li>If you\u2019re ready to scale deep learning <strong>on the cloud<\/strong>: this video will help you get started setting up the <a href=\"https:\/\/www.mathworks.com\/videos\/setting-up-the-matlab-deep-learning-container-on-ngc-1537515024196.html\">MATLAB Deep Learning Container on NGC.<\/a>\u00a0This will discuss every step in detail, including how to <a href=\"https:\/\/www.mathworks.com\/campaigns\/products\/trials\/targeted\/ngc.html\">download a free cloud trial.<\/a> You'll be ready to get started in 15 minutes.<\/li>\r\n<\/ul>\r\n<div id=\"attachment_2059\" style=\"width: 235px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-2059\" decoding=\"async\" loading=\"lazy\" class=\"wp-image-2059 size-medium\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2019\/05\/DGX-225x300.jpg\" alt=\"\" width=\"225\" height=\"300\" \/><p id=\"caption-attachment-2059\" class=\"wp-caption-text\">At GTC San Jose, we ran deep learning training on DGX with 4 GPUs using the MATLAB container<\/p><\/div>\r\n<h6><\/h6>\r\nHere are the complete resource links in case you missed them:\r\n<h6><\/h6>\r\n<ul>\r\n \t<li>Link to documentation: <a href=\"https:\/\/www.mathworks.com\/help\/cloudcenter\/matlab-deep-learning-container-on-nvidia-gpu-cloud.html\">mathworks.com\/help\/cloudcenter\/matlab-deep-learning-container-on-nvidia-gpu-cloud.html<\/a><\/li>\r\n \t<li>Link to video setup: <a href=\"https:\/\/www.mathworks.com\/videos\/setting-up-the-matlab-deep-learning-container-on-ngc-1537515024196.html\">https:\/\/www.mathworks.com\/videos\/setting-up-the-matlab-deep-learning-container-on-ngc-1537515024196.html<\/a><\/li>\r\n \t<li>Link to free cloud trial: (<a href=\"https:\/\/www.mathworks.com\/campaigns\/products\/trials\/targeted\/ngc.html\">Cloud Deep Learning trial<\/a>)<\/li>\r\n \t<li>Link to container: <a href=\"https:\/\/ngc.nvidia.com\/catalog\/containers\/partners:matlab\">https:\/\/ngc.nvidia.com\/catalog\/containers\/partners:matlab<\/a><\/li>\r\n \t<li>Multi-GPU support in MATLAB: <a title=\"https:\/\/www.mathworks.com\/help\/deeplearning\/ug\/deep-learning-with-big-data-on-gpus-and-in-parallel.html?responsive_offcanvas+ (link no longer works)\">https:\/\/www.mathworks.com\/help\/deeplearning\/ug\/deep-learning-with-big-data-on-gpus-and-in-parallel.html<\/a><\/li>\r\n<\/ul>\r\n<h6><\/h6>\r\n<h6><\/h6>\r\n<p><a href=\"https:\/\/twitter.com\/jo_pings?ref_src=twsrc%5Etfw\" class=\"twitter-follow-button\" data-size=\"large\" data-show-count=\"false\">Follow @jo_pings<\/a><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/deep-learning\/files\/2019\/05\/NVIDIA-screen-shot-300x239.png\" onError=\"this.style.display ='none';\" \/><\/div><p>Did you know: you can run MATLAB with GPUs in the cloud? MATLAB has a deep learning container on NGC!\u00a0Let\u2019s define what this... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/deep-learning\/2019\/05\/03\/deep-learning-with-ngc\/\">read more >><\/a><\/p>","protected":false},"author":156,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/posts\/1943"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/users\/156"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/comments?post=1943"}],"version-history":[{"count":14,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/posts\/1943\/revisions"}],"predecessor-version":[{"id":2313,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/posts\/1943\/revisions\/2313"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/media?parent=1943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/categories?post=1943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/deep-learning\/wp-json\/wp\/v2\/tags?post=1943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}