-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
I encountered an error after compiling a WebAssembly (Wasm) format using mlc-llm. The error message I received is as follows:
Init error, LinkError: WebAssembly.instantiate(): Import #2 module="env" function="_ZN3tvm7runtime15NVTXScopedRangeD1Ev" error: function import requires a callable
I've uploaded the compilation artifacts to the following locations:
Hugging Face Model Hub: Link
GitHub Repository: Link
The webllm npm server does not load when using the wasm file provided in my GitHub. However, when I replace only the wasm file with the wasm from mlc-ai repository and keep the rest of the Hugging Face model, the server can load the model. Here is the replacement wasm file link:
I'm wondering if this issue might be related to the version of emcc or my environment. I'm using a MacBook with a silicon chip.