Skip to content

Commit

Permalink
update in 20240626
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzomi12 committed Jun 25, 2024
1 parent 9368f42 commit 875f95e
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 124 deletions.
12 changes: 8 additions & 4 deletions 02Hardware/06Domestic/04Cambricon.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--Copyright © 适用于[License](https://github.com/chenzomi12/AISystem)版权许可-->

# 寒武纪
# 寒武纪介绍

中科寒武纪科技股份有限公司成立于 2016 年 3 月 15 日,其名字 Cambricon 是由 Cambrian(寒武纪)和 Silicon(硅)组合成。企业使命是:为客户创造价值,成为持续创新的智能时代领导者,企业愿景是让机器更好地理解和服务人类。寒武纪提供云边端一体、软硬件协同、训练推理融合、具备统一生态的系列化智能芯片产品和平台化基础系统软件。下面我们将重点展开寒武纪产品背后的相关芯片架构和模块。

Expand Down Expand Up @@ -187,7 +187,9 @@ Cambricon PyTorch 借助 PyTorch 自身提供的设备扩展接口将 MLU 后端

Cambricon TensorFlow 集成了寒武纪软件栈,扩展了社区 TensorFlow 对 MLU 设备的支持,同时屏蔽硬件的细节,允许用户使用原生 TensorFlow API 进行开发。用户在使用 Cambricon TensorFlow 进行开发、部署时,可以获得与使用 CPU、GPU 一致的体验。

### DeepSpeed
### 其他库

1. DeepSpeed

Cambricon DeepSpeed 是适配了 Cambricon PyTorch 的大规模分布式训练框架,位于寒武纪软件栈的 AI 框架和开源生态层。

Expand All @@ -197,11 +199,11 @@ Cambricon DeepSpeed 扩展了原生 DeepSpeed,支持使用 MLU 设备进行模
- 适配了 Cambricon Lightning。
- 使用 CNCL(Cambricon Communications Library,寒武纪通信库)进行多卡或者多机之间的通信。

### CNCodec
2. CNCodec

CNCodec-V3(Cambricon Codec Library,寒武纪编解码库)是一个基于第三代寒武纪硬件视频编解码加速单元,并针对 MLU 加速卡特点进行优化的硬件编解码加速库。在继承第二代 CNCodec 设计基础上,CNCodec-V3 针对新的硬件特性,将视频编解码与图像编解码接口融合,为用户提供简洁、高效、通用、灵活并且可扩展的接口。

### CNStream
3. CNStream

CNStream 是面向寒武纪开发平台的数据流处理 SDK,基于模块化和流水线的思想,提供了一套基于 C++11 的类和接口来支持流处理多路并发的 Pipeline 框架。用户可以根据 CNStream 提供的接口,开发自定义模块,并通过模块之间相互连接,实现自己的业务处理流程。CNStream 能够大大简化寒武纪人工智能平台提供的推理和其他处理,如视频解码、图像前处理的集成。也能够在兼顾灵活性的同时,充分发挥寒武纪硬件解码和人工智能算法的运算性能。

Expand Down Expand Up @@ -360,9 +362,11 @@ __mlu_global__ void MatmulKernel(float* dst/*C*/, int16_t* src0/*A*/, int8_t* sr
<html>
<iframe src="https://player.bilibili.com/player.html?aid=231283169&bvid=BV1Y8411m7Cd&cid=1207500944&page=1&as_wide=1&high_quality=1&danmaku=0&t=30&autoplay=0" width="100%" height="500" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
</html>

<html>
<iframe src="https://player.bilibili.com/player.html?aid=956498914&bvid=BV1op4y157Qf&cid=1209962179&page=1&as_wide=1&high_quality=1&danmaku=0&t=30&autoplay=0" width="100%" height="500" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
</html>

<html>
<iframe src="https://player.bilibili.com/player.html?aid=403940478&bvid=BV1TV411j7Yx&cid=1210634113&page=1&as_wide=1&high_quality=1&danmaku=0&t=30&autoplay=0" width="100%" height="500" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
</html>
2 changes: 1 addition & 1 deletion 03Compiler/03Frontend/01Introduction.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# AI 编译器前端优化
<!--Copyright © 适用于[License](https://github.com/chenzomi12/AISystem)版权许可-->

# AI 编译器前端优化

Expand Down
2 changes: 2 additions & 0 deletions 03Compiler/03Frontend/02GraphIR.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<!--Copyright © 适用于[License](https://github.com/chenzomi12/AISystem)版权许可-->

# 图算 IR

本节将围绕计算图介绍相关内容。首先介绍计算图的基本构成,包括计算图的整体介绍、与自动微分的关系、控制流的表示方法等;接着将介绍 AI 框架产生计算图的方式,包括产生静态图和产生动态图的方式;之后将介绍静态和动态计算图的内容,包括 AI 框架关于计算图的不同方案,例如现在大部分的 AI 框架都是从动态的计算图转到静态的计算图,而 MindSpore 是一开始支持静态的计算图,最后支持动静统一的动静态计算图;最后介绍计算图对 AI 编译器有何作用。
Expand Down
Binary file modified 03Compiler/03Frontend/images/01Introduction01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 03Compiler/03Frontend/images/01Introduction02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified 03Compiler/03Frontend/images/01Introduction03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
119 changes: 0 additions & 119 deletions 04Inference/07OfflineInference/01AscendCL.md

This file was deleted.

Binary file removed 04Inference/07OfflineInference/images/acl1.png
Binary file not shown.
Binary file removed 04Inference/07OfflineInference/images/acl2.png
Binary file not shown.
Binary file removed 04Inference/07OfflineInference/images/acl3.png
Binary file not shown.
Binary file removed 04Inference/07OfflineInference/images/acl4.png
Binary file not shown.

0 comments on commit 875f95e

Please sign in to comment.