| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
style: 执行 pre-commit 格式化(#161) Co-authored-by: fujun19<fujun19@hisilicon.com> # message auto-generated for no-merge-commit merge: !228 merge chore/precommit-format-161 into master style: 执行 pre-commit 格式化(#161) Created-by: fujun19 Commit-by: fujun19 Merged-by: cann-robot Description: ## 描述 按照 issue #161 提到的 pre-commit 本地格式化方法,对仓内 tracked C/C++ 和 Python 文件执行格式化。本 PR 仅包含 clang-format / ruff-format 自动格式化结果,不包含 ruff 历史例外配置。 ## 如何测试 - pre-commit run clang-format --all-files:Passed - pre-commit run ruff-format --all-files:Passed - 未运行完整 pre-commit run --all-files;ruff-check 的历史例外按要求未纳入本次提交。 ## 文档更新 无。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 代码重构 - [x] 其他,请描述:pre-commit 格式化 See merge request: cann/amct!228 | 2 个月前 | |
style: 执行 pre-commit 格式化(#161) Co-authored-by: fujun19<fujun19@hisilicon.com> # message auto-generated for no-merge-commit merge: !228 merge chore/precommit-format-161 into master style: 执行 pre-commit 格式化(#161) Created-by: fujun19 Commit-by: fujun19 Merged-by: cann-robot Description: ## 描述 按照 issue #161 提到的 pre-commit 本地格式化方法,对仓内 tracked C/C++ 和 Python 文件执行格式化。本 PR 仅包含 clang-format / ruff-format 自动格式化结果,不包含 ruff 历史例外配置。 ## 如何测试 - pre-commit run clang-format --all-files:Passed - pre-commit run ruff-format --all-files:Passed - 未运行完整 pre-commit run --all-files;ruff-check 的历史例外按要求未纳入本次提交。 ## 文档更新 无。 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 代码重构 - [x] 其他,请描述:pre-commit 格式化 See merge request: cann/amct!228 | 2 个月前 | |
fix: update remaining wikitext dataset references Co-authored-by: fujun19<fujun19@hisilicon.com> # message auto-generated for no-merge-commit merge: !306 merge fix/issue-192-wikitext-latest into master fix: update remaining wikitext dataset references Created-by: fujun19 Commit-by: fujun19 Merged-by: cann-robot Description: ## 描述 修复 issue #192 所述的 Wikitext 数据集加载问题,并排查修复仓库中其他相同短 ID 用法。 新版 huggingface_hub 要求数据集仓库 ID 使用 namespace/name 格式。除公共 PPL 评估路径外,HiFloat8、DeepSeek V3.2 评估脚本及 9 个算法示例仍使用 wikitext 短 ID,可能在运行时触发 HfUriError。 本次将所有 Wikitext 加载调用统一改为 Salesforce/wikitext,保持原配置名和 split 不变,并新增全仓回归测试防止短 ID 回退。 关联 issue:https://gitcode.com/cann/amct/issues/192 关联已合入 PR:https://gitcode.com/cann/amct/merge_requests/300 ## 如何测试 - pytest -q tests/unit_test/common/datasets/test_wikitext_dataset_references.py tests/unit_test/common/datasets/test_preproc.py:10 passed - python3 -m py_compile 检查所有修改的 Python 文件通过 - git diff --check 通过 - 全仓检索确认不存在 load_dataset('wikitext', ...) 短 ID 调用 ## 文档更新 无。 ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 代码重构 - [ ] 其他,请描述: See merge request: cann/amct!306 | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 | ||
| 1 个月前 |