PyTorch

PyTorch Foundation is the deep learning community home for the open source PyTorch framework and ecosystem.

收录于 1 年前更新于 1 年前正常收录
PyTorch 网站预览

详细内容

Skip to main content

Hit enter to search or ESC to closeSearch

Close Search

Get Started

Choose Your Path: Install PyTorch Locally or Launch Instantly on Supported Cloud Platforms

Get started

The Future of Inference: PyTorch ATX Event

November 26, 2025 in Blog, Community

The Future of Inference: PyTorch ATX Event

On September 17, 2025, PyTorch ATX partnered with the vLLM community and Red Hat to host “The Future of Inferencing” at Capital Factory’s Voltron room in downtown Austin. The gathering…

Read More

OpenReg: A Self-Contained PyTorch Accelerator Simulator

November 21, 2025 in Blog

OpenReg: A Self-Contained PyTorch Accelerator Simulator

Introduction The PyTorch community is actively working to build a growing ecosystem of specialized accelerators by offering a standardized and adaptable way for developers to add custom hardware support. As…

Read More

PINA Joins the PyTorch Ecosystem: A Unified Framework for Scientific Machine Learning

November 18, 2025 in Announcements, Blog

PINA Joins the PyTorch Ecosystem: A Unified Framework for Scientific Machine Learning

Scientific Machine Learning (SciML) is reshaping how complex physical and scientific systems are modelled and simulated. As researchers tackle increasingly sophisticated problems, the need for flexible and scalable tools has…

Read More

Join PyTorch Foundation

As a member of the PyTorch Foundation, you’ll have access to resources that allow you to be stewards of stable, secure, and long-lasting codebases. You can collaborate on training, local and regional events, open-source developer tooling, academic research, and guides to help new users and contributors have a productive experience.

EXPLORE BENEFITS

Key Features & Capabilities

Production Ready

Transition seamlessly between eager and graph modes with TorchScript, and accelerate the path to production with TorchServe.

Distributed Training

Scalable distributed training and performance optimization in research and production is enabled by the torch.distributed backend.

Robust Ecosystem

A rich ecosystem of tools and libraries extends PyTorch and supports development in computer vision, NLP and more.

Cloud Support

PyTorch is well supported on major cloud platforms, providing frictionless development and easy scaling.

Install PyTorch

Select your preferences and run the install command. Stable represents the most currently tested and supported version of PyTorch. This should be suitable for many users. Preview is available if you want the latest, not fully tested and supported, builds that are generated nightly. Please ensure that you have met the prerequisites below (e.g., numpy), depending on your package manager. Anaconda is our recommended package manager since it installs all dependencies. You can also install previous versions of PyTorch. Note that LibTorch is only available for C++.

NOTE: Latest Stable PyTorch requires Python 3.9 or later. Latest Preview (Nightly) PyTorch  requires Python 3.10 or later.

PyTorch Build

Your OS

Package

Language

Compute Platform

Run this Command:

PyTorch Build

Stable (2.9.1)

Preview (Nightly)

Your OS

Linux

Mac

Windows

Package

Pip

LibTorch

Source

Compute Platform

CUDA 12.6

CUDA 12.8

CUDA 13.0

ROCm 6.4

CPU

Run this Command:

pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu126

Previous versions of PyTorch

Quick Start With Cloud Partners

Get up and running with PyTorch quickly through popular cloud platforms and machine learning services.

Amazon Web Services

Google Cloud Platform

Microsoft Azure

Lightning Studios

Ecosystem

BROWSE PROJECTS

Featured Projects

Explore a rich ecosystem of libraries, tools, and more to support development.

Captum

Captum (“comprehension” in Latin) is an open source, extensible library for model interpretability built on PyTorch.

PyTorch Geometric

PyTorch Geometric is a library for deep learning on irregular input data such as graphs, point clouds, and manifolds.

skorch

skorch is a high-level library for PyTorch that provides full scikit-learn compatibility.

Companies & Universities Using PyTorch

Amazon Advertising

Reduce inference costs by 71% and scale out using PyTorch, TorchServe, and AWS Inferentia.

READ CASE STUDIES

Salesforce

Pushing the state of the art in NLP and Multi-task learning.

Stanford University

Using PyTorch’s flexibility to efficiently research new algorithmic approaches.

Docs

Access comprehensive developer documentation for PyTorch

View Docs ›

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials ›

Resources

Find development resources and get your questions answered

View Resources ›

