已合并
add chapter01 to master br #786
wangmingming创建于 19 天前
add chapter01 to master br #786
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 wangmingming 的贡献)19 天前 创建了 pull request,commit a3a6f6b9
atomgit-bot
19 天前 评论:
19 天前 评论:
变更摘要
本 PR 将《AutoFuse 开发教程》的第 1 章(基础介绍)以 Jupyter Notebook 形式合入 master 分支,新增了 tutorials/autofusion_development/01_basic_overview/ 目录下的 4 个文档文件,全部为纯文档性新增内容(无既有代码改动)。该章节面向使用者系统介绍 AutoFuse(基于 Ascend C 的自动融合框架)的整体认知:从"什么是 AutoFuse"及其缓解 Memory Bound 问题的原理,到 GE 框架与 PyTorch Inductor 两条接入路线、前端 FusedGraph/AscBackend/AscGraph/AscIR 与后端 Kernel/Tiling 代码生成的融合过程,再到通过环境变量 AUTOFUSE_FLAGS 完成基础使能的具体配置方法,并配套课后练习用于自测。
主要改动
- 新增章节引言(
01.01_chapter_intro.ipynb):建立章节导航,列出前置要求(CANN、昇腾 NPU 基础概念)与章节目标,并串联本 PR 新增的 4 个 Notebook 学习路径。 - 新增 AutoFuse 概念讲解(
01.02_autofuse_introduction.ipynb):以术语表形式解释算子、GM、UB、MTE、Tiling、AscIR 等基础概念,说明 AutoFuse 通过算子融合减少内存搬运以缓解 Memory Bound 的原理,并介绍基于 GE 框架与 PyTorch Inductor 两条接入路线及FusedGraph→AscBackend→AscGraph→AscIR的融合过程,同时给出支持的产品型号与使用边界。 - 新增 AutoFuse 使能配置说明(
01.03_enable_autofusion.ipynb):说明通过环境变量AUTOFUSE_FLAGS="--enable_autofuse=true"开启总开关、以英文分号分隔多配置项的格式规范,以及通过--autofuse_enable_pass=reduce,concat显式开启默认不使能的 Reduce、Concat 融合能力(Elemwise、Broadcast 默认支持),并澄清AUTOFUSE_DFX_FLAGS仅为进阶定位配置等常见误区。 - 新增章节练习(
01.04_chapter_practice.ipynb):以判断、单选、多选题目综合检验对 AutoFuse 定位、收益来源、接入路线与基础使能方式的掌握情况,各 Notebook 通过!cat ./answer/01.0x_answer.txt提供答案查看方式。


不准确?
atomgit-bot
19 天前 评论:
19 天前 评论:
19 天前 修改了pull request 的描述
19 天前 添加了label:cann-cla/yes
CANN-robot
19 天前 评论:
19 天前 评论:
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.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/cann-learning-hub | ✅ waimaidaole, Mexyy (2/2) | ✅ waimaidaole (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
gcw_WTfSfUy7, thanks for your pull request. All authors of the commits have signed the CLA. 👍


wangmingming
19 天前 评论:
19 天前 评论:
compile


Wwangmingming
19 天前 update merge request[project id: 9260575, iid: 786, commit_id: 7b3ac9c7fab194f769ec4d13400df7b045c4b0ca] virtual merging success
19 天前 update merge request[project id: 9260575, iid: 786, commit_id: 7b3ac9c7fab194f769ec4d13400df7b045c4b0ca] virtual merging success
19 天前 添加了label:ci-pipeline-running
CANN-robot
19 天前 评论:
19 天前 评论:
19 天前 删除了label:ci-pipeline-running
此处折叠了5条事件消息 查看更多
19 天前 添加了label:ci-pipeline-failed
wangmingming
19 天前 评论:
19 天前 评论:
compile


19 天前 删除了label:ci-pipeline-failed
19 天前 添加了label:ci-pipeline-running
CANN-robot
19 天前 评论:
19 天前 评论:
19 天前 删除了label:ci-pipeline-running
19 天前 添加了label:ci-pipeline-passed
19 天前 删除了label:ci-pipeline-passed
19 天前 添加了label:ci-pipeline-running
19 天前 删除了label:ci-pipeline-running
19 天前 添加了label:ci-pipeline-passed
19 天前 添加了label:lgtmapproved
19 天前 合入了pull request
描述
·AutoFusion cann-learning-hub课程第一章节,自动融合概述内容,从test分支同步到master分支
关联的Issue
测试
文档更新
类型标签
其他信息