onnxruntime_providers_cuda.dll Error in Windows 10 and 11: CUDA provider load errors

CPU inference succeeds but selecting CUDA fails or logs a provider library load error.
What this DLL does
This ONNX Runtime Windows library supplies its CUDA execution provider in compatible GPU builds.
Start with this check
Check the ONNX Runtime provider’s requirement for GPU driver, CUDA, and cuDNN. Verify the application’s environment owns the expected set of libraries.
Record the exact error, when it occurred, and the full module path if available. For a crash, open View reliability history from Start and look for the matching entry. The affected app, faulting module and exception code help distinguish an app problem from a system-wide one.
A working NVIDIA GPU in another app does not verify this program’s CUDA or cuDNN version. Compare against the ONNX Runtime provider’s documented compatibility table.
Choose the repair that fits
Repair the supported GPU distribution and its matching dependencies through the publisher. Keep a working CPU option available during testing if the app supports it.
Start with Microsoft’s app repair options if only one supported application fails. If unrelated built-in Windows features also fail and you suspect system file corruption, use Microsoft’s DISM and System File Checker instructions. Use supported packages and avoid downloading individual DLL files.
Verify the repair
Run a short inference test and confirm the app reports CUDA as active.
For a related check, see nvcuda.dll troubleshooting. Browse the DLL Errors & Fixes Library. Official reference: ONNX Runtime CUDA provider compatibility.