Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
chenzomi
committed
Feb 27, 2023
1 parent
b0c2fc3
commit 7bf3748
Showing
13 changed files
with
119 additions
and
39 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 模型转换&优化 | ||
|
||
《模型转换&优化》在这一节当中分为模型转换和模型优化,在整体架构图中属于离线模型转换模块。一方面,推理引擎需要把不同 AI 框架训练得到的模型进行转换;另外一方面需要对转换后的模型进行图优化等技术。 | ||
|
||
## 课程部分 | ||
|
||
> *建议优先下载或者使用PDF版本,PPT版本会因为字体缺失等原因导致版本很丑哦~* | ||
| 名称 | 内容 | 资源 | 备注 | | ||
| ---- | ------------ | ------------------------------------------------------------------------------------- | --- | | ||
| | | | | | ||
| 模型转换&优化 | 01 基本介绍 | [slide](./Converter/01.introduction.pdf), [video](https://www.bilibili.com/video/BV1724y1z7ep/) | | | ||
| 模型转换模块 | 02 架构与文件格式 | [slide](./Converter/02.converter_princ.pdf), [video](https://www.bilibili.com/video/BV13P4y167sr/) | | | ||
| 模型转换模块 | 03 自定义计算图IR | [slide](./Converter/03.converter_ir.pdf), [video](https://www.bilibili.com/video/BV1rx4y177R9/) | | | ||
| 模型转换模块 | 04 流程细节 | [slide](./Converter/04.converter_detail.pdf), [video](https://www.bilibili.com/video/BV13341197zU/) | | | ||
| 图优化模块 | 05 计算图优化策略 | [slide](./Converter/05.optimizer.pdf), [video](https://www.bilibili.com/video/BV1g84y1L7tF/) | | | ||
| 图优化模块 | 06 常量折叠&冗余节点消除 | [slide](./Converter/06.basic.pdf), [video](https://www.bilibili.com/video/BV1fA411r7hr/) | | | ||
| 图优化模块 | 07 算子融合/替换/前移 | [slide](./Converter/06.basic.pdf), [video](https://www.bilibili.com/video/BV1Qj411T7Ef/) | | | ||
| 图优化模块 | 08 数据布局转换&内存优化 | [slide](./Converter/07.extend.pdf), [video](https://www.bilibili.com/video/BV1Ae4y1N7u7/) | | |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# 模型压缩 | ||
|
||
《模型压缩》模型压缩跟轻量化网络模型不同,压缩主要是对轻量化或者非轻量化模型执行剪枝、蒸馏、量化等压缩算法和手段,使得模型更加小、更加轻便、更加利于执行。 | ||
|
||
## 课程部分 | ||
|
||
> *建议优先下载或者使用PDF版本,PPT版本会因为字体缺失等原因导致版本很丑哦~* | ||
| 名称 | 内容 | 资源 | 备注 | | ||
| ----- | ----------------- | ------------------------------------------------------------------------------------- | --- | | ||
| | | | | | ||
| 模型压缩 | 01 基本介绍 | [slide](./Slim/01.introduction.pdf), [video](https://www.bilibili.com/video/BV1384y187tL/) | | | ||
| 模型压缩 | 02 低比特量化原理 | [slide](./Slim/02.quant.pdf), [video](https://www.bilibili.com/video/BV1VD4y1n7AR/) | | | ||
| 模型压缩 | 03 感知量化训练 QAT | [slide](./Slim/03.qat.pdf), [video](https://www.bilibili.com/video/BV1s8411w7b9/) | | | ||
| 模型压缩 | 04 训练后量化PTQ与部署 | [slide](./Slim/04.ptq.pdf), [video](https://www.bilibili.com/video/BV1HD4y1n7E1/) | | | ||
| 模型压缩 | 05 模型剪枝 | [slide](./Slim/05.pruning.pdf), [video](https://www.bilibili.com/video/BV1y34y1Z7KQ/) | | | ||
| 模型压缩 | 06(上) 知识蒸馏原理 | [slide](./Slim/06.distillation.pdf), [video](https://www.bilibili.com/video/BV1My4y197Tf/) | | | ||
| 模型压缩 | 06(下) 知识蒸馏算法 | [slide](./Slim/06.distillation.pdf), [video](https://www.bilibili.com/video/BV1vA411d7MF/) | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters