ONNXRuntime-Node v1.21: "Specified device is not supported" Error on Ubuntu 22.04.4 LTS During session.run Execution #24264
Labels
platform:web
issues related to ONNX Runtime web; typically submitted using template
Problem description:
I encountered an issue with the onnxruntime-node package (version 1.21) installed via npm on Ubuntu 22.04.4 LTS and Node.js 22.13.0. The error occurs during the execution of an ONNX model using the session.run method. Specifically, the error message is:
terminate called after throwing an instance of 'Ort::Exception' what(): Specified device is not supported
This issue does not occur on Windows 10 , where everything works as expected. Downgrading to version 1.20.1 resolves the problem on Ubuntu.
Steps to reproduce
npm install onnxruntime-node
At this point application crashes:
terminate called after throwing an instance of 'Ort::Exception'
what(): Specified device is not supported
Urgency
No response
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.21.0
Execution Provider
cpu
The text was updated successfully, but these errors were encountered: