You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have setup mlc-llm with latest to compile my models, however they do not work.
Uncaught (in promise) LinkError: WebAssembly.instantiate(): Import #4 "env" "_ZN3mlc3llm5serve16JSONSchemaToEBNFENSt3__212basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS2_8optionalIiEENS9_INS2_4pairIS8_S8_EEEEb": function import requires a callable
We recently used EMCC to include runtime code from https://github.com/mlc-ai/mlc-llm into the model WASM; as of now mainly for the grammar usages. Currently, I am prioritizing to ensure users who use the prebuilt models have a smooth experience. For instance, we introduced wasm versioning.
For compiling a customized model, as a current workaround, using the commits specified in the WASM version PRs should guarantee a working WASM (though admittedly a bit inconvenient):
I have setup mlc-llm with latest to compile my models, however they do not work.
How to reproduce:
clone phi-2
Ouput:
If I point the wasm to mlc's phi-2 it works.
The text was updated successfully, but these errors were encountered: