Cuda for Llms: Building Fast Transformer Kernels
暫譯: LLM 的 CUDA:打造高速 Transformer 核心函式庫

Arledge, Elliot

  • 出版商: Manning
  • 出版日期: 2026-12-01
  • 售價: $2,670
  • 貴賓價: 9.5 折 $2,536
  • 語言: 英文
  • 頁數: 408
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1633434893
  • ISBN-13: 9781633434899
  • 相關分類: CUDA
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Get the eBook free when you register your print book at Manning.

CUDA (Compute Unified Device Architecture) provides a powerful parallel programming model AI engineers can use to tap the massive processing power of NVIDIA GPUs. CUDA delivers direct control, debugging power, and acceleration at the GPU level that can't be matched by other types of optimizations.

This book shows you how to work within the CUDA ecosystem, from your first kernel to implementing advanced LLM features like Flash Attention. You'll learn to profile with Nsight Compute, identify bottlenecks, and understand why each optimization works. By solving problems at multiple levels of abstraction, you'll develop a deep understanding of CUDA, along with a practical mastery of kernel-building skills. Written for the latest NVIDIA hardware, the book builds a deep understanding of CUDA fundamentals that will stay relevant as chips upgrade and evolve.

What's inside

- 56 kernels to utilize in your models
- PyTorch C++ extension pipeline for integrating custom kernels
- Exploit advanced NVIDIA GPU features (Ampere, Hopper, Blackwell)
- Build backpropagation from scratch, ending with a single-file MNIST MLP

About the reader

For software and AI engineers comfortable with C/C++. No prior CUDA experience required.

About the author

Elliot Arledge created the 12-hour CUDA course and the 6-hour LLM from Scratch course for FreeCodeCamp, and consults on deep learning performance.

註冊您在 Manning 購買的紙本書,即可免費取得 eBook。

CUDA(Compute Unified Device Architecture,計算統一裝置架構)提供強大的平行程式設計模型,AI 工程師可以利用它發揮 NVIDIA GPU 的龐大處理能力。CUDA 能在 GPU 層級提供直接控制、強大的除錯能力與加速效果,這是其他類型的最佳化方式無法比擬的。

本書將帶您了解如何在 CUDA 生態系統中進行開發,從第一個 kernel,到實作 Flash Attention 等進階 LLM 功能。您將學會使用 Nsight Compute 進行效能分析、找出瓶頸,並理解每項最佳化技術奏效的原因。透過在多個抽象層級解決問題,您將深入理解 CUDA,並實際掌握建立 kernel 的技能。本書針對最新的 NVIDIA 硬體撰寫,同時建立深厚的 CUDA 基礎概念,讓這些知識在晶片持續升級與演進的過程中依然適用。

本書內容

- 56 個可運用於模型中的 kernel
- 用於整合自訂 kernel 的 PyTorch C++ extension pipeline
- 運用 NVIDIA GPU 的進階功能(Ampere、Hopper、Blackwell)
- 從零開始建立反向傳播,最後完成單一檔案的 MNIST MLP

讀者對象

適合熟悉 C/C++ 的軟體工程師與 AI 工程師。不需要具備 CUDA 使用經驗。

作者簡介

Elliot Arledge 為 FreeCodeCamp 製作了 12 小時的 CUDA 課程與 6 小時的 LLM from Scratch 課程,並提供深度學習效能諮詢。

以上中文內容由 AI 翻譯

作者簡介

Elliot Arledge created the 12-hour CUDA course and the 6-hour LLM from Scratch course for FreeCodeCamp, and consults on deep learning performance.

Elliot Arledge 為 FreeCodeCamp 製作了 12 小時的 CUDA 課程,以及 6 小時的《從零開始打造 LLM》課程,並提供深度學習效能方面的顧問服務。

以上中文內容由 AI 翻譯

最後瀏覽商品 (19)