VLOG(1) << "[WebNN] No CPU execution provider available.";Since `SelectEpDeviceForCompiler()` filters out the default CPU EP before calling `SelectEpDevices()`, so it's normal to reach this line.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
LGTM with comments
VLOG(1) << "[WebNN] No CPU execution provider available.";Since `SelectEpDeviceForCompiler()` filters out the default CPU EP before calling `SelectEpDevices()`, so it's normal to reach this line.
Should the corresponding comment be updated accordingly?
if (support_it == offline_support.end()) {The old code logged which EP and why it failed (device type vs. device ID mismatch). Consider keeping them.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
VLOG(1) << "[WebNN] No CPU execution provider available.";Hu, NingxinSince `SelectEpDeviceForCompiler()` filters out the default CPU EP before calling `SelectEpDevices()`, so it's normal to reach this line.
Should the corresponding comment be updated accordingly?
Done
The old code logged which EP and why it failed (device type vs. device ID mismatch). Consider keeping them.
Got it, used VLOG(2) for them since these logs are a bit noisy. Also changed some other logs to VLOG(2) and added a VLOG(1) to print the selected EP device.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
LGTM
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |