torch-directml


Nametorch-directml JSON
Version 0.2.0.dev230426 PyPI version JSON
download
home_pagehttps://github.com/microsoft/directml
SummaryA DirectML backend for hardware acceleration in PyTorch.
upload_time2023-04-27 20:18:25
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. 

## Roadmap
`torch-directml` is actively under development and we're always adding more operators. For a list of all the operators we support and their data type coverage, refer to the [PyTorch DirectML Operator Roadmap](https://github.com/microsoft/DirectML/wiki/PyTorch-DirectML-Operator-Roadmap) in the DirectML repository wiki. If you require support for an operator that isn't in this list, see the [Feedback](#feedback) section below on how to file an issue. 

## 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.

## Data Collection Notice

The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft's privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.

Specifically, in torch-directml, we are collecting the GPU device info and operators that fall back to CPU for improving operator coverage.
### 


## External Links

- [PyTorch homepage](https://pytorch.org/)
- [PyTorch DirectML Operator Roadmap](https://github.com/microsoft/DirectML/wiki/PyTorch-DirectML-Operator-Roadmap)
- [Pytorch with DirectML Samples Repo](https://github.com/microsoft/DirectML/tree/master/PyTorch)


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/microsoft/directml",
    "name": "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## Roadmap\n`torch-directml` is actively under development and we're always adding more operators. For a list of all the operators we support and their data type coverage, refer to the [PyTorch DirectML Operator Roadmap](https://github.com/microsoft/DirectML/wiki/PyTorch-DirectML-Operator-Roadmap) in the DirectML repository wiki. If you require support for an operator that isn't in this list, see the [Feedback](#feedback) section below on how to file an issue. \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## Data Collection Notice\n\nThe software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft's privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.\n\nSpecifically, in torch-directml, we are collecting the GPU device info and operators that fall back to CPU for improving operator coverage.\n### \n\n\n## External Links\n\n- [PyTorch homepage](https://pytorch.org/)\n- [PyTorch DirectML Operator Roadmap](https://github.com/microsoft/DirectML/wiki/PyTorch-DirectML-Operator-Roadmap)\n- [Pytorch with DirectML Samples Repo](https://github.com/microsoft/DirectML/tree/master/PyTorch)\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A DirectML backend for hardware acceleration in PyTorch.",
    "version": "0.2.0.dev230426",
    "split_keywords": [
        "pytorch",
        "plugin",
        "machine learning",
        "directml",
        "directx",
        "d3d12"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "18cb3cc7c78d9d2b53d2ab823b5ba15f86e5b0240ba3d4f12cc71ccc16990d10",
                "md5": "32148f46588d4874c9bd43a756cecc4a",
                "sha256": "8976b6ae4c1b7bb6f770109106692cfc9ac9643808b0569ebee70e889bcfb8a7"
            },
            "downloads": -1,
            "filename": "torch_directml-0.2.0.dev230426-cp310-cp310-manylinux2010_x86_64.whl",
            "has_sig": false,
            "md5_digest": "32148f46588d4874c9bd43a756cecc4a",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 25822419,
            "upload_time": "2023-04-27T20:18:25",
            "upload_time_iso_8601": "2023-04-27T20:18:25.920622Z",
            "url": "https://files.pythonhosted.org/packages/18/cb/3cc7c78d9d2b53d2ab823b5ba15f86e5b0240ba3d4f12cc71ccc16990d10/torch_directml-0.2.0.dev230426-cp310-cp310-manylinux2010_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c402bbccb83ea0c1caffd46ab487211c3401c0eaa895698fe968beb913e775e",
                "md5": "5380a1e025e2b38decaebbdd56256f45",
                "sha256": "7b19ad71966ac6591c24e6876b63aa94cd2321b42df767cec4673fb4305c6a2e"
            },
            "downloads": -1,
            "filename": "torch_directml-0.2.0.dev230426-cp310-cp310-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "5380a1e025e2b38decaebbdd56256f45",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": ">=3.7",
            "size": 8203969,
            "upload_time": "2023-04-27T20:18:28",
            "upload_time_iso_8601": "2023-04-27T20:18:28.809561Z",
            "url": "https://files.pythonhosted.org/packages/0c/40/2bbccb83ea0c1caffd46ab487211c3401c0eaa895698fe968beb913e775e/torch_directml-0.2.0.dev230426-cp310-cp310-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c729d6ee506438ec8169e90b365608945e093a3a7a9db7cedc7a6cb7eacee8f0",
                "md5": "c0bec38f2b238abd6eb1cb5c72df9433",
                "sha256": "7e9fba00a680bfdefd062a12a6bacfb896862543b0c91606143dfb9d0259c5af"
            },
            "downloads": -1,
            "filename": "torch_directml-0.2.0.dev230426-cp38-cp38-manylinux2010_x86_64.whl",
            "has_sig": false,
            "md5_digest": "c0bec38f2b238abd6eb1cb5c72df9433",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 61911231,
            "upload_time": "2023-04-27T20:18:32",
            "upload_time_iso_8601": "2023-04-27T20:18:32.742320Z",
            "url": "https://files.pythonhosted.org/packages/c7/29/d6ee506438ec8169e90b365608945e093a3a7a9db7cedc7a6cb7eacee8f0/torch_directml-0.2.0.dev230426-cp38-cp38-manylinux2010_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "115ccd7b811318f3d9612b480208e632cdf3ddbae20a3a4b3e1dddff59f4ecf2",
                "md5": "ebeb20b1df2860676cca8778a18bda95",
                "sha256": "cfb4d8ea7abb5aa4629f005f45c43a4916365c3f59362847abb86780b2b87aeb"
            },
            "downloads": -1,
            "filename": "torch_directml-0.2.0.dev230426-cp38-cp38-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "ebeb20b1df2860676cca8778a18bda95",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.7",
            "size": 8203749,
            "upload_time": "2023-04-27T20:18:36",
            "upload_time_iso_8601": "2023-04-27T20:18:36.848177Z",
            "url": "https://files.pythonhosted.org/packages/11/5c/cd7b811318f3d9612b480208e632cdf3ddbae20a3a4b3e1dddff59f4ecf2/torch_directml-0.2.0.dev230426-cp38-cp38-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aefcb82046993a8c2033a5b0023943696868d267c01c9eb2147ee7914d5e1970",
                "md5": "a60e393c1b444f331a9e5b8eb4e83f7a",
                "sha256": "2289cbc8d60140a4ac846922895a6c38c38cdec39631975d62fb58b3b14de5cf"
            },
            "downloads": -1,
            "filename": "torch_directml-0.2.0.dev230426-cp39-cp39-manylinux2010_x86_64.whl",
            "has_sig": false,
            "md5_digest": "a60e393c1b444f331a9e5b8eb4e83f7a",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 25822402,
            "upload_time": "2023-04-27T20:18:39",
            "upload_time_iso_8601": "2023-04-27T20:18:39.604510Z",
            "url": "https://files.pythonhosted.org/packages/ae/fc/b82046993a8c2033a5b0023943696868d267c01c9eb2147ee7914d5e1970/torch_directml-0.2.0.dev230426-cp39-cp39-manylinux2010_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c21de4ac92551964af81fd0be62086bc307e63a66d40ebdd9d02b0640efcc89f",
                "md5": "185c3ebc83b4f48f7893f713f10874b3",
                "sha256": "22614281fc0722d9318e6612558ffd55fabbe54940d66978d665c2fc124b4e4c"
            },
            "downloads": -1,
            "filename": "torch_directml-0.2.0.dev230426-cp39-cp39-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "185c3ebc83b4f48f7893f713f10874b3",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": ">=3.7",
            "size": 8202944,
            "upload_time": "2023-04-27T20:18:42",
            "upload_time_iso_8601": "2023-04-27T20:18:42.082079Z",
            "url": "https://files.pythonhosted.org/packages/c2/1d/e4ac92551964af81fd0be62086bc307e63a66d40ebdd9d02b0640efcc89f/torch_directml-0.2.0.dev230426-cp39-cp39-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-27 20:18:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "microsoft",
    "github_project": "directml",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "torch-directml"
}
        
Elapsed time: 0.10275s