Skip to main content

A DirectML backend for hardware acceleration in PyTorch.

Project description

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.

External Links

PyTorch homepage

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

torch_directml-0.1.13.dev221216-cp310-cp310-win_amd64.whl (7.4 MB view details)

Uploaded CPython 3.10 Windows x86-64

torch_directml-0.1.13.dev221216-cp39-cp39-win_amd64.whl (7.5 MB view details)

Uploaded CPython 3.9 Windows x86-64

torch_directml-0.1.13.dev221216-cp38-cp38-win_amd64.whl (7.5 MB view details)

Uploaded CPython 3.8 Windows x86-64

torch_directml-0.1.13.dev221216-cp37-cp37m-win_amd64.whl (7.5 MB view details)

Uploaded CPython 3.7m Windows x86-64

File details

Details for the file torch_directml-0.1.13.dev221216-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for torch_directml-0.1.13.dev221216-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 10068d661a0217abf358f7012eb4e7926fc5d858d0c40b42cc0ed91cda0bdd46
MD5 c9bcaf3e8b50ba98b36188ff7aeb6413
BLAKE2b-256 bbc3d5e524ce102fed7fea0b142e097c4e86d87e95f6961f535ea219e69f555a

See more details on using hashes here.

File details

Details for the file torch_directml-0.1.13.dev221216-cp310-cp310-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for torch_directml-0.1.13.dev221216-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ba0d4c9ee66bc8aee4d7e0adc8908b273cfc0c28d2302be31f7178c7e29c50b1
MD5 0e5539965e2b8ad0bca7b00eae8ef6b8
BLAKE2b-256 148dbaeee740859aea77fa10e1c983bbb13ea2b83d9d1da9aa5758b184c75ba6

See more details on using hashes here.

File details

Details for the file torch_directml-0.1.13.dev221216-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for torch_directml-0.1.13.dev221216-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c140f0170a864d53f6a7bbbc7ef6e831ba9c05bef42ec31e5f69f056e96ba0f1
MD5 8bb97d6a2697fff772c2af269df7c84b
BLAKE2b-256 70ee71ccf4100e54d3fab8bb3b403608e0e0c4b69c9e30d6acd4dbb374217f95

See more details on using hashes here.

File details

Details for the file torch_directml-0.1.13.dev221216-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for torch_directml-0.1.13.dev221216-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ce6fa42ca1ee1e7124ca7d0bc08d3afbd20b91369734c7d38ba4fbe7a8edccf4
MD5 52df130f46d42ca54c9a50be2dae5d65
BLAKE2b-256 4aac3eac4fd34953b97862a1c5216e74ffad0190ed6ee5c90730682609a7a5ef

See more details on using hashes here.

File details

Details for the file torch_directml-0.1.13.dev221216-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for torch_directml-0.1.13.dev221216-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 bbc21ddc43182ce7839dd77eb15303b69e597656fcd6a5456542ad5751bf08e0
MD5 20a01a3902debd93c33dced176fdb55c
BLAKE2b-256 a98b228abb176bae64400adafa31dcfa58235ce5c67fa11c9b751b8de4406a96

See more details on using hashes here.

File details

Details for the file torch_directml-0.1.13.dev221216-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for torch_directml-0.1.13.dev221216-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fc63b154e5199d13f34bc4e4de80ab5952794d464ae906ecee8f8445a794d006
MD5 64725ac02871745bcb0d7e2761524125
BLAKE2b-256 0419bd529d55b5f5caa744de8c9b7dab40a83b5d864e5fdd13e19c47601158b8

See more details on using hashes here.

File details

Details for the file torch_directml-0.1.13.dev221216-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for torch_directml-0.1.13.dev221216-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 1bdb1015a1205e8f9e56889c5df7d5dcc7686346588f16b936b6a9418e05f67d
MD5 f76ebb20b4e394c00ff39cc420d667bb
BLAKE2b-256 a8f342d14aee285f7d9c22900ac67692fec2561a093fbae24f1095a3a3dc0a99

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page