Pull Request已成功合入, 合并人@CANN-robot
(感谢 wmg1 的贡献)代码审查
我已经仔细审查了这两个文档文件的变更。以下是我的分析:
审查分析
变更内容
两个文件中的变更完全一致:将已废弃的 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 行)
- 同上变更。
审查结论
-
安全性:新链接
https://gitcode.com/Ascend/msmodelslim指向华为昇腾(Ascend)官方组织在 Gitcode 平台上的仓库,与旧链接gitee.com/ascend/msit同属官方渠道,不存在引导用户访问恶意站点或下载不受信任代码的风险。 -
正确性:该变更是对 Issue #4415("msmodelslim gitee已经暂停,现在采用gitcode中的msmodelslim的链接")的直接响应,将已停用的 Gitee 链接替换为当前有效的 Gitcode 链接,逻辑正确。
-
无危险操作指令:变更中不包含
chmod 777、禁用 TLS、暴露明文密钥、绑定0.0.0.0等危险配置。 -
无供应链误导:未推荐安装可疑依赖或未锁定版本的包。
总结
| 优先级 | 数量 |
|---|---|
| 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 |
💬 仅评论


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
/approveor/lgtm- Commenting
/approveimplies 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. 👍


compile


流水线任务触发成功
任务链接 [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执行结束


流水线任务触发成功
任务链接 [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执行结束


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


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


🟡 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 |
|
342 | + 使用以下接口时,需对CANN包中msModelSlim压缩工具进行编译,具体操作参考[Gitcode msmodelslim仓](https://gitcode.com/Ascend/msmodelslim)中docs/zh/user_guide/traditional_quantization_v0目录下的foundation_model_compression.md中第5条,权重压缩基本使用流程。 |


changed this line on 77e9ccaa view diff detail
🟡 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 |
|
287 | + 使用以下接口时,需对CANN包中msModelSlim压缩工具进行编译,具体操作参考[Gitcode msmodelslim仓](https://gitcode.com/Ascend/msmodelslim)中docs/zh/user_guide/traditional_quantization_v0目录下的foundation_model_compression.md中第5条,权重压缩基本使用流程。 |


changed this line on 77e9ccaa view diff detail
compile


流水线任务触发成功
任务链接 [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执行结束


流水线任务触发成功
任务链接 [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执行结束


Pull Request 已合并或已关闭。
If you want to solve this problem, you can click here to do it in the FAQs.


描述
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生成声明