2.0.T3.1-800I-A2-py311-openeuler24.03-lts-arm64环境推理模型报错
收藏回复举报
2.0.T3.1-800I-A2-py311-openeuler24.03-lts-arm64环境推理模型报错
t('forum.solved') 已解决
新人帖
发表于2025-04-21 14:08:23
0 查看

镜像:2.0.T3.1-800I-A2-py311-openeuler24.03-lts-arm64

推理模型:DeepSeek-R1-BF16

NPU:昇腾910B2

模型文件与权限没有问题,./mindieservice_daemon 拉起服务,报错信息如下:

 Failed to get vocab size from tokenizer wrapper with exception: ValueError: safe_get_tokenizer_from_pretrained failed. Please check the input parameters model_path and kwargs. If the input parameters are valid and the required files exist in model_path, make sure the folder's owner has execute permission. Otherwise, please check the function stack for detailed exception information. 

/usr/local/Ascend/mindie/latest/mindie-service/conf/config.json中给出的“modelWeightPath”路径配置正确

若您正在使用的版本,/usr/local/Ascend/mindie/latest/mindie-service/conf/config.json存在“trustRemoteCode”字段配置为true。

不知道哪里有问题,大佬帮分析下。

我要发帖子