microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.77k stars 2.94k forks source link

Fix CUDA/DML package exception caused by ENABLE_CUDA_NHWC_OPS #22851

Closed mszhanyi closed 4 days ago

mszhanyi commented 1 week ago

Description

Now, ENABLE_CUDA_NHWC_OPS is enabled by default. It adds a new chance to create cuda provider while both cuda/dml are enabled

Motivation and Context

snnn commented 6 days ago

The "CUDA-Zip-Nuget-Java-Packaging-Pipeline" still fails.

mszhanyi commented 6 days ago

The "CUDA-Zip-Nuget-Java-Packaging-Pipeline" still fails.

The windows CUDA tests passed