videetparekh commented on issue #4843: Emscripten Runtime Error while linking URL: https://github.com/apache/incubator-tvm/issues/4843#issuecomment-588402394 Hi Tianqi, Not sure which thread you're referring to. I've managed to compile a Mobilenet TensorFlow model down through TVM to `.wasm` and `.js` files (the JS file being a wrapper over the `wasm`). This includes `SIMD` instructions, using vanilla upstream LLVM. I'd be happy to share details on how to get there, hopefully it'll add value to someone out there. I'm struggling now with the `tvm_runtime.js` to ingest the module and infer using it. It seems Emscripten changed their API interface in 2018, and those changes broke TVM code in the `tvm_runtime.js`. So far this is a blocking error: ``` Assertion failed: Missing signature argument to addFunction Assertion failed: Missing signature argument to addFunction RuntimeError: abort(Assertion failed: Missing signature argument to addFunction). Build with -s ASSERTIONS=1 for more info. at abort (.../test_module.js:1:15394) at assert (.../test_module.js:1:7675) at addFunctionWasm (.../test_module.js:1:5852) at Object.addFunction (.../test_module.js:1:6047) at Object.TVMRuntime (.../tvm_runtime.js:526:36) at Object.create (.../tvm_runtime.js:1262:16) at Object.<anonymous> (.../test.js:8:25) at Module._compile (internal/modules/cjs/loader.js:936:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10) at Module.load (internal/modules/cjs/loader.js:790:32) ``` Will TVM reviving support for WASM/emcc anytime soon? Where are your efforts currently and what kind of support do you require?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
