当前位置: 首页 > wzjs >正文

企业网站的规划与建设ppt技术支持 创思佳网站建设

企业网站的规划与建设ppt,技术支持 创思佳网站建设,商务网站信息审核的重要性在于,重庆做网站建设公司说明 最近在ascend 310P3上使用mindie 1.0部署模型,跟我以前使用的mindie 1.0_rc2比,有很多新的特性和变化,导致部署出现了不少问题。这里罗列下我的发现,希望对其他人有用。 特性1:需要显式配置share_memory 报错信…

说明

最近在ascend 310P3上使用mindie 1.0部署模型,跟我以前使用的mindie 1.0_rc2比,有很多新的特性和变化,导致部署出现了不少问题。这里罗列下我的发现,希望对其他人有用。

特性1:需要显式配置share_memory

报错信息:

[2025-04-02 14:04:30.801+08:00] [63217] [63219] [server] [INFO] [share_memory.cpp:168] : [ShareMemory::SharedMemorySizeCheck] shared memory size check success.
[2025-04-02 14:04:30.826+08:00] [63217] [63219] [server] [ERROR] [share_memory.cpp:158] : [ShareMemory::SharedMemorySizeCheck]shared memory available is not enough on the filesystem.
[2025-04-02 14:04:30.826+08:00] [63217] [63219] [server] [ERROR] [share_memory.cpp:26] : [ShareMemory::Create]available shared memory size is not enough.
[2025-04-02 14:04:30.826+08:00] [63217] [63219] [server] [ERROR] [master_IPC_communicator.cpp:137] : Failed to create response shared memory
[2025-04-02 14:04:30.826+08:00] [63217] [63219] [server] [ERROR] [connector_launcher.cpp:143] : [ConnectorLauncher::Launch] Failed to setup message channel.
[2025-04-02 14:04:30.833+08:00] [63217] [63219] [server] [ERROR] [model_backend.cpp:230] : [ModelBackend::InstanceInit] Failed to launcher connector agent.
[2025-04-02 14:04:30.833276+08:00] [63217] [63219] [server] [ERROR] [llm_infer_model_instance.cpp:234] : [LLMInferModelInstance::Init] llmManager_ init fail!

解决办法:启动docker时显式配置share_memory

 docker run ...... --shm-size 10g ......

正确启动的相关打印:

[2025-04-02 14:53:47.319+08:00] [119] [121] [server] [INFO] [share_memory.cpp:167] : total shared memory size:10240MB, and available shared memory size:10240MB.
[2025-04-02 14:53:47.319+08:00] [119] [121] [server] [INFO] [share_memory.cpp:168] : [ShareMemory::SharedMemorySizeCheck] shared memory size check success.

特性2:模型目录下的config.json的权限必须为0750

报错信息:

Check path: config.json failed, by: Check Other group permission failed: Current permission is 4, but required no greater than 0. Required permission: 750, but got 644
Failed to check config.json under model weight path.
ERR: Failed to init endpoint! Please check the service log or console output.
Killed

解决办法:将config.json权限设置为0750

chmod 0750 /in/Qwen2.5-3B-Instruct/config.json

特性3:模型目录权限other group权限必须为0

报错信息:

[ERROR] [model_deploy_config.cpp:159] Failed to get vocab size from tokenizer wrapper with exception: PermissionError: The file should not be writable by others who are neither the owner nor in the group. Please check the input path:/invoker-deploy/Qwen_local_57_c7c2d6e7/in/Qwen2.5-3B-Instruct/generation_config.json, and change mode to 33277.The file should not be writable by others who are neither the owner nor in the group. Please check the input path:/invoker-deploy/Qwen_local_57_c7c2d6e7/in/Qwen2.5-3B-Instruct/model-00002-of-00002.safetensors, and change mode to 33277Check path: config.json failed, by: Check Other group permission failed: Current permission is 4, but required no greater than 0. Required permission: 750, but got 444
Failed to check config.json under model weight path.

解决办法:将other group权限清零,跟上面那样将整个目录权限设置为0750就可以

chmod 0750 /path/to/model/ -R

特性4: model_name不能包含特殊字符,只能包含[a-zA-Z0-9_.-]

报错信息:

The value of modelName must meet the following rules: The string length is [1, 256] and consists of a match of the type [a-zA-Z0-9_.-]. The first and last characters must be characters or digits.
ERR: Failed to init endpoint! Please check the service log or console output.

解决办法:config.json中的model_name不能包含特殊字符

特性5: mindie同一个模型可以配置多实例

可以通过mindie-server的配置文件config.json中的modelInstanceNumber来配置mindie启动多个实例
比如:

在这里插入图片描述
这时worldsize任然是1,但是会在2张卡上分别启动一个实例,对外的服务端口还是一个。2个实例都指定到一张卡上也是可以的,只要现存足够。

        "modelInstanceNumber": 2,"npuDeviceIds": [[0], [0]  #2个实例在同一张卡上],

特性6:使用openai接口访问,参数的model参数必须和config.json中的model_name一致。以前的版本不检查这个字段


文章转载自:

http://QracKrgV.rhfbL.cn
http://GkQ1V4dW.rhfbL.cn
http://Tlu2Ioa5.rhfbL.cn
http://aCSo4ftV.rhfbL.cn
http://oRaS9ryb.rhfbL.cn
http://Ksa4rUKy.rhfbL.cn
http://nPcjiSxs.rhfbL.cn
http://i7NcOepU.rhfbL.cn
http://l4pC45N1.rhfbL.cn
http://Wyg8yRZJ.rhfbL.cn
http://UX7CuA6m.rhfbL.cn
http://t8OOMhTU.rhfbL.cn
http://CNfbnzrW.rhfbL.cn
http://n8M39bRx.rhfbL.cn
http://VzdjTD04.rhfbL.cn
http://JqIdEGsl.rhfbL.cn
http://uuG4awbk.rhfbL.cn
http://D5F0CqZO.rhfbL.cn
http://DohjtqKW.rhfbL.cn
http://OJ7WW7pE.rhfbL.cn
http://qwDZb3eW.rhfbL.cn
http://VqWf3OdF.rhfbL.cn
http://mEFtiHfV.rhfbL.cn
http://ITNdeZXb.rhfbL.cn
http://hM2Ph96O.rhfbL.cn
http://shsjZt4M.rhfbL.cn
http://GdFJSeKI.rhfbL.cn
http://NmPH34sx.rhfbL.cn
http://UwMKukgN.rhfbL.cn
http://08XDRiJM.rhfbL.cn
http://www.dtcms.com/wzjs/741359.html

相关文章:

  • 网站建设公司唯美谷电脑上如何做网站宣传
  • 7网站建设1网站开发怎么谈
  • 企业手机网站模板下载北京网站建设策划排名
  • 长春网站制作的公司哪家好关键词搜索技巧
  • 锦州做网站公司公司电商网站开发方案
  • 中英文网站怎么做的网页设计心得体会结尾
  • 中职商务网站建设课件wordpress搜索页面
  • 抚州市建设局官网站建设电商网站需要多少钱
  • 最新军事动态最新消息视频搜索引擎广告优化
  • 如何网络推广推广乌海seo公司
  • 做网站开发 甲方提供资料软考证书有用吗张雪峰
  • 电子商务网站开发主要有哪些怎么用域名进网站
  • 教做网站的学校线上营销推广方式
  • 怎么自己做网站卡扣58同城通辽做网站
  • python做互金网站网站小程序开发公司
  • 手机网站免费制作网页游戏制作引擎
  • .net手机网站源码表白网站在线制作app
  • php网站开发实训报告书一个网站建设的课程设计书
  • 专业的基础微网站开发wordpress插件音乐
  • 做响应式网站图片需要做几版域名备案和网站备案
  • 农化网站建设敦化建设局网站
  • 做网站如何调字体格式枫树seo
  • 网站seo外包公司有哪些大学专业分类目录
  • 做外单网站有哪些公司如何搭建平台
  • 免费app制作网站建筑网课推荐
  • 站长工具seo综合网站怎么做伪静态页面
  • 网站开发课程有哪些电子商务有哪些工作岗位
  • 沙坪坝网站建设公司选哪家好电子商务网站建设答案
  • 网站备案 广东网站建设费属于哪个税种
  • 开源网站开发文档下载装修公司前十强排名榜