Stay in touch for updates, event info, and the latest news

Select Country*AfghanistanÅland IslandsAlbaniaAlgeriaAmerican SamoaAndorraAngolaAnguillaAntarcticaAntigua and BarbudaArgentinaArmeniaArubaAsia/Pacific RegionAustraliaAustriaAzerbaijanBahamasBahrainBangladeshBarbadosBelarusBelgiumBelizeBeninBermudaBhutanBoliviaBosnia and HerzegovinaBotswanaBouvet IslandBrazilBritish Indian Ocean TerritoryBritish Virgin IslandsBruneiBulgariaBurkina FasoBurundiCambodiaCameroonCanadaCanary IslandsCape VerdeCaribbean NetherlandsCayman IslandsCentral African RepublicChadChileChinaChristmas IslandCocos (Keeling) IslandsColombiaComorosCongoCook IslandsCosta RicaCote d'IvoireCroatiaCubaCuraçaoCyprusCzech RepublicDemocratic Republic of the CongoDenmarkDjiboutiDominicaDominican RepublicEast TimorEcuadorEgyptEl SalvadorEquatorial GuineaEritreaEstoniaEthiopiaEuropeFalkland IslandsFaroe IslandsFijiFinlandFranceFrench GuianaFrench PolynesiaFrench Southern and Antarctic LandsGabonGambiaGeorgiaGermanyGhanaGibraltarGreeceGreenlandGrenadaGuadeloupeGuamGuatemalaGuernseyGuineaGuinea-BissauGuyanaHaitiHeard Island and McDonald IslandsHondurasHong KongHungaryIcelandIndiaIndonesiaIranIraqIrelandIsle of ManIsraelItalyJamaicaJapanJerseyJordanKazakhstanKenyaKiribatiKosovoKuwaitKyrgyzstanLaosLatviaLebanonLesothoLiberiaLibyaLiechtensteinLithuaniaLuxembourgMacauMacedonia (FYROM)MadagascarMalawiMalaysiaMaldivesMaliMaltaMarshall IslandsMartiniqueMauritaniaMauritiusMayotteMexicoMicronesiaMoldovaMonacoMongoliaMontenegroMontserratMoroccoMozambiqueMyanmar (Burma)NamibiaNauruNepalNetherlandsNetherlands AntillesNew CaledoniaNew ZealandNicaraguaNigerNigeriaNiueNorfolk IslandNorth KoreaNorthern Mariana IslandsNorwayOmanPakistanPalauPalestinePanamaPapua New GuineaParaguayPeruPhilippinesPitcairn IslandsPolandPortugalPuerto RicoQatarRéunionRomaniaRussiaRwandaSaint BarthélemySaint HelenaSaint Kitts and NevisSaint LuciaSaint MartinSaint Pierre and MiquelonSaint Vincent and the GrenadinesSamoaSan MarinoSao Tome and PrincipeSaudi ArabiaSenegalSerbiaSeychellesSierra LeoneSingaporeSint MaartenSlovakiaSloveniaSolomon IslandsSomaliaSouth AfricaSouth Georgia and the South Sandwich IslandsSouth KoreaSouth SudanSpainSri LankaSudanSurinameSvalbard and Jan MayenSwazilandSwedenSwitzerlandSyriaTaiwanTajikistanTanzaniaThailandTogoTokelauTongaTrinidad and TobagoTunisiaTürkiyeTurkmenistanTurks and Caicos IslandsTuvaluU.S. Virgin IslandsUgandaUkraineUnited Arab EmiratesUnited KingdomUnited StatesUnited States Minor Outlying IslandsUruguayUzbekistanVanuatuVatican CityVenezuelaVietnamWallis and FutunaWestern SaharaYemenZambiaZimbabwe

By submitting this form, I consent to receive marketing emails from the LF and its projects regarding their events, training, research, developments, and related announcements. I understand that I can unsubscribe at any time using the links in the footers of the emails I receive. Privacy Policy

By submitting this form, I consent to receive marketing emails from the LF and its projects regarding their events, training, research, developments, and related announcements. I understand that I can unsubscribe at any time using the links in the footers of the emails I receive. Privacy Policy.

© 2025 PyTorch. Copyright © The Linux Foundation®. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For more information, including terms of use, privacy policy, and trademark usage, please see our Policies page. Trademark Usage. Privacy Policy.

Menu

Back to top

Close Menu

网站信息

域名
pytorch.org
收录路径
pytorch