已合并
msmodelslim gitee已经暂停,现在采用gitcode中的msmodelslim的链接 #8064
wmg1创建于 7月29日
msmodelslim gitee已经暂停,现在采用gitcode中的msmodelslim的链接 #8064
已合并
wmg1创建于 7月29日
wmg1
wmg1
7月29日

描述

msmodelslim gitee已经暂停,现在采用gitcode中的msmodelslim的链接

关联的Issue

https://gitcode.com/cann/ops-nn/issues/4415

测试

文档更新

matmul/matmul_compress/docs/aclnnMatmulCompress.md
matmul/matmul_v2_compress_dequant/docs/aclnnMatmulCompressDequant.md

类型标签

AI/Agent生成声明

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 wmg1 的贡献)
wmg1wmg1
7月29日 创建了 pull request,commit fe94506d
atomgit-bot
atomgit-bot
7月29日 评论:

变更摘要

该 PR 是一个针对 9.1.0 分支的小型修复(分支名 link_fix_9_1),共涉及 2 个文件、2 行新增与 2 行删除。由于 PR 描述未提供详细说明且未嵌入具体补丁内容,无法确定改动的具体代码逻辑。

主要改动

  • 链接相关修复:根据分支名 link_fix_9_1 推断,本次改动很可能修复了与链接(link)相关的某个问题,涉及 2 个文件的微小调整(+2/−2 行)
  • 针对 9.1.0 版本:该修复的目标分支为 9.1.0,表明这是一个针对特定版本的补丁修复
likedislike
atomgit-bot
atomgit-bot
7月29日 评论:

代码审查

我已经仔细审查了这两个文档文件的变更。以下是我的分析:


审查分析

变更内容

两个文件中的变更完全一致:将已废弃的 Gitee 仓库链接更新为 Gitcode 上的新仓库链接,同时更新了文档内指引的具体路径。

