This is the Trace Id: 48854bee8999d58f852645cbc7c644f4
Skip to main content Explore View all products (200+) Microsoft Foundry Azure Copilot GitHub Copilot Azure Kubernetes Service (AKS) Azure Cosmos DB Azure Database for PostgreSQL Azure Arc Microsoft Fabric Linux virtual machines in Azure Foundry Models Foundry Agent Service Foundry IQ Foundry Tools Foundry Control Plane Observability in Foundry Control Plane Azure OpenAI in Foundry Models Azure Speech in Foundry Tools Azure Machine Learning View all databases Azure Cosmos DB Azure DocumentDB Azure SQL Azure Database for PostgreSQL Azure Managed Redis Microsoft Fabric Azure Databricks Linux virtual machines in Azure Windows Server on Azure Azure Functions Azure Virtual Machine Scale Sets Azure API Management Azure Container Apps Azure Kubernetes Service (AKS) Azure Kubernetes Fleet Manager Azure Container Registry Azure Red Hat OpenShift Azure Container Instances Azure Container Storage Azure Arc Azure Local Microsoft Defender for Cloud Azure Monitor Microsoft Sentinel Azure Migrate View all solutions (40+) Cloud solutions for small and medium businesses Cloud migration and modernization center Data analytics for AI Azure Databases AI apps and agents Microsoft Marketplace Microsoft Sovereign Cloud AI apps and agents Responsible AI with Azure AI Infrastructure Data analytics for AI Machine learning operations (MLOps) Low-code application development on Azure Integration Services Serverless computing DevOps Migration and modernization center .NET apps migration Databases on Azure Linux on Azure Oracle on Azure SAP on the Microsoft Cloud Adaptive cloud High-performance computing (HPC) Infrastructure as a service (IaaS) Resiliency Azure Essentials Frontier Accelerate for Azure FinOps on Azure Microsoft Marketplace Azure pricing overview Create an Azure account Free Azure services Flexible purchase options Pricing calculator FinOps on Azure Maximize ROI from AI Azure savings plans Azure reservations Azure Hybrid Benefit Virtual Machines Azure SQL Microsoft Foundry Microsoft Fabric Azure Kubernetes Service (AKS) Microsoft Defender for Cloud View more Software Development Companies Microsoft Marketplace Find a partner Resources for Azure partners Get started with Azure Customer stories Analyst reports, white papers, and e-books Videos Learn more about cloud computing Documentation Explore Azure portal Developer resources Quickstart templates Resources for startups Developer community Students Azure for partners Blog Events and Webinars Learn Support Contact Sales Get started with Azure Sign in

PyTorch on Azure

Get an enterprise-ready PyTorch experience in the cloud.

Check out how Microsoft will contribute to the PyTorch Foundation

 

PyTorch is an open-source deep-learning framework that accelerates the path from research to production. Data scientists at Microsoft use PyTorch as the primary framework to develop models that enable new experiences in Microsoft 365, Bing, Xbox, and more. Microsoft is a top contributor to the PyTorch ecosystem with recent contributions such as PyTorch Profiler.

PyTorch on Azure—better together

Production-ready

Train and deploy models reliably and at scale using a built-in PyTorch environment within Azure Machine Learning to ensure that the latest PyTorch version is fully supported through Azure Container for PyTorch.

Accelerated performance

Decrease your time to market with powerful GPU hardware, a production-grade software accelerator with ONNX Runtime, and the latest innovative scaling techniques with DeepSpeed in Azure.

Strengthened ecosystem

Achieve more with the rich PyTorch ecosystem of tools and capabilities, including PyTorch Profiler.

Trusted by companies of all sizes

"The new enterprise-level offering by Microsoft closes an important gap. Serving PyTorch models in production can be a challenge. The direct involvement of Microsoft lets us deploy new versions of PyTorch to Azure with confidence."

Jeremy Jancsary, Sr. Principal Research Scientist, Nuance

Two medical professionals looking at a laptop

"I would recommend the Azure environment to other developers. It's user-friendly, easy to develop with, and very importantly, it follows best practices for AI and machine learning work."

Alexander Vaagan, Chief Data Scientist, Inmeta, part of Crayon

