From 436056dcd7c0533b52325fd052ba9fd219aacd66 Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Mon, 30 Oct 2023 15:41:07 +0800 Subject: [PATCH] Revert "Disable dml stage in windows GPU pipeline temporarily. (#18034)" (#18150) This reverts commit 99b8dcaae2ac033b10880bc5bc7b0e89b37fe466. ### Description ### Motivation and Context Restore the dml stage in windows GPU pipeline. Agent issue is solved by adding Feature.DisableGpuDriver in pool properties. --- .../azure-pipelines/win-gpu-ci-pipeline.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tools/ci_build/github/azure-pipelines/win-gpu-ci-pipeline.yml b/tools/ci_build/github/azure-pipelines/win-gpu-ci-pipeline.yml index ae2a4b4cead3..2ba4b7bea371 100644 --- a/tools/ci_build/github/azure-pipelines/win-gpu-ci-pipeline.yml +++ b/tools/ci_build/github/azure-pipelines/win-gpu-ci-pipeline.yml @@ -70,6 +70,23 @@ stages: MachinePool: onnxruntime-Win2022-GPU-T4 isTraining: true +- stage: dml + dependsOn: [] + jobs: + - template: templates/jobs/win-ci-vs-2022-job.yml + parameters: + BuildConfig: 'RelWithDebInfo' + EnvSetupScript: setup_env.bat + buildArch: x64 + additionalBuildFlags: --enable_pybind --use_dml --enable_wcos --use_winml + msbuildPlatform: x64 + isX86: false + job_name_suffix: x64_RelWithDebInfo + RunOnnxRuntimeTests: ${{ parameters.RunOnnxRuntimeTests }} + ORT_EP_NAME: DML + WITH_CACHE: true + MachinePool: onnxruntime-Win2022-GPU-dml-A10 + - stage: kernelDocumentation dependsOn: [] jobs: