{"id":2145,"date":"2018-10-02T00:00:00","date_gmt":"2018-10-02T00:00:00","guid":{"rendered":"https:\/\/azure.microsoft.com\/blog\/world-class-pytorch-support-on-azure"},"modified":"2023-05-11T15:36:48","modified_gmt":"2023-05-11T22:36:48","slug":"world-class-pytorch-support-on-azure","status":"publish","type":"post","link":"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/","title":{"rendered":"World-class PyTorch support on Azure"},"content":{"rendered":"<p>Today we are excited to strengthen our commitment to supporting PyTorch as a first-class framework on Azure, with exciting new capabilities in our <a href=\"https:\/\/azure.microsoft.com\/en-us\/services\/machine-learning-service\/\" target=\"_blank\" rel=\"noopener\">Azure Machine Learning<\/a> public preview refresh. In addition, our PyTorch support extends deeply across many of our AI Platform services and tooling, which we will highlight below.<\/p>\n<p>During the past two years since PyTorch&#8217;s first release in October 2016, we&#8217;ve witnessed the rapid and organic adoption of the deep learning framework among academia, industry, and the AI community at large. While PyTorch&#8217;s Python-first integration and imperative style have long made the framework a hit among researchers, the latest <a href=\"https:\/\/code.fb.com\/ai-research\/facebook-accelerates-ai-development-with-new-partners-and-production-capabilities-for-pytorch-1-0\" target=\"_blank\" rel=\"noopener\">PyTorch 1.0 release<\/a> brings the production-level readiness and scalability needed to make it a true end-to-end deep learning platform, from prototyping to production.<\/p>\n<h2>Four ways to use PyTorch on Azure<\/h2>\n<h3>Azure Machine Learning service<\/h3>\n<p>Azure Machine Learning (Azure ML) service is a cloud-based service that enables data scientists to carry out end-to-end machine learning workflows, from data preparation and training to model management and deployment. Using the service&#8217;s rich Python SDK, you can train, hyperparameter tune, and deploy your PyTorch models with ease from any Python development environment, such as Jupyter notebooks or code editors. With Azure ML&#8217;s deep learning training features, you can seamlessly move from training PyTorch models on your local machine to scaling out to the Azure cloud.<\/p>\n<p>You can install the Python SDK with this simple line.<\/p>\n<pre>\r\npip install azureml-sdk<\/pre>\n<p>To use the Azure ML service, you will need an <a href=\"https:\/\/azure.microsoft.com\/en-us\/free\/\" target=\"_blank\" rel=\"noopener\">Azure account<\/a> and access to an Azure subscription. The first thing needed is to create an Azure Machine Learning workspace. A workspace is a centralized resource that manages your other Azure resources and training runs.<\/p>\n<pre>\r\nws = Workspace.create(name='my-workspace',\r\n                       subscription_id='<azure-subscription-id>',\r\n                       resource_group='my-resource-group')<\/pre>\n<p>To fully take advantage of PyTorch, you will need access to at least one GPU for training, and a multi-node cluster for more complex models and larger datasets. Using the Python SDK, you can easily take advantage of Azure compute for single-node and distributed PyTorch training. The below code snippet will create an autoscaled, GPU-enabled Azure Batch AI cluster.<\/p>\n<pre>\r\nprovisioning_config = BatchAiCompute.provisioning_configuration(vm_size=\"STANDARD_NC6\",\r\n                                           autoscale_enabled=True,\r\n                     cluster_min_nodes=0,\r\n                     cluster_max_nodes=4)\r\ncompute_target = ComputeTarget.create(ws, provisioning_config)<\/pre>\n<p>From here, all you need is your training script. The following example will create an Azure ML experiment to track your runs and execute a distributed 4-node PyTorch training run.<\/p>\n<pre>\r\nexperiment = Experiment(ws, \"my pytorch experiment\")\r\n\r\npt_estimator = PyTorch(source_directory='.\/my-training-files',\r\n                  compute_target=compute_target,\r\n                  entry_script='train.py',\r\n                  node_count=4,\r\n                  process_count_per_node=1,\r\n                  distributed_backend='mpi',\r\n                  use_gpu=True)\r\n\r\nexperiment.submit(pt_estimator)<\/pre>\n<p>To further optimize your model&#8217;s performance, Azure ML provides <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/machine-learning\/service\/how-to-tune-hyperparameters\" target=\"_blank\" rel=\"noopener\">hyperparameter tuning<\/a> capabilities to sweep through various hyperparameter combinations. Azure ML will schedule your training jobs, early terminate poor-performing runs, and provide rich visualizations of the tuning process.<\/p>\n<pre>\r\n# parameter sampling\r\nparam_sampling = RandomParameterSampling(\r\n      \"learning_rate\": loguniform(-10, -3),\r\n      \"momentum\": uniform(0.9, 0.99)\r\n)\r\n\r\n# early termination policy\r\npolicy = BanditPolicy(slack_factor=0.15, evaluation_interval=1)\r\n\r\n# hyperparameter tuning configuration\r\nhd_run_config = HyperDriveRunConfig(estimator=my_estimator,\r\n                           hyperparameter_sampling=param_sampling,\r\n                           policy=policy,\r\n                           primary_metric_name='accuracy',   \r\n                           primary_metric_goal=PrimaryMetricGoal.MINIMIZE,\r\n                           max_total_runs=100,\r\n                           max_concurrent_runs=10,\r\n)\r\nexperiment.submit(hd_run_config)<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"hyperdrive\" height=\"1212\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2018\/10\/0831bfca-90cd-43cf-8114-5aea30218dc7.webp\" title=\"hyperdrive\" width=\"1520\"><\/p>\n<p>Finally, data scientists and engineers use the Python SDK to deploy their trained PyTorch models to Azure Container Instances or Azure Kubernetes Service.<\/p>\n<p>You can check out a <a href=\"https:\/\/azure.microsoft.com\/en-in\/blog\/what-s-new-in-azure-machine-learning-service\/\" target=\"_blank\" rel=\"noopener\">comprehensive overview<\/a> of Azure Machine Learning&#8217;s full suite of offerings as well as access <a href=\"https:\/\/github.com\/Azure\/MachineLearningNotebooks\" target=\"_blank\" rel=\"noopener\">complete tutorials<\/a> on training and deploying PyTorch models in Azure ML.<\/p>\n<h2>Data Science Virtual Machine<\/h2>\n<p>Azure also provides the <a href=\"https:\/\/docs.microsoft.com\/azure\/machine-learning\/data-science-virtual-machine\/overview\" target=\"_blank\" rel=\"noopener\">Data Science Virtual Machine<\/a> (DSVM), a customized VM specifically dedicated for data science experimentation. The DSVM comes preconfigured and preinstalled with a comprehensive set of popular data science and deep learning tools, including PyTorch. The DSVM is a great option if you want a frictionless development experience when building models with PyTorch. To utilize the full features of PyTorch, you can use a GPU-based DSVM, which comes pre-installed with the necessary GPU drivers and GPU version of PyTorch. The DSVM is pre-installed with the latest stable PyTorch 0.4.1 release, and it can easily be upgraded to the PyTorch 1.0 preview.<\/p>\n<h2>Azure Notebooks<\/h2>\n<p>Azure Notebooks is a free, cloud-hosted Jupyter Notebooks solution that you can use for interactive coding in your browser. We preinstalled PyTorch on the Azure Notebooks container, so you can start experimenting with PyTorch without having to install the framework or run your own notebook server locally. In addition, we provide a maintained <a href=\"https:\/\/notebooks.azure.com\/pytorch\" target=\"_blank\" rel=\"noopener\">library<\/a> of the official, up-to-date PyTorch tutorials on Azure Notebooks. Learning or getting started with PyTorch is as easy as creating your Azure account and cloning the tutorial notebooks into your own library.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"1977\" height=\"1260\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2018\/10\/4df3e74d-f7df-4c1f-a99c-af7afd176bca.webp\" title=\"1977\" width=\"1849\"><\/p>\n<h3>Visual Studio Code Tools for AI<\/h3>\n<p>Visual Studio Code (VS Code) is a popular and lightweight source code editor. <a href=\"https:\/\/visualstudio.microsoft.com\/downloads\/ai-tools-vscode\/\" target=\"_blank\" rel=\"noopener\">VS Code Tools for AI<\/a> is a cross-platform extension that provides deep learning and AI experimentation features for data scientists and developers using the IDE. Tools for AI is tightly integrated with the Azure Machine Learning service, so you can submit PyTorch jobs to Azure compute, track experiment runs, and deploy your trained models all from within VS Code.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"vscodetoolsforai\" height=\"1392\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2018\/10\/36f1a0b0-5fc8-4125-abc6-256c1e6a6e01.webp\" title=\"vscodetoolsforai\" width=\"2233\"><\/p>\n<p>The <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=ms-toolsai.vscode-ai#overview\">Tools for AI<\/a> extension also provides a rich set of syntax highlighting, automatic code completion via IntelliSense, and built-in documentation search for PyTorch APIs.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"vscodetoolsforai2\" height=\"1394\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2018\/10\/29812ca3-0b83-478f-95b7-a410b0e66bfb.webp\" title=\"vscodetoolsforai2\" width=\"2233\"><\/p>\n<h2>Microsoft contributions to PyTorch<\/h2>\n<p>Finally, we are excited to join the amazing community of PyTorch developers in contributing innovations and enhancements to the PyTorch platform. Some of our immediate planned contributions are improving PyTorch data loading and processing, which includes improving performance, data reading support for Hidden Markov Model Toolkit- (HTK) defined formats for speech datasets, and a data loader for Azure Blob Storage. In addition, we are working to achieve complete parity for PyTorch Windows support, and full ONNX coverage adhering to the ONNX standard. We will also be working closely with Microsoft Research (MSR) on incorporating MSR innovations into PyTorch.<\/p>\n<p>At Microsoft we are dedicated to embracing and contributing to the advancements of such open-source AI technologies. Just a year ago we began our collaboration with Facebook on the <a href=\"https:\/\/onnx.ai\/\" target=\"_blank\" rel=\"noopener\">Open Neural Network Exchange<\/a> (ONNX), which promotes framework interoperability and shared optimization of neural networks through the ONNX model representation standard. With our commitment to PyTorch on Azure, we will continue to expand our ecosystem of AI offerings to enable richer development in research and industry.<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the past two years since PyTorch&#8217;s first release in October 2016, we&#8217;ve witnessed the rapid and organic adoption of the deep learning framework among academia, industry, and the AI community at large.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"ms_queue_id":[],"ep_exclude_from_search":false,"_classifai_error":"","_classifai_text_to_speech_error":"","_alt_title":"","footnotes":"","msx_community_cta_settings":[]},"categories":[1454,1485],"tags":[],"audience":[3057,3055,3053,3056],"content-type":[],"product":[1493],"tech-community":[],"topic":[],"coauthors":[758],"class_list":["post-2145","post","type-post","status-publish","format-standard","hentry","category-ai-machine-learning","category-internet-of-things","audience-data-professionals","audience-developers","audience-it-decision-makers","audience-it-implementors","product-azure-machine-learning"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>World-class PyTorch support on Azure | Microsoft Azure Blog<\/title>\n<meta name=\"description\" content=\"In the past two years since PyTorch&#039;s first release in October 2016, we&#039;ve witnessed the rapid and organic adoption of the deep learning framework among academia, industry, and the AI community at large.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"World-class PyTorch support on Azure | Microsoft Azure Blog\" \/>\n<meta property=\"og:description\" content=\"In the past two years since PyTorch&#039;s first release in October 2016, we&#039;ve witnessed the rapid and organic adoption of the deep learning framework among academia, industry, and the AI community at large.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft Azure Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/microsoftazure\" \/>\n<meta property=\"article:published_time\" content=\"2018-10-02T00:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-11T22:36:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2018\/10\/0831bfca-90cd-43cf-8114-5aea30218dc7.webp\" \/>\n<meta name=\"author\" content=\"Minna Xiao\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@azure\" \/>\n<meta name=\"twitter:site\" content=\"@azure\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Minna Xiao\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/\"},\"author\":[{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/minna-xiao\/\",\"@type\":\"Person\",\"@name\":\"Minna Xiao\"}],\"headline\":\"World-class PyTorch support on Azure\",\"datePublished\":\"2018-10-02T00:00:00+00:00\",\"dateModified\":\"2023-05-11T22:36:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/\"},\"wordCount\":940,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2018\/10\/0831bfca-90cd-43cf-8114-5aea30218dc7.webp\",\"articleSection\":[\"AI + machine learning\",\"Internet of things\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/\",\"name\":\"World-class PyTorch support on Azure | Microsoft Azure Blog\",\"isPartOf\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2018\/10\/0831bfca-90cd-43cf-8114-5aea30218dc7.webp\",\"datePublished\":\"2018-10-02T00:00:00+00:00\",\"dateModified\":\"2023-05-11T22:36:48+00:00\",\"description\":\"In the past two years since PyTorch's first release in October 2016, we've witnessed the rapid and organic adoption of the deep learning framework among academia, industry, and the AI community at large.\",\"breadcrumb\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#primaryimage\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2018\/10\/0831bfca-90cd-43cf-8114-5aea30218dc7.webp\",\"contentUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2018\/10\/0831bfca-90cd-43cf-8114-5aea30218dc7.webp\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog home\",\"item\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI + machine learning\",\"item\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/category\/ai-machine-learning\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"World-class PyTorch support on Azure\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#website\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\",\"name\":\"Microsoft Azure Blog\",\"description\":\"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.\",\"publisher\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\",\"name\":\"Microsoft Azure Blog\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp\",\"contentUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp\",\"width\":512,\"height\":512,\"caption\":\"Microsoft Azure Blog\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/microsoftazure\",\"https:\/\/x.com\/azure\",\"https:\/\/www.instagram.com\/microsoftdeveloper\/\",\"https:\/\/www.linkedin.com\/company\/16188386\",\"https:\/\/www.youtube.com\/user\/windowsazure\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/person\/c702e5edd662b328b49b7e1180cab117\",\"name\":\"shakir\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g7664e653ea371ce16eaf75e9fa8952c4\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g\",\"caption\":\"shakir\"},\"sameAs\":[\"https:\/\/azure.microsoft.com\"],\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/shakir\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"World-class PyTorch support on Azure | Microsoft Azure Blog","description":"In the past two years since PyTorch's first release in October 2016, we've witnessed the rapid and organic adoption of the deep learning framework among academia, industry, and the AI community at large.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/","og_locale":"en_US","og_type":"article","og_title":"World-class PyTorch support on Azure | Microsoft Azure Blog","og_description":"In the past two years since PyTorch's first release in October 2016, we've witnessed the rapid and organic adoption of the deep learning framework among academia, industry, and the AI community at large.","og_url":"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/","og_site_name":"Microsoft Azure Blog","article_publisher":"https:\/\/www.facebook.com\/microsoftazure","article_published_time":"2018-10-02T00:00:00+00:00","article_modified_time":"2023-05-11T22:36:48+00:00","og_image":[{"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2018\/10\/0831bfca-90cd-43cf-8114-5aea30218dc7.webp","type":"","width":"","height":""}],"author":"Minna Xiao","twitter_card":"summary_large_image","twitter_creator":"@azure","twitter_site":"@azure","twitter_misc":{"Written by":"Minna Xiao","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#article","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/"},"author":[{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/minna-xiao\/","@type":"Person","@name":"Minna Xiao"}],"headline":"World-class PyTorch support on Azure","datePublished":"2018-10-02T00:00:00+00:00","dateModified":"2023-05-11T22:36:48+00:00","mainEntityOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/"},"wordCount":940,"commentCount":0,"publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2018\/10\/0831bfca-90cd-43cf-8114-5aea30218dc7.webp","articleSection":["AI + machine learning","Internet of things"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/","name":"World-class PyTorch support on Azure | Microsoft Azure Blog","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#primaryimage"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2018\/10\/0831bfca-90cd-43cf-8114-5aea30218dc7.webp","datePublished":"2018-10-02T00:00:00+00:00","dateModified":"2023-05-11T22:36:48+00:00","description":"In the past two years since PyTorch's first release in October 2016, we've witnessed the rapid and organic adoption of the deep learning framework among academia, industry, and the AI community at large.","breadcrumb":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#primaryimage","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2018\/10\/0831bfca-90cd-43cf-8114-5aea30218dc7.webp","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2018\/10\/0831bfca-90cd-43cf-8114-5aea30218dc7.webp"},{"@type":"BreadcrumbList","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/world-class-pytorch-support-on-azure\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog home","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/"},{"@type":"ListItem","position":2,"name":"AI + machine learning","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/category\/ai-machine-learning\/"},{"@type":"ListItem","position":3,"name":"World-class PyTorch support on Azure"}]},{"@type":"WebSite","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","name":"Microsoft Azure Blog","description":"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.","publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/azure.microsoft.com\/en-us\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization","name":"Microsoft Azure Blog","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","width":512,"height":512,"caption":"Microsoft Azure Blog"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/microsoftazure","https:\/\/x.com\/azure","https:\/\/www.instagram.com\/microsoftdeveloper\/","https:\/\/www.linkedin.com\/company\/16188386","https:\/\/www.youtube.com\/user\/windowsazure"]},{"@type":"Person","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/person\/c702e5edd662b328b49b7e1180cab117","name":"shakir","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g7664e653ea371ce16eaf75e9fa8952c4","url":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g","caption":"shakir"},"sameAs":["https:\/\/azure.microsoft.com"],"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/shakir\/"}]}},"msxcm_display_generated_audio":false,"msxcm_animated_featured_image":null,"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Microsoft Azure Blog","distributor_original_site_url":"https:\/\/azure.microsoft.com\/en-us\/blog","push-errors":false,"_links":{"self":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/2145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/comments?post=2145"}],"version-history":[{"count":0,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/2145\/revisions"}],"wp:attachment":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/media?parent=2145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/categories?post=2145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tags?post=2145"},{"taxonomy":"audience","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/audience?post=2145"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/content-type?post=2145"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/product?post=2145"},{"taxonomy":"tech-community","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tech-community?post=2145"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/topic?post=2145"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/coauthors?post=2145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}