How to compile Ort to WASM with a custom ONNX runtime? #231
Unanswered
smallbraingames
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use onnx's minimal build runtime with SIMD in WASM to accelerate inference. I've built that (following the info here, and then attempted to link to ort with
ORT_LIB_LOCATION=~/onnxruntime/build/MacOS/Release wasm-pack built --target web
However, this doesn't package onnxruntime into the binary (the binary size drops by 6 mb to ~900kb) like it does with the prebuilt binaries. How can I specify the lib location?
Beta Was this translation helpful? Give feedback.
All reactions