Skip to content

执行mllm-convertor --help报错,pymllm报错 #565

@singlecatlmx

Description

@singlecatlmx

安装QNN和Hexagon NPU SDK,设置了环境变量。
bash ./scripts/install_pymllm.sh安装pymllm后,执行mllm-convertor --help报错
Traceback (most recent call last):
File "/home/lmx/Softwares/anaconda3/envs/qnn/bin/mllm-convertor", line 3, in
from pymllm.utils.mllm_convertor import main
File "/home/lmx/Softwares/anaconda3/envs/qnn/lib/python3.10/site-packages/pymllm/init.py", line 6, in
from . import ffi
File "/home/lmx/Softwares/anaconda3/envs/qnn/lib/python3.10/site-packages/pymllm/ffi/init.py", line 324, in
class QnnDeviceAndContext(tvm_ffi.Object):
File "/home/lmx/Softwares/anaconda3/envs/qnn/lib/python3.10/site-packages/tvm_ffi/registry.py", line 56, in register
raise ValueError(f"Cannot find object type index for {object_name}")
ValueError: Cannot find object type index for mllm.qualcomm.QnnDeviceAndContext

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions