docs(internlm): migrate main-branch NPU quick start guard - #162
Meihan-chen wants to merge 9 commits into
Conversation
CLA Signature Guide@Meihan-chen , thanks for your pull request. The following commit(s) are not associated with a signed Contributor License Agreement (CLA).
To sign CLA, click here. To check if your email is configured correctly, refer to the FAQs. Once you've signed the CLA or updating your email, please comment |
|
/check-cla |
CLA Signature PassMeihan-chen, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
|
📖 文档预览:https://ascend.github.io/docs/pr-preview/pr-162/sources/internlm/ 也可打开整站首页。 构建自 |
Preserve the refreshed Quick Start engine and parser, retain fixed_ref tracking for InternLM, and restore PR test decisions for callers that expose pull_request triggers.
…nlm-quick-start # Conflicts: # index.rst
CLA Signature PassMeihan-chen, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
CLA Signature PassMeihan-chen, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
CLA Signature PassMeihan-chen, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
CLA Signature PassMeihan-chen, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
CLA Signature PassMeihan-chen, thanks for your pull request. All authors of the commits have signed the CLA. 👍 |
|
剩一个问题,所有python代码块前面,提醒用户用 python代码执行 |





Summary
fixed_refsupport to the shared Quick Start engine in a dedicated first commitsources/internlmWhy fixed_ref
InternLM's current NPU guide postdates its latest GitHub release. The guard therefore tracks
main; scheduled runs resolve that branch to its current commit SHA for change detection, while manual and PR runs use the same branch ref. Projects that omitfixed_refkeep the existing latest-release behavior.Validation
python -m unittest tests.doc_test.test_quick_start_template_contract tests.internlm.test_project_contract tests.internlm.test_quick_start_ascend -vactionlint .github/workflows/internlm-quick-start.ymlThe NPU workflow retains the proven CANN 9.1 / Torch 2.9 stack,
maintracking, serialized execution, persistent ModelScope cache, corrupted-safetensors cleanup, 8B FP16 model, and 180-minute timeout.