-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Labels
staleissues that have not been addressed in a while; categorized by a botissues that have not been addressed in a while; categorized by a bot
Description
Describe the issue
onnxruntime can be built with a number of Execution Providers. Let's take CUDA as example. At runtime CUDA is appended as EP to the session options. But if the hardware does not have CUDA and cuDNN drivers installed, Ort::Session() will fail. Is there an elegant way to check the hardware capability before adding an EP and deal with error handling?
To reproduce
That's a query
Urgency
No response
Platform
Linux
OS Version
20.04
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.18
ONNX Runtime API
C++
Architecture
X64
Execution Provider
CUDA
Execution Provider Library Version
No response
Metadata
Metadata
Assignees
Labels
staleissues that have not been addressed in a while; categorized by a botissues that have not been addressed in a while; categorized by a bot