已合并
【bugfix】修复使用GLM-5-FP8权重量化时保存后处理报错 #226
zhangz200102创建于 3月17日
【bugfix】修复使用GLM-5-FP8权重量化时保存后处理报错 #226
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 zhangz200102 的贡献)ascend-robot
3月17日 评论:
3月17日 评论:
ascend-robot
3月17日 评论:
3月17日 评论:
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 |
|---|---|---|
| repo-Ascend/msmodelslim | ✅ rookie_hongchuan, libarry, joejoezhou (3/2) | ✅ joejoezhou (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
zhangz200102, thanks for your pull request. All authors of the commits have signed the CLA. 👍


3月17日 添加了label:ascend-cla/yes
ascend-robot
3月17日 评论:
3月17日 评论:
ascend-robot
3月17日 评论:
3月17日 评论:
Ascend docs pipeline is running...


3月17日 添加了label:docs-ci-pipeline-running
ascend-robot
3月17日 评论:
3月17日 评论:
✅ 跳过 docs ci 检查,没有需要检查的文档文件


3月17日 删除了label:docs-ci-pipeline-running
3月17日 添加了label:docs-ci-pipeline-success
zhangz200102
3月17日 评论:
3月17日 评论:
compile


ascend-robot
3月17日 评论:
3月17日 评论:
Ascend docs pipeline is running...


3月17日 删除了label:docs-ci-pipeline-success
3月17日 添加了label:docs-ci-pipeline-running
ascend-robot
3月17日 评论:
3月17日 评论:
✅ 跳过 docs ci 检查,没有需要检查的文档文件


3月17日 删除了label:docs-ci-pipeline-running
3月17日 添加了label:docs-ci-pipeline-success
3月17日 添加了label:ci-pipeline-running
3月17日 关联了issue:[Bug] 【自提】GLM-5-FP8权重量化时报错 FileNotFoundError
3月17日 删除了label:ci-pipeline-running
3月17日 添加了label:ci-pipeline-passed
ascend-robot
3月17日 评论:
3月17日 评论:
rookie_hongchuan
3月17日 评论:
3月17日 评论:
/lgtm


libowen
3月17日 评论:
3月17日 评论:
/lgtm


3月17日 添加了label:lgtm
joejoezhou
3月17日 评论:
3月17日 评论:
/approve


3月17日 添加了label:approved
ascend-robot
3月17日 评论:
3月17日 评论:
Review Guide
This pull-request passes review.
Committers who wrote a comment of /approve are: joejoezhou.
Reviewers who wrote a comment of /lgtm are: joejoezhou, rookie_hongchuan, libarry.


3月17日 合入了pull request
动机:当前glm5模型保存的后处理需要读取model.norm.weight去生成rot.safetensors用于解决mtp采信率低的问题,但在FP8原始权重上报错
解决方法:模型适配器中ascendv1_save_postprocess避免使用硬编码,读取原始权重的model.safetensors.index.json去获得model.norm.weight的路径索引
Changes to be committed:
modified: msmodelslim/model/glm_5/model_adapter.py