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.

Workflow

Developers will work on release branches daily and RI to main branch as needed.

Motivations why in this pattern.

  1. Avoid pushing identical changes twice into release and main.
  2. Avoid to be blocked by broken changes from pytorch master.

Examples of cutting branches:

  1. A new branch for pytorch-1.13 (e.g. [release/1.13+2]) will be cut from the last released branch release/1.13+ for new releases, and developers will stay on the new branch daily until that release is published.

  2. For new pytorch version 1.13.1, release/1.13.1 should be cut from main after all release workloads are RIed.

workflow

PyTorch homepage

Metadata

Release files for experimental-torch-directml 0.1.13.dev2012023132158

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

Built distribution (wheel)

Table of built distributions (wheels) for experimental-torch-directml 0.1.13.dev2012023132158
File Interpreter ABI Platform Actions
experimental_torch_directml-0.1.13.dev2012023132158-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for experimental_torch_directml-0.1.13.dev2012023132158-cp310-cp310-win_amd64.whl

Release files / experimental_torch_directml-0.1.13.dev2012023132158-cp310-cp310-win_amd64.whl

Download URL experimental_torch_directml-0.1.13.dev2012023132158-cp310-cp310-win_amd64.whl
Size 7.4 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
91518273e23b4dbbb06a8fc12919d47ddb7d202924357e143670505c2da17a14
BLAKE2b-256 checksum
How to use checksums
d7bb9ccf8ef867a4566b4917718a5ec3f089a73378d700719d6b7fee0ea3c878
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.9

Security for experimental-torch-directml 0.1.13.dev2012023132158

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

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