文件 1:matmul/matmul_compress/docs/aclnnMatmulCompress.md(第 287 行)

  • 旧:[Gitee msit仓](https://gitee.com/ascend/msit/tree/master/msmodelslim) → 路径 msmodelslim/pytorch/weight_compression/README.md
  • 新:[Gitcode msmodelslim仓](https://gitcode.com/Ascend/msmodelslim) → 路径 docs\zh\user_guide\traditional_quantization_v0/foundation_model_compression.md 第5条

文件 2:matmul/matmul_v2_compress_dequant/docs/aclnnMatmulCompressDequant.md(第 342 行)

  • 同上变更。

审查结论

  1. 安全性:新链接 https://gitcode.com/Ascend/msmodelslim 指向华为昇腾(Ascend)官方组织在 Gitcode 平台上的仓库,与旧链接 gitee.com/ascend/msit 同属官方渠道,不存在引导用户访问恶意站点或下载不受信任代码的风险。

  2. 正确性:该变更是对 Issue #4415("msmodelslim gitee已经暂停,现在采用gitcode中的msmodelslim的链接")的直接响应,将已停用的 Gitee 链接替换为当前有效的 Gitcode 链接,逻辑正确。

  3. 无危险操作指令:变更中不包含 chmod 777、禁用 TLS、暴露明文密钥、绑定 0.0.0.0 等危险配置。

  4. 无供应链误导:未推荐安装可疑依赖或未锁定版本的包。


总结

优先级 数量
P0 0
P1 0
P2 0
P3 0
  • matmul/matmul_compress/docs/aclnnMatmulCompress.md无问题
  • matmul/matmul_v2_compress_dequant/docs/aclnnMatmulCompressDequant.md无问题

整体风险评估:此变更为纯粹的文档链接更新,风险极低。变更内容与关联 Issue 描述一致,无安全、正确性或可靠性方面的隐患。

类型 数量
🔴 阻塞 0
🟡 建议 2

💬 仅评论

likedislike
CANN-robotCANN-robot成员
7月29日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
7月29日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here
You can get sig-info at here


PR Approval Progress

Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
*/*/docs/acl*.md 蔡雯雯, 吴瑶 (2/2) 蔡雯雯, 吴瑶 (2/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

wmg1, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robot成员
7月29日 将zengjuan,crystalhu,yangyang016,fanqirui,gitee-duhuiping,chenqi317,jiangtao_rts,liubo75,tangweiwei2,gitcode-chenjiao,hanxiaolong,zhouwenfang,wuyao51511,gcw_kUomxQ2l,Andy-lb,caiwenwen设为评审人
CANN-robotCANN-robot成员
7月29日 将gitee-duhuiping,gitcode-chenjiao,zhouwenfang,wuyao51511,caiwenwen设为审查人
wmg1wmg1
7月29日 修改标题为 “msmodelslim gitee已经暂停,现在采用gitcode中的msmodelslim的链接”,原标题为“fix”
wmg1wmg1
7月29日 修改了pull request 的描述
wmg1
wmg1
7月29日 评论:

compile

likedislike
wmg1wmg1
7月29日 update merge request[project id: 7665709, iid: 8064, commit_id: b1478e26f5b48df0e61e5c4e1a3ac29606e51700] virtual merging success
wmg1wmg1
7月29日 修改了pull request 的描述
CANN-robotCANN-robot成员
7月29日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
7月29日 评论:

流水线任务触发成功
任务链接 [68545ba1f30b43bda051deecc04506c6][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_950 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_950 ✅ SUCCESS >>>>> >>>>>
Compile_Pre ✅ SUCCESS >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910b ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910c ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_950 ✅ SUCCESS >>>>> >>>>>
UT_Test_ophost ✅ SUCCESS
UT_Test_opapi ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
UT_Test_opgraph ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>

[2026-07-29 15:56:40]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
7月29日 评论:

流水线任务触发成功
任务链接 [87ff04353fa544e08a71dbe99248c688][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_checkpr ✅ SUCCESS
StaticCheck_codespell_check ⚠️ WARNING >>>>>
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_style ✅ SUCCESS >>>>>
codecheck_precommit ⚠️ WARNING >>>>> >>>>>
SCA ✅ SUCCESS >>>>>

[2026-07-29 15:48:37]    CI执行结束

likedislike
CANN-robotCANN-robot成员
7月29日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
7月29日 添加了label:ci-pipeline-passed
唐超成员
7月29日 评论:

/lgtm
/approve

likedislike
CANN-robot
CANN-robot成员
7月29日 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
唐超

likedislike
CANN-robot
CANN-robot成员
7月29日 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
唐超

likedislike
atomgit-bot
atomgit-bot7月29日进行代码检视3
matmul/matmul_v2_compress_dequant/docs/aclnnMatmulCompressDequant.md
已过期
@@ -340,3 +340,3 @@
340340 - **原始权重通过msModelSlim压缩工具生成压缩后的x2、compressIndex以及compressInfo**
341341
342- 使用以下接口时,需对CANN包中msModelSlim压缩工具进行编译,具体操作参考[Gitee msit仓](https://gitee.com/ascend/msit/tree/master/msmodelslim)中msmodelslim/pytorch/weight_compression目录下的README.md。
342+ 使用以下接口时,需对CANN包中msModelSlim压缩工具进行编译,具体操作参考[Gitcode msmodelslim仓](https://gitcode.com/Ascend/msmodelslim)中docs\zh\user_guide\traditional_quantization_v0目录下的foundation_model_compression.md中第5条,权重压缩基本使用流程
atomgit-bot
atomgit-bot7月29日评论:

🟡 Medium Priority

变更后的路径描述使用了反斜杠 docs\zh\user_guide\traditional_quantization_v0\foundation_model_compression.md

在 Markdown 中,\t 是制表符(TAB)的转义序列,\f 是换页符(FORM FEED)的转义序列。因此该路径在渲染时可能出现乱码,导致用户无法正确识别文件路径。

同一仓库其他文档中路径均使用正斜杠(如 docs/zh/context/...),此处应保持一致。

建议:将路径中的反斜杠 \ 全部替换为正斜杠 /docs/zh/user_guide/traditional_quantization_v0/foundation_model_compression.md

改动建议
342
- 使用以下接口时,需对CANN包中msModelSlim压缩工具进行编译,具体操作参考[Gitcode msmodelslim仓](https://gitcode.com/Ascend/msmodelslim)中docs\zh\user_guide\traditional_quantization_v0目录下的foundation_model_compression.md中第5条,权重压缩基本使用流程。
342
+ 使用以下接口时,需对CANN包中msModelSlim压缩工具进行编译,具体操作参考[Gitcode msmodelslim仓](https://gitcode.com/Ascend/msmodelslim)中docs/zh/user_guide/traditional_quantization_v0目录下的foundation_model_compression.md中第5条,权重压缩基本使用流程。
应用建议
likedislike
System
系统消息系统
7月29日 评论:

changed this line on 77e9ccaa view diff detail

wmg1
wmg1
7月29日 评论:

已修复

atomgit-bot
atomgit-bot7月29日进行代码检视3
matmul/matmul_compress/docs/aclnnMatmulCompress.md
已过期
@@ -285,3 +285,3 @@
285285 
286286 **原始权重通过msModelSlim压缩工具生成压缩后的x2、compressIndex以及compressInfo:**
287- 使用以下接口时,需对CANN包中msModelSlim压缩工具进行编译,具体操作参考[Gitee msit仓](https://gitee.com/ascend/msit/tree/master/msmodelslim)中msmodelslim/pytorch/weight_compression目录下的README.md。
287+ 使用以下接口时,需对CANN包中msModelSlim压缩工具进行编译,具体操作参考[Gitcode msmodelslim仓](https://gitcode.com/Ascend/msmodelslim)中docs\zh\user_guide\traditional_quantization_v0目录下的foundation_model_compression.md中第5条,权重压缩基本使用流程
atomgit-bot
atomgit-bot7月29日评论:

🟡 Medium Priority

变更后的路径描述使用了反斜杠 docs\zh\user_guide\traditional_quantization_v0\foundation_model_compression.md

在 Markdown 中,\t 是制表符(TAB)的转义序列,\f 是换页符(FORM FEED)的转义序列。因此该路径在渲染时可能出现乱码,例如 docs\zh\user_guide<TAB>raditional_quantization_v0<FF>oundation_model_compression.md,导致用户无法正确识别文件路径。

同一仓库其他文档中路径均使用正斜杠(如 docs/zh/context/...),此处应保持一致。

建议:将路径中的反斜杠 \ 全部替换为正斜杠 /docs/zh/user_guide/traditional_quantization_v0/foundation_model_compression.md

改动建议
287
- 使用以下接口时,需对CANN包中msModelSlim压缩工具进行编译,具体操作参考[Gitcode msmodelslim仓](https://gitcode.com/Ascend/msmodelslim)中docs\zh\user_guide\traditional_quantization_v0目录下的foundation_model_compression.md中第5条,权重压缩基本使用流程。
287
+ 使用以下接口时,需对CANN包中msModelSlim压缩工具进行编译,具体操作参考[Gitcode msmodelslim仓](https://gitcode.com/Ascend/msmodelslim)中docs/zh/user_guide/traditional_quantization_v0目录下的foundation_model_compression.md中第5条,权重压缩基本使用流程。
应用建议
likedislike
System
系统消息系统
7月29日 评论:

changed this line on 77e9ccaa view diff detail

wmg1
wmg1
7月29日 评论:

已修复

wmg1wmg1
7月29日 update merge request[project id: 7665709, iid: 8064, commit_id: fda2dcd3c90006fd9ae6a9aef5caa682dfd063a4] virtual merging success
wmg1wmg1
7月29日 推送  1 个提交:77e9ccaa-fix doc
wmg1wmg1
7月29日 update merge request[project id: 7665709, iid: 8064, commit_id: f8824ed46e03eddb250f568ecca6572e9bc73355] virtual merging success
CANN-robotCANN-robot成员
7月29日 添加了label:stat/needs-squash
CANN-robotCANN-robot成员
7月29日 删除了label:ci-pipeline-passed
CANN-robot
CANN-robot成员
7月29日 评论:

Notification

This pull request has been changed(code update) or closed, so removes the following label(s): ci-pipeline-passed.

likedislike
wmg1
wmg1
7月29日 评论:

compile

likedislike
wmg1wmg1
7月29日 update merge request[project id: 7665709, iid: 8064, commit_id: f5212f566edcfde066ee044caeef77486eda84c0] virtual merging success
CANN-robotCANN-robot成员
7月29日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
7月29日 评论:

流水线任务触发成功
任务链接 [15ab6062e288418ba8a01d40e841376c][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_950 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_950 ✅ SUCCESS >>>>> >>>>>
Compile_Pre ✅ SUCCESS >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910b ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910c ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_950 ✅ SUCCESS >>>>> >>>>>
UT_Test_ophost ✅ SUCCESS
UT_Test_opapi ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
UT_Test_opgraph ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>

[2026-07-29 16:29:22]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
7月29日 评论:

流水线任务触发成功
任务链接 [fa4f50bdee664b5485bba9dfe71513b4][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_checkpr ✅ SUCCESS
StaticCheck_codespell_check ⚠️ WARNING >>>>>
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_style ✅ SUCCESS >>>>>
codecheck_precommit ⚠️ WARNING >>>>> >>>>>
SCA ✅ SUCCESS >>>>>

[2026-07-29 16:21:35]    CI执行结束

likedislike
CANN-robotCANN-robot成员
7月29日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
7月29日 添加了label:ci-pipeline-passed
吴瑶成员
7月29日 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
7月29日 添加了label:approved
Lllqx-1成员
7月29日 解决了最后一个问题
caiwenwen成员
7月29日 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
7月29日 添加了label:lgtm
CANN-robotCANN-robot成员
7月29日 关闭了关联的issue
CANN-robotCANN-robot成员
7月29日 合入了pull request
CANN-robot
CANN-robot成员
7月29日 评论:

Pull Request 已合并或已关闭。

If you want to solve this problem, you can click here to do it in the FAQs.

likedislike