[Node.js] Support for loading models with external data in onnxruntime-node
#18586
Labels
platform:web
issues related to ONNX Runtime web; typically submitted using template
Describe the issue
When I try to load a model with external data using
onnxruntime-node
, I get:External files are located at the same directory as the
.onnx
file. I also tried positioning the Node.js script file at the same directory as the model (current working directory), and still getting the same error. The model loads fine in Python.I found existing issues about support in
onnxruntime-web
, like #13006, #17151 and the recent pull request #18535 that attempts to address it.However, I found no mention on support for large models in
onnxruntime-node
. Does it already exist? I haven't managed to get it to work, and there is no hint on the Node.js API or its source code that external files are loaded automatically?Since
onnxruntime-node
is based on C (NAPI) binding, I believe it's not bound by the limitations of WASM? So, if it's not currently supported, could it be added?To reproduce
Urgency
No response
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.16.3
Execution Provider
Other / Unknown
The text was updated successfully, but these errors were encountered: