Target New ArrivalsBack to SchoolCollegeHalloweenClothing, Shoes & AccessoriesHome & DecorKitchen & DiningOutdoor Living & GardenGroceryHousehold EssentialsBabyBeautyPersonal CareSports & OutdoorsPetsHealthWellnessSchool & Office SuppliesToys & GamesElectronics & TechVideo GamesMovies, Music & BooksParty SuppliesGift IdeasGift CardsShop by CommunityTarget OpticalDealsClearanceNew ArrivalsBack to SchoolCollegeTop DealsTarget Circle DealsWeekly AdShop Order PickupShop Same Day DeliveryRegistryRedCardTarget CircleFind Stores
Gpu Programming with Triton - by  Harshwardhan Fartale (Paperback) - 1 of 1

Gpu Programming with Triton - by Harshwardhan Fartale (Paperback)

$69.99

Pre-order

Free & easy returns
Free & easy returns
Return this item by mail or in store within 90 days for a full refund.
Eligible for registries and wish lists

About this item

Highlights

  • Get the eBook free when you register your print book at Manning.
  • About the Author: Harshwardhan Fartale is a researcher and engineer based in Bangalore, where he builds machine learning systems for scientific and defense applications.
  • 425 Pages
  • Computers, Data Science

Description



Book Synopsis



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

Until recently, writing GPU kernels for LLM training and inference meant learning low-level programming tools like CUDA and C++. Triton, an open source, Python-based DSL created by OpenAI, bridges the gap between high-level machine learning frameworks and low-level GPU programming. Triton is built into PyTorch 2 and backed by NVIDIA, Intel, AMD, and Red Hat.

In this book, you'll learn how to work within the Triton ecosystem, from writing your first kernel to implementing advanced LLM features like FlashAttention and Native Sparse Attention. You'll use Triton to deliver the kernel-level control, fusion power, and acceleration that frameworks like PyTorch need under the hood without dropping down to CUDA and C++.

In this practical book written for readers with no previous GPU programming experience, author Harshwardhan Fartale introduces Triton's innovative block-level programming model that replaces the tedious manipulation of low-level threads required by CUDA. Written for the latest hardware and LLMs, this book teaches GPU programming and Triton together, in Python, by profiling real workloads, identifying bottlenecks, and understanding why each optimization (coalescing, tiling, shared memory, reductions, and fusion) actually works.

As you go, you'll build the kernels that power modern AI systems, including FlashAttention, Native Sparse Attention, sparse matrix multiplication, and on-chip fused operations. You'll learn to profile real workloads, find the bottlenecks, wrap your kernel for production, and integrate it end to end into PyTorch. Each chapter includes handpicked practice problems designed to build the fluency that makes working in Triton feel like second nature.

What's inside

- Writing production-grade Triton kernels
- Core optimization techniques
- Building FlashAttention, Native Sparse Attention, and sparse matrix multiplication from scratch
- Profiling real workloads and integrating custom Triton kernels into PyTorch
- Reasoning about how GPUs actually execute your code

About the reader

For ML engineers and researchers comfortable with Python and PyTorch.

About the author

Harshwardhan Fartale is a researcher and engineer based in Bangalore, where he builds machine learning systems for scientific and defense applications. He has delivered courses in generative AI, machine learning, and MLOps to audiences ranging from university students to national research bodies.



About the Author



Harshwardhan Fartale is a researcher and engineer based in Bangalore, where he builds machine learning systems for scientific and defense applications. He has delivered courses in generative AI, machine learning, and MLOps to audiences ranging from university students to national research bodies.
Dimensions (Overall): 9.25 Inches (H) x 7.38 Inches (W)
Weight: 1.12 Pounds
Suggested Age: 22 Years and Up
Number of Pages: 425
Genre: Computers
Sub-Genre: Data Science
Publisher: Manning Publications
Theme: Machine Learning
Format: Paperback
Author: Harshwardhan Fartale
Language: English
Street Date: March 30, 2027
TCIN: 1013279622
UPC: 9781633434233
Item Number (DPCI): 247-24-2633
Origin: Made in the USA or Imported
If the item details aren’t accurate or complete, we want to know about it.

Shipping details

Estimated ship dimensions: 1 inches length x 7.38 inches width x 9.25 inches height
Estimated ship weight: 1.122 pounds
We regret that this item cannot be shipped to PO Boxes.
This item cannot be shipped to the following locations: American Samoa (see also separate entry under AS), Guam (see also separate entry under GU), Northern Mariana Islands, Puerto Rico (see also separate entry under PR), United States Minor Outlying Islands, Virgin Islands, U.S., APO/FPO, Alaska, Hawaii

Return details

This item can be returned to any Target store or Target.com.
This item must be returned within 90 days of the date it was purchased in store, delivered to the guest, delivered by a Shipt shopper, or picked up by the guest.
See the return policy for complete information.

Additional product information and recommendations

Discover more options

Skip to next section

Best-selling All Book Genres

Skip to next section

Get top deals, latest trends, and more.