iT邦幫忙

鐵人檔案

2026 iThome 鐵人賽
回列表
Software Development

在 AI Compiler 工程師的路上 系列

這系列文章分享我碩一學習 AI compiler 旅程,從 RISC-V CPU、NVIDIA GPU 到 Tenstorrent ASIC , 觀察 AI compiler 是扮演什麼樣的角色,在不同硬體架構是如何優化。

鐵人鍊成 | 共 32 篇文章 | 7 人訂閱 訂閱系列文 RSS系列文
DAY 21

Day20:從 GPU 到 CUDA Driver

今天來複習從 Day11 到 Day19,我們從 GPU 硬體出發,認識 CUDA 與幾種 kernel 開發介面,再沿著一個 Triton 矩陣乘法一路打開...

2026-08-21 ‧ 由 Tim Chen 分享
DAY 22

Day21:Tenstorrent 架構介紹: Wormhole/Blackhole

最開始十天都在 RISC-V CPU 上打轉,從 RVV intrinsic、SGLang RVV 後端走到 torch.compile 和 PyTorch I...

2026-08-22 ‧ 由 Tim Chen 分享
DAY 23

Day22:TT-Metal:用 reader、compute、writer 看 Tenstorrent 程式模型

昨天先看 Wormhole 的 tile 和 NoC,今天再往下走一層,看 Tenstorrent software stack,最後把焦點放到 TT-Meta...

2026-08-23 ‧ 由 Tim Chen 分享
DAY 24

Day23:TT-MLIR:Tenstorrent 的 MLIR dialect 與 compiler flow

昨天的 TT-Metal 範例要手動安排 reader、compute、writer、circular buffer 與 NoC synchronization...

2026-08-24 ‧ 由 Tim Chen 分享
DAY 25

Day24:Triton NPU Flow:Triton 如何接到不同的 NPU backend

前三天看了 Tenstorrent Wormhole 的 tile / NoC、TT-Metal 的 reader /compute / writer,以及 T...

2026-08-25 ‧ 由 Tim Chen 分享
DAY 26

Day25:TileLoom :spatial dataflow accelerator 的編譯問題

前面幾篇已經把 Tenstorrent 的硬體與軟體拆開來看。Wormhole 把 Tensix cores、local L1、DRAM tiles 與 NoC...

2026-08-26 ‧ 由 Tim Chen 分享
DAY 27

Day26:TileLoom :mapping、performance model 和實驗

昨天讀完 TileLoom 的 Introduction 和 Framework Overview,今天繼續從 paper Section 2.2 開始,看一個...

2026-08-27 ‧ 由 Tim Chen 分享
DAY 28

Day27:Loom-dataflow :matmul IR 從 frontend 到 explicit memory access

前面兩天從論文理解 TileLoom 的 mapping、reuse 與 performance model。接下來想要觀察編譯器產生實際的 IR,看這些概念如...

2026-08-28 ‧ 由 Tim Chen 分享
DAY 29

Day28:Loom-dataflow:hardware mapping、reuse analysis、broadcast

昨天的 02_explicit_memory_access.mlir 已經有 DRAM、L1 和 loom.copy,但所有 copy 的範圍仍是 [1, 1]...

2026-08-29 ‧ 由 Tim Chen 分享
DAY 30

Day29:Loom-dataflow:Materialize、One-Shot Bufferization 和 TT opt

前兩天已經沿著舊 loom-dataflow standalone pipeline,把同一份 matmul 從 00 帶到 05:Day27 看 fronte...

2026-08-30 ‧ 由 Tim Chen 分享