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

青岛网站制作推广平台搜索优化指的是什么

青岛网站制作推广平台,搜索优化指的是什么,建立app,上海原单外贸一条街说明 最近在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://www.dtcms.com/wzjs/521636.html

相关文章:

  • 医药网站模板青岛seo网站建设公司
  • 日本做h动漫电影网站有哪些软文推广广告公司
  • 网站建设怎么收费百度站长平台提交网站
  • 手机网站搭建教程烟台seo关键词排名
  • 抚州网站建设深圳seo排名
  • 柳州团购网站建设百度seo如何快速排名
  • 邢台网站制作市场新冠疫情最新消息今天公布
  • 网站建设快速seo培训公司
  • 网站关键词百度排名在下降seo优化方法
  • 在电脑上怎么做网站巨量关键词搜索查询
  • wordpress 收录少网站关键词排名怎么优化
  • 上虞网站建设个人推广网站
  • 外国网站在中国做推广搜索引擎优化技术
  • 公司网站托管网络营销软文范例300
  • 龙岗做网站的公司全网媒体发布平台
  • 网站开发最新架构百度推广优化排名
  • wordpress 标题重复长沙seo报价
  • 重庆九龙坡营销型网站建设公司推荐重庆高端seo
  • 网站最新一次改版时间什么意思免费宣传网站
  • 中英文切换的网站怎么做的建设一个网站的具体步骤
  • 有域名后续怎么做网站自媒体seo是什么意思
  • 工程建设资质单位网站如何在百度上做广告宣传
  • 医院网站建设公司新东方烹饪学校学费一年多少钱
  • 长沙网站设计培训网络营销学什么内容
  • 张家口网站建设哪家服务好培训学校招生方案范文
  • 邢台企业做网站推广网站推广如何做
  • 保存的密码变成乱码太原seo排名收费
  • 芜湖网站建设百度指数功能模块有哪些
  • 网站网页制作机构网络推广优化
  • 卖掉的网站了对方用来做违法珠海网站设计