experimental-torch-directml


Nameexperimental-torch-directml JSON
Version 0.1.13.dev23122022132839 PyPI version JSON
download
home_pagehttps://github.com/microsoft/directml
SummaryA DirectML backend for hardware acceleration in PyTorch.
upload_time2022-12-23 13:39:42
maintainer
docs_urlNone
authorMicrosoft Corporation
requires_python>=3.7
licenseMIT
keywords pytorch plugin machine learning directml directx d3d12
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://docs.microsoft.com/windows/win32/direct3d12/dml-intro).

PyTorch on DirectML is supported on both the latest versions of Windows 10 and the [Windows Subsystem for Linux](https://docs.microsoft.com/windows/wsl/about), and is available for download as a PyPI package. For more information about getting started, see [GPU accelerated ML training (docs.microsoft.com)](http://aka.ms/gpuinwsldocs)


## Samples
Refer to the [Pytorch with DirectML Samples Repo](https://github.com/microsoft/DirectML/tree/master/PyTorch) for samples. 

## Feedback

We look forward to hearing from you!

* For TensorFlow with DirectML issues, bugs, and feedback; or for general DirectML issues and feedback, please [file an issue](https://github.com/microsoft/DirectML-Samples/issues) or contact us directly at askdirectml@microsoft.com.

* For PyTorch with DirectML issues, bugs, and feedback; or for general DirectML issues and feedback, please [file an issue](https://github.com/microsoft/DirectML-Samples/issues) or contact us directly at askdirectml@microsoft.com.

* For Windows ML issues, please file a GitHub issue at [microsoft/Windows-Machine-Learning](https://github.com/Microsoft/Windows-Machine-Learning/issues) or contact us directly at askwindowsml@microsoft.com.

* For ONNX Runtime issues, please file an issue at [microsoft/onnxruntime](https://github.com/microsoft/onnxruntime/issues).

## 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](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

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

- [main branch](https://microsoft.visualstudio.com/WindowsAI/_git/pytorch-directml-plugin?path=%2F&version=GBmain&_a=contents) builds with the [**nightly-built** pytorch](https://pytorch.org/get-started/locally/)
  `
  conda install pytorch torchvision cpuonly -c pytorch-nightly
  `
- release branches build with the **corresponding published** pytorch
  - both [release/1.13](https://microsoft.visualstudio.com/WindowsAI/_git/pytorch-directml-plugin?path=/&version=GBrelease/1.13) and [release/1.13+](https://microsoft.visualstudio.com/WindowsAI/_git/pytorch-directml-plugin?path=/&version=GBrelease/1.13) build with [pytorch 1.13](https://pypi.org/project/torch/1.13.0/).
  - coming **release/1.13.1** should build with [pytorch 1.13.1](https://pypi.org/project/torch/1.13.1/)

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+](https://microsoft.visualstudio.com/WindowsAI/_git/pytorch-directml-plugin?path=/&version=GBrelease/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](/docs/workflow.png)

## External Links

[PyTorch homepage](https://pytorch.org/)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/microsoft/directml",
    "name": "experimental-torch-directml",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "pytorch,plugin,machine learning,directml,directx,d3d12",
    "author": "Microsoft Corporation",
    "author_email": "askdirectml@microsoft.com",
    "download_url": "",
    "platform": null,
    "description": "# PyTorch with DirectML\nDirectML 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.\n\nDirectML 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.\n\nMore information about DirectML can be found in [Introduction to DirectML](https://docs.microsoft.com/windows/win32/direct3d12/dml-intro).\n\nPyTorch on DirectML is supported on both the latest versions of Windows 10 and the [Windows Subsystem for Linux](https://docs.microsoft.com/windows/wsl/about), and is available for download as a PyPI package. For more information about getting started, see [GPU accelerated ML training (docs.microsoft.com)](http://aka.ms/gpuinwsldocs)\n\n\n## Samples\nRefer to the [Pytorch with DirectML Samples Repo](https://github.com/microsoft/DirectML/tree/master/PyTorch) for samples. \n\n## Feedback\n\nWe look forward to hearing from you!\n\n* For TensorFlow with DirectML issues, bugs, and feedback; or for general DirectML issues and feedback, please [file an issue](https://github.com/microsoft/DirectML-Samples/issues) or contact us directly at askdirectml@microsoft.com.\n\n* For PyTorch with DirectML issues, bugs, and feedback; or for general DirectML issues and feedback, please [file an issue](https://github.com/microsoft/DirectML-Samples/issues) or contact us directly at askdirectml@microsoft.com.\n\n* For Windows ML issues, please file a GitHub issue at [microsoft/Windows-Machine-Learning](https://github.com/Microsoft/Windows-Machine-Learning/issues) or contact us directly at askwindowsml@microsoft.com.\n\n* For ONNX Runtime issues, please file an issue at [microsoft/onnxruntime](https://github.com/microsoft/onnxruntime/issues).\n\n## Contributing\n\nThis project welcomes contributions and suggestions.  Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.microsoft.com.\n\nWhen you submit a pull request, a CLA-bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n\n## Workflow\nDevelopers will work on release branches daily and RI to main branch as needed.\n\n- [main branch](https://microsoft.visualstudio.com/WindowsAI/_git/pytorch-directml-plugin?path=%2F&version=GBmain&_a=contents) builds with the [**nightly-built** pytorch](https://pytorch.org/get-started/locally/)\n  `\n  conda install pytorch torchvision cpuonly -c pytorch-nightly\n  `\n- release branches build with the **corresponding published** pytorch\n  - both [release/1.13](https://microsoft.visualstudio.com/WindowsAI/_git/pytorch-directml-plugin?path=/&version=GBrelease/1.13) and [release/1.13+](https://microsoft.visualstudio.com/WindowsAI/_git/pytorch-directml-plugin?path=/&version=GBrelease/1.13) build with [pytorch 1.13](https://pypi.org/project/torch/1.13.0/).\n  - coming **release/1.13.1** should build with [pytorch 1.13.1](https://pypi.org/project/torch/1.13.1/)\n\nMotivations why in this pattern.\n1. Avoid pushing identical changes twice into release and main.\n2. Avoid to be blocked by broken changes from pytorch master.\n\nExamples of cutting branches:\n1. A new branch for pytorch-1.13 (e.g. [release/1.13+2]) will be cut from the last released branch [release/1.13+](https://microsoft.visualstudio.com/WindowsAI/_git/pytorch-directml-plugin?path=/&version=GBrelease/1.13) for new releases, and developers will stay on the new branch daily until that release is published.\n\n2. For new pytorch version **1.13.1**, release/1.13.1 should be cut from main **after** all release  workloads are RIed.\n\n![workflow](/docs/workflow.png)\n\n## External Links\n\n[PyTorch homepage](https://pytorch.org/)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A DirectML backend for hardware acceleration in PyTorch.",
    "version": "0.1.13.dev23122022132839",
    "split_keywords": [
        "pytorch",
        "plugin",
        "machine learning",
        "directml",
        "directx",
        "d3d12"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "156448367c2ed6ae03c873191ac56fb4",
                "sha256": "ee32274052f3f61b5277e4cd8383da1160724400dfd53397bc74f5dcd0e47012"
            },
            "downloads": -1,
            "filename": "experimental_torch_directml-0.1.13.dev23122022132839-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "156448367c2ed6ae03c873191ac56fb4",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 7434036,
            "upload_time": "2022-12-23T13:39:42",
            "upload_time_iso_8601": "2022-12-23T13:39:42.718895Z",
            "url": "https://files.pythonhosted.org/packages/aa/53/5ae4c148a4a386b136db1e90ab3fd6f61442330c8a92ecd108b0c98f7855/experimental_torch_directml-0.1.13.dev23122022132839-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-23 13:39:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "microsoft",
    "github_project": "directml",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "experimental-torch-directml"
}
        
Elapsed time: 0.04038s