mlc-llm icon indicating copy to clipboard operation
mlc-llm copied to clipboard

Error: Cannot find PackedFunc vm.builtin.null_value in either Relax VM kernel library

Open CurryFRice opened this issue 2 years ago • 1 comments

when i run mlc_chat_cli, occurs the error on mac m1

/Users/jshao/Projects/mlc-ai-utils/tvm/src/runtime/metal/metal_device_api.mm:165: Intializing Metal device 0, name=Apple M1 Initializing the chat module... [15:54:34] /Users/jshao/Projects/mlc-ai-utils/tvm/src/runtime/relax_vm/vm.cc:768:

An error occurred during the execution of TVM. For more information, please see: https://tvm.apache.org/docs/errors.html

Check failed: (func.defined()) is false: Error: Cannot find PackedFunc vm.builtin.null_value in either Relax VM kernel library, or in TVM runtime PackedFunc registry, or in global Relax functions of the VM executable

CurryFRice avatar May 10 '23 08:05 CurryFRice

I have encountered the same problem this morning. I tried to run conda install -c mlc-ai -c conda-forge mlc-chat-nightly again, it updated mlc-chat-nightly and finally worked

cgsvv avatar May 11 '23 10:05 cgsvv

closing as the latest version resolved the problem.

tqchen avatar May 27 '23 14:05 tqchen