Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

PyTorch with DirectML

DirectML acceleration for PyTorch is currently available for Public Preview. PyTorch with DirectML enables training and inference of complex machine learning models on a wide range of DirectX 12-compatible hardware.

DirectML is a high-performance, hardware-accelerated DirectX 12 library for machine learning. DirectML provides GPU acceleration for common machine learning tasks across a broad range of supported hardware and drivers, including all DirectX 12-capable GPUs from vendors such as AMD, Intel, NVIDIA, and Qualcomm.

More information about DirectML can be found in Introduction to DirectML.

PyTorch on DirectML is supported on both the latest versions of Windows 10 and the Windows Subsystem for Linux, and is available for download as a PyPI package. For more information about getting started, see GPU accelerated ML training (docs.microsoft.com)

Samples

Refer to the Pytorch with DirectML Samples Repo for samples.

Feedback

We look forward to hearing from you!

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

PyTorch homepage

Metadata

Release files for torch-directml 0.1.13.dev221216

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for torch-directml 0.1.13.dev221216
File
torch_directml-0.1.13.dev221216-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
torch_directml-0.1.13.dev221216-cp310-cp310-manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
torch_directml-0.1.13.dev221216-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
torch_directml-0.1.13.dev221216-cp39-cp39-manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
torch_directml-0.1.13.dev221216-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
torch_directml-0.1.13.dev221216-cp38-cp38-manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details
torch_directml-0.1.13.dev221216-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details

Total release size: 208.5 MB

Release files / torch_directml-0.1.13.dev221216-cp310-cp310-win_amd64.whl

Download URL torch_directml-0.1.13.dev221216-cp310-cp310-win_amd64.whl
Size 7.4 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
10068d661a0217abf358f7012eb4e7926fc5d858d0c40b42cc0ed91cda0bdd46
BLAKE2b-256 checksum
How to use checksums
bbc3d5e524ce102fed7fea0b142e097c4e86d87e95f6961f535ea219e69f555a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Release files / torch_directml-0.1.13.dev221216-cp310-cp310-manylinux2014_x86_64.whl

Download URL torch_directml-0.1.13.dev221216-cp310-cp310-manylinux2014_x86_64.whl
Size 59.5 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ba0d4c9ee66bc8aee4d7e0adc8908b273cfc0c28d2302be31f7178c7e29c50b1
BLAKE2b-256 checksum
How to use checksums
148dbaeee740859aea77fa10e1c983bbb13ea2b83d9d1da9aa5758b184c75ba6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Release files / torch_directml-0.1.13.dev221216-cp39-cp39-win_amd64.whl

Download URL torch_directml-0.1.13.dev221216-cp39-cp39-win_amd64.whl
Size 7.5 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
c140f0170a864d53f6a7bbbc7ef6e831ba9c05bef42ec31e5f69f056e96ba0f1
BLAKE2b-256 checksum
How to use checksums
70ee71ccf4100e54d3fab8bb3b403608e0e0c4b69c9e30d6acd4dbb374217f95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Release files / torch_directml-0.1.13.dev221216-cp39-cp39-manylinux2014_x86_64.whl

Download URL torch_directml-0.1.13.dev221216-cp39-cp39-manylinux2014_x86_64.whl
Size 59.5 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ce6fa42ca1ee1e7124ca7d0bc08d3afbd20b91369734c7d38ba4fbe7a8edccf4
BLAKE2b-256 checksum
How to use checksums
4aac3eac4fd34953b97862a1c5216e74ffad0190ed6ee5c90730682609a7a5ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Release files / torch_directml-0.1.13.dev221216-cp38-cp38-win_amd64.whl

Download URL torch_directml-0.1.13.dev221216-cp38-cp38-win_amd64.whl
Size 7.5 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
bbc21ddc43182ce7839dd77eb15303b69e597656fcd6a5456542ad5751bf08e0
BLAKE2b-256 checksum
How to use checksums
a98b228abb176bae64400adafa31dcfa58235ce5c67fa11c9b751b8de4406a96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Release files / torch_directml-0.1.13.dev221216-cp38-cp38-manylinux2014_x86_64.whl

Download URL torch_directml-0.1.13.dev221216-cp38-cp38-manylinux2014_x86_64.whl
Size 59.6 MB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
fc63b154e5199d13f34bc4e4de80ab5952794d464ae906ecee8f8445a794d006
BLAKE2b-256 checksum
How to use checksums
0419bd529d55b5f5caa744de8c9b7dab40a83b5d864e5fdd13e19c47601158b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Release files / torch_directml-0.1.13.dev221216-cp37-cp37m-win_amd64.whl

Download URL torch_directml-0.1.13.dev221216-cp37-cp37m-win_amd64.whl
Size 7.5 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
1bdb1015a1205e8f9e56889c5df7d5dcc7686346588f16b936b6a9418e05f67d
BLAKE2b-256 checksum
How to use checksums
a8f342d14aee285f7d9c22900ac67692fec2561a093fbae24f1095a3a3dc0a99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page