-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
ep:DMLissues related to the DirectML execution providerissues related to the DirectML execution providerep:OpenVINOissues related to OpenVINO execution providerissues related to OpenVINO execution provider
Description
On my device with the Intel CPU, and both NVIDIA and Intel GPUs, if the DML EP and OpenVINO EP are both registered, PreferGpuEpPolicy::SelectProvidersForDevices will select three EP devices: DML GPU for NVIDIA, OpenVINO CPU for Intel and default ORT CPU during the session initialization. But the InferenceSession::HasInvalidCombinationOfExecutionProviders method rejects the combination of DML EP with OpenVINO EP, and reports error: "DML EP can be used with only CPU EP." which causes session initialization to fail.
- Is it true that DML EP can only be used with the default CPU EP?
- If so, why not reject the combination in PreferGpuEpPolicy::SelectProvidersForDevices earlier? It doesn't make sense an invalid combination can be created and then be rejected with an error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ep:DMLissues related to the DirectML execution providerissues related to the DirectML execution providerep:OpenVINOissues related to OpenVINO execution providerissues related to OpenVINO execution provider