lyan
CodeFun
  • Home
  • Archives
  • About
  • Links
EN 中文 日本語
  1. Home
  2. Archives
  3. Tag:programming

FMHA 101: From Transformer Attention to a CUDA Flash Attention Kernel

lyan 2026-05-05

A beginner-friendly, code-oriented introduction to Transformer attention, multi-head attention, online softmax, and a tiled CUDA FMHA forward kernel.

GPU programming CUDA FlashAttention Transformers Transformer Engine
Read More

eBPF In-Depth Technical Guide: From Fundamentals to Production

lyan 2025-12-22

Deep dive into eBPF VM implementation, Probe engine mechanisms, program counter jumps, and hardware resource access. Covers register architecture, instruction encoding, Kprobe/Kretprobe/Uprobe implementation, PMU access, JIT compilation optimization, and production best practices. Ideal for systems engineers and kernel developers.

Kernel eBPF programming Performance Systems
Read More

Search

Top Posts

  • Step into the world of ARM Server
  • Running Debian ARM64 on QEMU with UEFI

Hot Posts

  • A Comprehensive Guide to Multi-Node, Multi-GPU NVIDIA GPU Fabric Deployment
  • How uv Works: Python Environments, Dependency Resolution, and Caching
  • Cross-Attention in Multimodal AI: When One Stream Needs to Read Another
  • LFT and Topology Exports in InfiniBand: Diagnose the Fabric Without Expanding the Attack Surface
  • The Decision Engine Behind Fused Attention: How Transformer Engine Orchestrates cuDNN on Blackwell
  • Megatron-Bridge in Practice: A Production 101 Guide to the Nemotron, Megatron-Core, and Transformer Engine Stack
  • FMHA 101: From Transformer Attention to a CUDA Flash Attention Kernel
  • Enroot + Pyxis + SPANK: A Practical Architecture and Operations Guide for Slurm Containers
  • HPC-X, MPI, PMIx & NCCL: A Full Dissection of the GPU Cluster Communication Stack

Recent Posts

  • How uv Works: Python Environments, Dependency Resolution, and Caching
  • Cross-Attention in Multimodal AI: When One Stream Needs to Read Another
  • LFT and Topology Exports in InfiniBand: Diagnose the Fabric Without Expanding the Attack Surface
  • The Decision Engine Behind Fused Attention: How Transformer Engine Orchestrates cuDNN on Blackwell
  • Megatron-Bridge in Practice: A Production 101 Guide to the Nemotron, Megatron-Core, and Transformer Engine Stack
  • FMHA 101: From Transformer Attention to a CUDA Flash Attention Kernel
  • Enroot + Pyxis + SPANK: A Practical Architecture and Operations Guide for Slurm Containers
  • HPC-X, MPI, PMIx & NCCL: A Full Dissection of the GPU Cluster Communication Stack
  • Deep Dive into Server Memory Architecture: From DRAM Granules to NUMA Modes

Tag Cloud

Linux (61) XEN (29) Life (27) Memory (24) Virtualization (23) Diary (21) C/C++ (19) QEMU (17) test (15) CPU (14) NVIDIA (13) InfiniBand (11) AI (11) Interest (11) Algorithm (11) VisualStudio (11) HPC (10) GPU (10) KVM (10) Transformer (9) eBPF (8) MFC (8) Debian (7) Engine (6) MLOps (6) Security (6) TorchDynamo (6) PyTorch (6) CUDA (6) programming (6) Kernel (6) Network (6)
lyan
CodeFun

©2026 xryan.net.

Code all fun things in the world by Leon.

  • Links
  • About Us
  • Feedback
QR Code
Scan to follow