onnxruntime/tools/ci_build/github/azure-pipelines/templates
Yi Zhang 8e8b62b8b5
Build CUDA and DML together (#22602)
### Description
Now, we need to build cuda and dml in one package.
But CUDA EP and DML EP can't run in one process.
It will throw the exception of `the GPU device instance has been
suspended`
So the issue is CUDA EP and DML EP coexist in compile time but can't
exist in run time.

This PR is to split cuda ep test and dml ep test in all unit tests.
The solution is to use 2 environment variable, NO_CUDA_TEST and
NO_DML_TEST, in CI.

For example, if NO_CUDA_TEST is set, the DefaultCudaExecutionProvider
will be nullptr, and the test will not run with CUDA EP.
In debugging, the CUDAExecutionProvider will not be called. 
I think, as long as cuda functions, like cudaSetDevice, are not called,
DML EP tests can pass.

Disabled java test of testDIrectML because it doesn't work now even
without CUDA EP.
2024-10-31 15:51:13 -07:00
..
jobs [TensorRT EP] Refactor TRT version update logic & apply TRT 10.5 (#22483) 2024-10-29 09:23:41 -07:00
stages update pipline python version from 3.8 to 3.12 (#22517) 2024-10-21 07:50:31 -07:00
android-binary-size-check-stage.yml
android-dump-logs-from-steps.yml Fix typo for react native pipeline (#21845) 2024-08-26 12:05:11 +10:00
android-java-api-aar-test.yml Enable BrowserStack tests (#22457) 2024-10-16 11:10:12 -07:00
android-java-api-aar.yml RC releases to Maven for Android (#22391) 2024-10-11 08:58:02 -07:00
build-linux-wasm-step.yml
c-api-artifacts-package-and-publish-steps-posix.yml
c-api-artifacts-package-and-publish-steps-windows.yml
c-api-cpu.yml update pipline python version from 3.8 to 3.12 (#22517) 2024-10-21 07:50:31 -07:00
c-api-linux-cpu.yml Add python 3.13 support (#22380) 2024-10-14 18:07:54 -07:00
check-cache-stats.yml
check_test_result.yml
clean-agent-build-directory-step.yml
common-variables.yml [TensorRT EP] Refactor TRT version update logic & apply TRT 10.5 (#22483) 2024-10-29 09:23:41 -07:00
compliance.yml
component-governance-component-detection-steps.yml Adding $(Build.SourcesDirectory)s to the ignoreDirectories (#21878) 2024-08-27 19:56:48 -07:00
download-deps.yml Upgrade absl to the latest released version (#22365) 2024-10-09 20:21:40 -07:00
esrp_nuget.yml
explicitly-defined-final-tasks.yml
final-jar-testing.yml Update copy_strip_binary.sh: use "make install" instead (#21464) 2024-07-24 10:02:00 -07:00
flex-downloadPipelineArtifact.yml
get-docker-image-steps.yml Fix docker image layer caching to avoid redundant docker building and transient connection exceptions. (#21612) 2024-08-06 21:37:09 +08:00
install-appcenter.yml
jar-esrp-dll.yml Add Digital Signature to DLLs in Maven Build (#22401) 2024-10-11 12:14:03 -07:00
jar-maven-signing-linux.yml Fix Maven Sha256 Checksum Issue (#22600) 2024-10-25 08:13:02 -07:00
jar-maven-signing-win.yml Fix Maven Sha256 Checksum Issue (#22600) 2024-10-25 08:13:02 -07:00
java-api-artifacts-package-and-publish-steps-posix.yml
linux-build-step-with-cache.yml
linux-ci.yml
linux-cpu-packaging-pipeline.yml
linux-wasm-ci.yml update pipline python version from 3.8 to 3.12 (#22517) 2024-10-21 07:50:31 -07:00
linux-web-init-and-check.yml
mac-build-step-with-cache.yml
mac-cpu-packaging-pipeline.yml use mac 12 for esrp code sign (#22134) 2024-09-19 12:06:41 +08:00
mac-cpu-packaging-steps.yml Update copy_strip_binary.sh: use "make install" instead (#21464) 2024-07-24 10:02:00 -07:00
mac-cpu-packing-jobs.yml Add implementation of WebGPU EP (#22591) 2024-10-29 18:29:40 -07:00
mac-esrp-dylib.yml
make_java_win_binaries.yml Remove warning suppression from Java Packaging pipeline. (#21010) 2024-06-24 16:46:21 -07:00
nodejs-artifacts-package-and-publish-steps-posix.yml
nodejs-artifacts-package-and-publish-steps-windows.yml
ondevice-training-cpu-packaging-pipeline.yml update pipline python version from 3.8 to 3.12 (#22517) 2024-10-21 07:50:31 -07:00
orttraining-linux-gpu-test-ci-pipeline.yml Unblock migraphx and linux GPU training ci pipelines (#21662) 2024-08-08 19:44:15 -07:00
publish-nuget-steps.yml update pipline python version from 3.8 to 3.12 (#22517) 2024-10-21 07:50:31 -07:00
py-linux-qnn.yml Update QNN default version to 2.27 in CI pipeline (#22471) 2024-10-16 22:05:47 -07:00
py-linux.yml
py-package-smoking-test.yml Add python 3.13 support (#22380) 2024-10-14 18:07:54 -07:00
py-packaging-linux-test-cpu.yml
py-packaging-linux-test-cuda.yml [TensorRT EP] Refactor TRT version update logic & apply TRT 10.5 (#22483) 2024-10-29 09:23:41 -07:00
py-packaging-selectable-stage.yml [TensorRT EP] Refactor TRT version update logic & apply TRT 10.5 (#22483) 2024-10-29 09:23:41 -07:00
py-packaging-training-cuda-stage-steps.yml update size limit check of training GPU wheel (#21762) 2024-08-21 09:30:05 +08:00
py-packaging-training-cuda-stage.yml
py-win-arm64-qnn.yml Add pipauth to more ADO pipelines and enable CSV (#22612) 2024-10-28 16:39:22 -07:00
py-win-arm64ec-qnn.yml Add pipauth to more ADO pipelines and enable CSV (#22612) 2024-10-28 16:39:22 -07:00
py-win-x64-qnn.yml Add pipauth to more ADO pipelines and enable CSV (#22612) 2024-10-28 16:39:22 -07:00
qnn-ep-win.yml update pipline python version from 3.8 to 3.12 (#22517) 2024-10-21 07:50:31 -07:00
react-native-ci.yml Update Node.js version from 18.x to 20.x in CI pipelines (#22576) 2024-10-24 07:34:42 -07:00
rocm.yml [ROCm] Extend the Pipeline restriction time (#21158) 2024-06-27 15:36:04 +08:00
run-docker-build-steps.yml
set-nightly-build-option-variable-step.yml
set-python-manylinux-variables-step.yml Add python 3.13 support (#22380) 2024-10-14 18:07:54 -07:00
set-version-number-variables-step.yml
telemetry-steps.yml
upload-code-coverage-data.yml
use-android-emulator.yml Combining android build and test step into one job (#21340) 2024-07-15 14:44:03 -07:00
use-android-ndk.yml Update Android NDK version to 27.0.12077973. (#21989) 2024-09-05 17:57:24 -07:00
use-xcode-version.yml Update pool to MacOS-13 (#17361) 2024-09-17 10:07:30 -07:00
validate-package.yml update pipline python version from 3.8 to 3.12 (#22517) 2024-10-21 07:50:31 -07:00
web-browserstack-ci.yml Update Node.js version from 18.x to 20.x in CI pipelines (#22576) 2024-10-24 07:34:42 -07:00
web-ci.yml Update Node.js version from 18.x to 20.x in CI pipelines (#22576) 2024-10-24 07:34:42 -07:00
win-ci.yml Build CUDA and DML together (#22602) 2024-10-31 15:51:13 -07:00
win-esrp-dll.yml Add DoEsrp Check for Signature Verification (#22570) 2024-10-24 16:55:36 +08:00
win-wasm-ci.yml Update Node.js version from 18.x to 20.x in CI pipelines (#22576) 2024-10-24 07:34:42 -07:00
win-web-ci.yml Update Node.js version from 18.x to 20.x in CI pipelines (#22576) 2024-10-24 07:34:42 -07:00
win-web-multi-browsers.yml Update Node.js version from 18.x to 20.x in CI pipelines (#22576) 2024-10-24 07:34:42 -07:00
windowsai-steps.yml Add pipauth to more ADO pipelines and enable CSV (#22612) 2024-10-28 16:39:22 -07:00
with-container-registry-steps.yml