Traceback (most recent call last):
File "/home/qf/lyn/asr_benchmark/./models/funasr_nano.py", line 22, in
model = AutoModel(
File "/home/qf/.conda/envs/asr_benchmark/lib/python3.10/site-packages/funasr/auto/auto_model.py", line 125, in init
model, kwargs = self.build_model(**kwargs)
File "/home/qf/.conda/envs/asr_benchmark/lib/python3.10/site-packages/funasr/auto/auto_model.py", line 264, in build_model
assert model_class is not None, f'{kwargs["model"]} is not registered'
AssertionError: FunASRNano is not registered
https://github.com/modelscope/FunASR/issues/2741
同 #2794 的解决方案:从源码安装最新版 pip install git+https://github.com/modelscope/FunASR.git,并确保安装了 tiktoken 和 huggingface_hub。