Skip to content

docs(axolotl): 让训练预期匹配指标字典里的 train_loss - #239

Merged
hipudding merged 3 commits into
Ascend:mainfrom
licy666:docs/axolotl-train-loss-expectation
Oct 19, 2026
Merged

hipudding merged 3 commits into
Ascend:mainfrom
licy666:docs/axolotl-train-loss-expectation

Conversation

@licy666

@licy666 licy666 commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • 训练命令没有改。
  • 训练预期里的 {'train_loss': 改成 'train_loss':。axolotl 0.20.0 的收尾指标以 train_runtime 开头,train_loss 排在同一行后面,原预期要求花括号紧挨 train_loss,训练已经完成仍被判失败。

Test plan

  • 用运行 https://github.com/Ascend/docs/actions/runs/38850504155 保存的标准输出重放比对,设备名、第一步 loss、后续 loss、train_loss 和 Training completed! 都能对上。
  • check_quick_start_doc.py sources/axolotl/quick_start.md 结果为 ok。
  • 合入后需要在昇腾上看护再跑一次 axolotl-quick-start,确认真机日志仍然满足这处预期。

axolotl 0.20.0 的收尾日志以 train_runtime 开头,原预期要求花括号紧挨 train_loss,训练已经完成仍被判失败。
@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

📖 文档预览已随本 PR 关闭而清理。

github-actions Bot pushed a commit that referenced this pull request Oct 16, 2026
@Devin-DC-Huang

Copy link
Copy Markdown
Contributor
image 这两个需要有验证步骤,同时ver需要在note说明这个是用最新的release版本替换

安装检查现在展示预期输出,并说明 ver 要换成最新 release 版本号。
github-actions Bot pushed a commit that referenced this pull request Oct 16, 2026
@Devin-DC-Huang

Copy link
Copy Markdown
Contributor
image

@Devin-DC-Huang

Copy link
Copy Markdown
Contributor
image 这个步骤要给个样例,可以不做测试对比

环境检查补上 npu-smi info 的样例输出,不参与测试比对。
PyTorch 安装预期改为 torch xxx+cpu,并说明 +cpu 是 CPU 构建版本。
github-actions Bot pushed a commit that referenced this pull request Oct 19, 2026
@hipudding
hipudding merged commit 249bcdc into Ascend:main Oct 19, 2026
5 checks passed
github-actions Bot added a commit that referenced this pull request Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants