Skip to content

Commit

Permalink
add --use-winml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yi Zhang committed Oct 24, 2024
1 parent 09fc7ec commit 652950e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ parameters:
displayName: Specific Artifact's BuildId
type: string
default: '0'

- name: buildJava
type: boolean

Expand All @@ -50,7 +50,7 @@ stages:
msbuildPlatform: x64
packageName: x64-cuda
CudaVersion: ${{ parameters.CudaVersion }}
buildparameter: --use_cuda --cuda_home=${{ parameters.win_cuda_home }} --enable_wcos --cmake_extra_defines "CMAKE_CUDA_ARCHITECTURES=60;61;70;75;80" --use_dml --build_csharp --parallel
buildparameter: --use_cuda --cuda_home=${{ parameters.win_cuda_home }} --enable_wcos --cmake_extra_defines "CMAKE_CUDA_ARCHITECTURES=60;61;70;75;80" --use_dml --use_winml --build_csharp --parallel
runTests: ${{ parameters.RunOnnxRuntimeTests }}
buildJava: ${{ parameters.buildJava }}
java_artifact_id: onnxruntime_gpu
Expand Down
6 changes: 3 additions & 3 deletions tools/ci_build/github/azure-pipelines/templates/win-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,9 @@ stages:
- job: Windows_Packaging_${{ parameters.stage_name_suffix }}_Testing
workspace:
clean: all
pool: zhanyi_test_A100_pool
# name: ${{ parameters.ort_build_pool_name }}
# demands: ImageVersionOverride -equals 248.0.0
pool:
name: ${{ parameters.ort_build_pool_name }}
demands: ImageVersionOverride -equals 248.0.0
timeoutInMinutes: 180
steps:
- task: mspremier.PostBuildCleanup.PostBuildCleanup-task.PostBuildCleanup@3
Expand Down

0 comments on commit 652950e

Please sign in to comment.