-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
platform:webissues related to ONNX Runtime web; typically submitted using templateissues related to ONNX Runtime web; typically submitted using template
Description
Describe the issue
onnx runtime web loads the WASM-related JS and WASM files dynamically. The paths to the files are controlled by env.wasmPaths.
It would be helpful to have further control over the loading by allowing the developer to provide ArrayBuffers directly for the contents of the .mjs file and the .wasm file. (Maybe env.wasmFiles?).
You can already provide either a string path or an ArrayBuffer for the model you are loading, so this change would be aligned with that behavior.
To reproduce
N/A
Urgency
No response
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
onnxruntime-web 1.23.2
Execution Provider
'wasm'/'cpu' (WebAssembly CPU)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
platform:webissues related to ONNX Runtime web; typically submitted using templateissues related to ONNX Runtime web; typically submitted using template