文件最后提交记录最后更新时间
【bugfix】补充qwen3-vl-moe的依赖信息,精简依赖校验失败警告信息 Co-authored-by: libarry<870390541@qq.com> # message auto-generated for no-merge-commit merge: !508 merge bugfix/req into master 【bugfix】补充qwen3-vl-moe的依赖信息,精简依赖校验失败警告信息 Created-by: libarry Commit-by: libarry Merged-by: ascend-robot Description: ## PR描述 (What this PR does / why we need it?) 1、补充qwen3-vl-moe的依赖信息,与资料一致 2、精简警告提示的信息 3、只提示检查失败的依赖信息 ![image.png](https://raw.gitcode.com/user-images/assets/8444818/577eb1af-da4c-4334-88fa-58254c372795/image.png 'image.png') ## 面向用户的变更 (Does this PR introduce _any_ user-facing change)? - 请注意,这里指的是**任何**面向用户的变更,包括但不限于API、用户界面或其他使用方式上的变更。 - Note that it means *any* user-facing change including all aspects such as API, interface or other behavior changes. ## 功能验证 (How was this patch tested?) 请确认CI已通过增量及存量的单元测试用例。 如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤(最好提供完整的可复现的操作路径及关键截图),以便Committer能够快速复现验证,也便于后续的维护。 如果未添加测试,请说明未添加的原因,以及为何难添加测试。 - [_] 功能自验 - [_] 本地自验截图(涉及个人标识符等敏感信息请注意脱敏) - [_] 新增/变更内容是否已新增/适配UT测试用例看护 CI passed with new added/existing test. If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future. If tests were not added, please describe why they were not added and/or why it was difficult to add. - [_] Self-verification of the feature. - [_] Screenshot of local self-verification (please anonymize any sensitive information such as personal identifiers) - [_] Have new or modified unit test (UT) cases been added or adapted to cover the newly added or changed content? See merge request: Ascend/msmodelslim!50813 小时前
【test】add qwen1_5 UT Co-authored-by: sunny<sunyu_0904@163.com> # message auto-generated for no-merge-commit merge: !480 merge feature/supplement-unit-tests-qwen1_5 into master 【test】add qwen1_5 UT Created-by: sunny_infra Commit-by: sunny Merged-by: ascend-robot Description: 感谢您贡献的Pull Request! 在提交之前,请务必阅读 [CONTRIBUTING.md](https://gitcode.com/Ascend/msmodelslim/blob/master/CONTRIBUTING.md)。 Thanks for sending a pull request! BEFORE SUBMITTING, PLEASE READ [CONTRIBUTING.md](https://gitcode.com/Ascend/msmodelslim/blob/master/CONTRIBUTING.md). ## PR描述 (What this PR does / why we need it?) 逻辑覆盖率分析 行覆盖率(门禁 ≥ 80%) model_adapter.py(约 75 行可执行代码,131 行总计) 区域 行号 覆盖状态 简单委托方法(8 个) 47–78 ✅ 全部覆盖 get_kvcache_smooth_fused_subgraph 80–90 ✅ 含 list comprehension get_head_dim 92–102 ✅ 全部 4 条路径 get_num_key_value_groups 104–114 ✅ 全部 4 条路径 get_num_key_value_heads 116–120 ✅ 全部 2 条路径 _load_tokenizer 122–130 ✅ 含 kwargs 传参 未覆盖 import、装饰器、类声明 通常不计入可执行行 估算行覆盖率:≈ 96%+ ✅ loader.py 区域 覆盖状态 ADAPTER_CLASS_PATH 常量 ✅ load / precheck(继承自 BaseModelAdapterLoader) ✅ 分支覆盖率(门禁 ≥ 60%) 方法 分支点 覆盖 get_head_dim 缺 hidden_size / 缺 num_attention_heads / heads=0 / 成功 4/4 ✅ get_num_key_value_groups 缺 attn heads / 缺 kv heads / kv heads=0 / 成功 4/4 ✅ get_num_key_value_heads 缺 kv heads / 成功 2/2 ✅ enable_kv_cache True / False 2/2 ✅ _load_tokenizer trust_remote_code True / False 2/2 ✅ get_kvcache_smooth_fused_subgraph 0 层 / N 层 2/2 ✅ handle_dataset 非空 / 空 2/2 ✅ handle_dataset_by_batch batch_size=2 / batch_size=1 2/2 ✅ precheck 成功 / VersionError 2/2 ✅ - Please clarify what changes you are proposing. The purpose of this section is to outline the changes and how this PR fixes the issue. If possible, please consider writing useful notes for better and faster reviews in your PR. - Please clarify why the changes are needed. For instance, the use case and bug description. - Related issue number (if any) ## 面向用户的变更 (Does this PR introduce _any_ user-facing change)? - 请注意,这里指的是**任何**面向用户的变更,包括但不限于API、用户界面或其他使用方式上的变更。 - Note that it means *any* user-facing change including all aspects such as API, interface or other behavior changes. ## 功能验证 (How was this patch tested?) 请确认CI已通过增量及存量的单元测试用例。 如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤(最好提供完整的可复现的操作路径及关键截图),以便Committer能够快速复现验证,也便于后续的维护。 如果未添加测试,请说明未添加的原因,以及为何难添加测试。 - [_] 功能自验 - [_] 本地自验截图(涉及个人标识符等敏感信息请注意脱敏) - [_] 新增/变更内容是否已新增/适配UT测试用例看护 CI passed with new added/existing test. If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future. If tests were not added, please describe why they were not added and/or why it was difficult to add. - [_] Self-verification of the feature. - [_] Screenshot of local self-verification (please anonymize any sensitive information such as personal identifiers) - [_] Have new or modified unit test (UT) cases been added or adapted to cover the newly added or changed content? See merge request: Ascend/msmodelslim!4802 天前