Closed Single430 closed 3 weeks ago
We are no longer actively maintaining the mlc-MiniCPM repository, but the original repository for mlc-llm is still being updated continuously, so there may be some compatibility issues.
We recommend trying out our llama.cpp version:
We are no longer actively maintaining the mlc-MiniCPM repository, but the original repository for mlc-llm is still being updated continuously, so there may be some compatibility issues.
We recommend trying out our llama.cpp version:
I simply thought it was a TVM version issue, so all I needed to do was inform the version information
Previous we use mlc_ai-0.15.1-cp39-cp39-macosx_13_0_arm64.whl in https://mlc.ai/wheels.
Previous we use
mlc_ai-0.15.1-cp39-cp39-macosx_13_0_arm64.whl
Thank you, but Mac... That's it, thank you
Previous we use mlc_ai-0.15.1-cp39-cp39-macosx_13_0_arm64.whl in https://mlc.ai/wheels.
Thank you, but Mac... That's it, thank you
There are other platforms in https://mlc.ai/wheels.
Previous we use
mlc_ai-0.15.1-cp39-cp39-macosx_13_0_arm64.whl
Thank you, but Mac... That's it, thank you
There are other platforms in https://mlc.ai/wheels.
Okay, I'll give it a try next.
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
当前行为 | Current Behavior
执行:mlc_chat Traceback (most recent call last): File "/opt/conda/bin/mlc_chat", line 33, in sys.exit(load_entry_point('mlc-chat', 'console_scripts', 'mlc_chat')()) File "/opt/conda/bin/mlc_chat", line 25, in importlib_load_entry_point return next(matches).load() File "/opt/conda/lib/python3.10/importlib/metadata/init.py", line 171, in load module = import_module(match.group('module')) File "/opt/conda/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 992, in _find_and_load_unlocked File "", line 241, in _call_with_frames_removed File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/home/zbl/mlc-MiniCPM/python/mlc_chat/init.py", line 5, in from .chat_module import ChatConfig, ChatModule, ConvConfig, GenerationConfig File "/home/zbl/mlc-MiniCPM/python/mlc_chat/chatmodule.py", line 20, in from . import base as File "/home/zbl/mlc-MiniCPM/python/mlc_chat/base.py", line 28, in _LIB, _LIB_PATH = _load_mlc_llm_lib() File "/home/zbl/mlc-MiniCPM/python/mlc_chat/base.py", line 23, in _load_mlc_llm_lib return ctypes.CDLL(lib_path[0]), lib_path[0] File "/opt/conda/lib/python3.10/ctypes/init.py", line 374, in init self._handle = _dlopen(self._name, mode) OSError: /home/zbl/mlc-MiniCPM/build/libmlc_llm_module.so: undefined symbol: _ZN3tvm7runtime7NDArray10CreateViewENS0_10ShapeTupleE10DLDataType
期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
备注 | Anything else?
Any other relevant information: Additional context ` root@b1b15d01e7b0:/home/zbl/mlc-MiniCPM# ldd build/libmlc_llm_module.so linux-vdso.so.1 (0x00007ffd3194c000) libtvm.so => /home/zbl/mlc-MiniCPM/build/tvm/libtvm.so (0x00007faa72c6d000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007faa72c5c000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007faa72c39000) libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007faa72a57000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007faa72908000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007faa728eb000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007faa726f9000) /lib64/ld-linux-x86-64.so.2 (0x00007faa736ed000)
root@b1b15d01e7b0:/home/zbl/mlc-MiniCPM# ldd build/libmlc_llm.so linux-vdso.so.1 (0x00007ffe97384000) libtvm_runtime.so => /home/zbl/mlc-MiniCPM/build/tvm/libtvm_runtime.so (0x00007fca4d9a8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fca4d997000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fca4d974000) libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fca4d792000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fca4d643000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fca4d626000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fca4d434000) /lib64/ld-linux-x86-64.so.2 (0x00007fca4e428000)
root@b1b15d01e7b0:/home/zbl/mlc-MiniCPM# nm build/tvm/libtvm.so | grep _ZN3tvm7runtime9BacktraceB5cxx11Ev 00000000001159f0 T _ZN3tvm7runtime9BacktraceB5cxx11Ev