A person using a tablet and pen

"Running PyTorch on Azure gives us the best platform to build our embodied intelligence. It's easy for our engineers to run the experiments they need, all at once, at petabyte scale."

Pablo Castellanos Garcia, VP of Engineering, Wayve

A bird’s eye view of cars driving on interconnected highways

"With Azure AI and PyTorch, we combined focused applications of AI with journalistic processes and financial intelligence, yielding a solution that is unique in the market and valuable for cryptocurrency investors."

Zoiner Tejada, CEO of Solliance and CTO of Baseline

A person working at a desk with a laptop connected to a desktop monitor in their office

"We use Azure Machine Learning and PyTorch in our new framework to develop and move AI models into production faster, in a repeatable process that allows data scientists to work both on-premises and in Azure."

Tom Chmielenski, Principal MLOps Engineer, Bentley

Two people working together at a desk
Back to tabs

Microsoft is an active contributor to an ecosystem of PyTorch open-source projects

PyTorch Profiler

PyTorch Profiler is an open-source tool that helps you understand the hardware resource consumption, such as time and memory, of various PyTorch operations in your model and resolve performance bottlenecks. This makes your model execute faster with less overhead.

PyTorch x Onnx Runtime

ONNX Runtime on PyTorch

As deep-learning models get bigger, reducing training time becomes both a financial and environmental issue. ONNX Runtime accelerates large-scale, distributed training of PyTorch transformer models with a one-line code change. Combine with DeepSpeed to further improve training speed on PyTorch.

PyTorch x Windows

PyTorch on Windows

Microsoft maintains PyTorch builds for Windows so your team can enjoy well-tested and stable builds, simple and reliable installation, quickstarts and tutorials, high performance, and support for more advanced features such as distributed GPU training.

Microsoft Founding Member Pytorch Foundation

PyTorch Foundation

With the increasing importance of PyTorch to both AI research and production, Mark Zuckerberg and Linux Foundation jointly announced that PyTorch will transition to Linux Foundation to support continued community growth and provide a home for it to thrive for years to come. To contribute to the future enhancement of PyTorch, Microsoft joined PyTorch Foundation as a member of the governing board to lead the democratization and the collaboration of AI/ML. Explore the latest PyTorch capabilities.

ONNX Runtime: A runtime for accelerated inferencing and training of PyTorch models, supporting Windows, Mac, Linux, Android, and iOS, and optimized for a variety of hardware accelerators.

DeepSpeed: A library of algorithms for training of next-generation large models, including state-of-the-art model-parallel training algorithms and other optimizations for distributed training.

Hummingbird: A library that compiles traditional models like scikit-learn or LightGBM into PyTorch tensor computation for faster inference.

Two ways to use Azure for PyTorch development

Accelerate your workflow with Azure Machine Learning

Build, train, and deploy PyTorch models with ease using Azure Container for PyTorch. It's deeply integrated with Azure Machine Learning for experiment management and full machine learning lifecycle support. Azure Machine Learning removes the heavy lifting of end-to-end machine learning workflows while also handling housekeeping tasks such as data preparation and experiment tracking, which cuts time to production from weeks to hours.

Develop with Azure Data Science Virtual Machine for PyTorch

Data Science Virtual Machines for PyTorch come with pre-installed and validated with the latest PyTorch version to reduce setup costs and accelerate time to value. The packages contain various optimization functionalities such as ONNX Runtime, DeepSpeed, and PySpark to get frictionless development experience out of the box and the ability to work with all Azure hardware configurations including GPUs.

Learn PyTorch fundamentals

Learn the fundamentals of deep learning with PyTorch on Microsoft Learn. This beginner-friendly learning path introduces key concepts to building machine learning models in multiple domains, including speech, vision, and natural language processing.

Get started with PyTorch on the AI Show

Learn the basics of PyTorch, including how to build and deploy a model and how to connect to the strong community of users.

Learn the basics of PyTorch

Get to know PyTorch concepts and modules. Learn how to load data, build deep neural networks, and train and save your models in this quickstart guide.

Accelerate your PyTorch project in the cloud with Azure

A dashboard in Azure