Skip to content

Commit

Permalink
Split DML test out of cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen351 committed Oct 26, 2024
1 parent 3755562 commit 7a2cd9c
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ stages:
value: 'Visual Studio 17 2022'
- name: CUDA_MODULE_LOADING
value: 'LAZY'
- name: ep_name_alt
${{ if eq(parameters.EP_NAME, 'directml') }}:
value: 'DML'
${{ else }}:
value: 'CUDA'

steps:
- task: mspremier.PostBuildCleanup.PostBuildCleanup-task.PostBuildCleanup@3
Expand Down Expand Up @@ -212,6 +207,6 @@ stages:
Copy-Item -Path $(Build.sourcesDirectory)/onnxruntime/test/python/onnx_backend_test_series.py -Destination $(Agent.TempDirectory)\ort_test_data
Copy-Item -Recurse -Path $(Build.sourcesDirectory)/onnxruntime/test/testdata -Destination $(Agent.TempDirectory)\ort_test_data
cd $(Agent.TempDirectory)\ort_test_data
python onnx_backend_test_series.py --devices $(ep_name_alt)
python onnx_backend_test_series.py --devices DML
workingDirectory: '$(Build.sourcesDirectory)'
displayName: 'Run Python Tests'

0 comments on commit 7a2cd9c

Please sign in to comment.