-
Transformers, Explained – Part 5: Multiple Heads, Learned Perspectives and Token Order
About this series Transformers power modern language models, but explanations often jump from a colorful attention diagram to dense matrix notation. This series takes the middle route: clear intuition, enough mathematics to verify the mechanism, and practical implications for model architecture and GPU inference. It assumes familiarity with programming, arrays and basic algebra, not previous…
-
Transformers, Explained – Part 4: Softmax, Causal Masks and a Three-Token Walkthrough
About this series Transformers power modern language models, but explanations often jump from a colorful attention diagram to dense matrix notation. This series takes the middle route: clear intuition, enough mathematics to verify the mechanism, and practical implications for model architecture and GPU inference. It assumes familiarity with programming, arrays and basic algebra, not previous…
-
Transformers, Explained – Part 3: Why Divide Attention Scores by Square Root of Head Width?
About this series Transformers power modern language models, but explanations often jump from a colorful attention diagram to dense matrix notation. This series takes the middle route: clear intuition, enough mathematics to verify the mechanism, and practical implications for model architecture and GPU inference. It assumes familiarity with programming, arrays and basic algebra, not previous…
-
Transformers, Explained – Part 2: Q, K and V: The Matching Engine Inside Attention
About this series Transformers power modern language models, but explanations often jump from a colorful attention diagram to dense matrix notation. This series takes the middle route: clear intuition, enough mathematics to verify the mechanism, and practical implications for model architecture and GPU inference. It assumes familiarity with programming, arrays and basic algebra, not previous…
-
Transformers, Explained – Part 1: Why a Word Needs Its Neighbors
About this series Transformers power modern language models, but explanations often jump from a colorful attention diagram to dense matrix notation. This series takes the middle route: clear intuition, enough mathematics to verify the mechanism, and practical implications for model architecture and GPU inference. It assumes familiarity with programming, arrays and basic algebra, not previous…
-
InfiniBand and RDMA Fundamentals – Part 8: InfiniBand and RDMA Quick Reference, Glossary, FAQ
A beginner-friendly guide to high-performance scale-out networking HPC and AI Environments Quick Reference, Glossary, FAQ Quick reference cheat sheet Table 25. InfiniBand/RDMA cheat sheet Term Meaning IB InfiniBand RDMA Remote Direct Memory Access HCA Host Channel Adapter QP Queue Pair SQ Send Queue RQ Receive Queue CQ Completion Queue WR Work Request WQE Work Queue…
-
InfiniBand and RDMA Fundamentals – Part 7 – From Four Nodes to Thousands of GPUs: Scaling and Learning InfiniBand
A beginner-friendly guide to high-performance scale-out networking HPC and AI Environments Use Cases, a Small Cluster Walkthrough and Scaling Up Common HPC workloads Table 20. HPC workload examples Workload Why the fabric matters Computational fluid dynamics Domain decomposition exchanges boundary state every iteration Weather/climate modelling Large distributed grids require frequent neighbor/global communication Molecular dynamics Many…
-
InfiniBand and RDMA Fundamentals – Part 6: InfiniBand, RoCE, NVLink, and Design Options
A beginner-friendly guide to high-performance scale-out networking HPC and AI Environments InfiniBand versus Ethernet/RoCE – and versus NVLink InfiniBand versus conventional TCP/IP Ethernet Conventional Ethernet is an extraordinarily flexible general-purpose network. InfiniBand is a specialized fabric with native RDMA transports, subnet management, credit-based flow control and an HPC-oriented software ecosystem. The comparison is therefore not…
-
InfiniBand and RDMA Fundamentals – Part 5: Operating a Reliable InfiniBand Fabric: Resiliency, Troubleshooting and Performance
A beginner-friendly guide to high-performance scale-out networking HPC and AI Environments Resiliency, Failure Behavior and Security Network redundancy is not application fault tolerance A fabric can provide multiple physical paths and still lose an application when a node or rank fails. Redundant links help the network survive certain link/switch failures; distributed applications must separately decide…
-
InfiniBand and RDMA Fundamentals – Part 4: The HPC and AI Networking Stack: MPI, UCX, NCCL, GPUDirect RDMA and Collectives
A beginner-friendly guide to high-performance scale-out networking HPC and AI Environments The HPC Software Stack: MPI, UCX, Verbs and OFED From application to fabric Figure 17. Typical HPC communication software stack MPI (Message Passing Interface) is the application-facing programming model used by many HPC codes. Implementations such as Open MPI or MPICH can use Unified…
