一、模型下载
https://modelscope.cn/home
下载地址:https://modelscope.cn/home
二、服务器驱动/固件安装
驱动/固件下载地址:
https://www.hiascend.com/hardware/firmware-drivers/community?product=1&model=23&cann=All&driver=1.0.21.alpha
驱动/固件安装地址:
https://www.hiascend.com/document/detail/zh/Atlas%20200I%20A2/24.1.0/ep/installationguide/Install_10.html
安装完成后执行npu-smi info验证
三、mindie推理框架下载
下载地址:
https://www.hiascend.com/developer/ascendhub/detail/af85b724a7e5469ebd7ea13c3439d48f
四、本地部署
1、修改模型配置文件
修改模型config.json权限
进入到模型根目录
chmod 640 config.json
不修改启动模型会报错
2、修改模型config.json文件
修改模型config.json
“torch_dtype”: “bfloat16” ------更改为