Expose DirectML provider to python (conflicts resolved from #3359)#4630
Expose DirectML provider to python (conflicts resolved from #3359)#4630hariharans29 merged 8 commits intomicrosoft:masterfrom
Conversation
|
/azp run Linux CPU CI Pipeline,Linux GPU CI Pipeline,Linux GPU TensorRT CI Pipeline,MacOS CI Pipeline,Windows GPU CI Pipeline,Windows GPU TensorRT CI Pipeline,MacOS NoContribops CI Pipeline,Linux CPU x64 NoContribops CI Pipeline,Windows CPU CI Pipeline |
|
/azp run orttraining-linux-ci-pipeline,orttraining-linux-gpu-ci-pipeline,orttraining-mac-ci-pipeline |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
Azure Pipelines successfully started running 9 pipeline(s). |
|
@cameronmaske looks like there are some more conflicts to resolve on this. |
|
@cameronmaske @fdwr - does this PR look okay now ? (Resolved conflicts but making sure it makes sense) |
|
/azp run Linux CPU CI Pipeline,Linux CPU x64 NoContribops CI Pipeline,Linux GPU CI Pipeline,Linux GPU TensorRT CI Pipeline,MacOS CI Pipeline,MacOS NoContribops CI Pipeline,Windows CPU CI Pipeline,Windows GPU CI Pipeline,Windows GPU TensorRT CI Pipeline |
|
/azp run orttraining-linux-ci-pipeline,orttraining-mac-ci-pipeline,orttraining-linux-gpu-ci-pipeline,centos7_cpu,Linux OpenVINO CI Pipeline |
|
Azure Pipelines successfully started running 5 pipeline(s). |
|
Azure Pipelines successfully started running 9 pipeline(s). |
|
The Windows GPU build are failing. Is it because it isn't able to locate the DirectML.dll for some reason ? |
|
@cameronmaske Can you take a look at the failure issue and also resolve conflicts? |
|
@faxu I’m currently traveling but will try and resolve these issue when I return next week |
|
|
|
@faxu Issue should be resolved. For context, the |
|
/azp run Linux CPU CI Pipeline,Linux CPU x64 NoContribops CI Pipeline,Linux GPU CI Pipeline,Linux GPU TensorRT CI Pipeline,MacOS CI Pipeline,MacOS NoContribops CI Pipeline,Windows CPU CI Pipeline,Windows GPU CI Pipeline,Windows GPU TensorRT CI Pipeline |
|
/azp run orttraining-linux-ci-pipeline,orttraining-mac-ci-pipeline,orttraining-linux-gpu-ci-pipeline,centos7_cpu,Linux OpenVINO CI Pipeline |
|
Azure Pipelines successfully started running 5 pipeline(s). |
|
Azure Pipelines successfully started running 9 pipeline(s). |
|
@cameronmaske Still some issues, it seems... |
|
@faux Reading over the test failures, I'd like some guidance from the maintainers about which route to take to address this, as the direction seems quite opinionated. The error occurring is... The DML provider does not support My thoughts are either, Alter the tests to explicitly disable that option when running with the or Change the session options to default Maybe there are different approaches, appreciate any thoughts/guidance. |
Between those two options, I would lean towards the latter. enable_memory_pattern is an optimization, so if it is incompatible with DMLExecutionProvider, it seems better to make it a no-op, rather than place onus on user to know what optimizations are compatible with which provider. |
|
This error should go way now, please rebase with master and I can merge this PR. Thanks. |
|
/azp run Linux CPU CI Pipeline,Linux CPU x64 NoContribops CI Pipeline,Linux GPU CI Pipeline,Linux GPU TensorRT CI Pipeline,MacOS CI Pipeline,MacOS NoContribops CI Pipeline,Windows CPU CI Pipeline,Windows GPU CI Pipeline,Windows GPU TensorRT CI Pipeline |
|
/azp run orttraining-linux-ci-pipeline,orttraining-mac-ci-pipeline,orttraining-linux-gpu-ci-pipeline,centos7_cpu,Linux OpenVINO CI Pipeline |
|
Azure Pipelines successfully started running 9 pipeline(s). |
|
Azure Pipelines successfully started running 5 pipeline(s). |
|
/azp run Linux CPU CI Pipeline,Linux CPU x64 NoContribops CI Pipeline,Linux GPU CI Pipeline,Linux GPU TensorRT CI Pipeline,MacOS CI Pipeline,MacOS NoContribops CI Pipeline,Windows CPU CI Pipeline,Windows GPU CI Pipeline,Windows GPU TensorRT CI Pipeline |
|
/azp run orttraining-linux-ci-pipeline,orttraining-mac-ci-pipeline,orttraining-linux-gpu-ci-pipeline,centos7_cpu,Linux OpenVINO CI Pipeline |
|
Azure Pipelines successfully started running 9 pipeline(s). |
|
Azure Pipelines successfully started running 5 pipeline(s). |
|
@hariharans29 Many thanks for the help in getting this merged! |
Description: Exposed the DirectML (DML) provider to Python.
This is based on #3359 but addresses the conflicts on that branch and include the DirectML.dll in the setup.py.
Motivation and Context
Previously the DML provider was not exposed to python.
Fixes #3358