Apple GPU Evolution
Apple GPU evolution from Dynamic Caching to Neural Accelerators, with an MLX Metal GEMM source walkthrough.
Notes on AI infrastructure, compilers, and the hardware that runs models.
Current focus
From Dynamic Caching to Neural Accelerators, with an MLX Metal GEMM source walkthrough.
Read article → Featured post · Sep 2026 Apple Silicon AI compute: ANE and GPUHow Apple’s GPU and Neural Engine differ across hardware, software stacks, and model workloads.
Read article →Apple GPU evolution from Dynamic Caching to Neural Accelerators, with an MLX Metal GEMM source walkthrough.
3-bit weight storage with MXFP8 compute at 3.375 bits per weight.
ANE and GPU hardware, software stacks, and runnable Core ML, PyTorch MPS, MLX, and Metal examples.
A hardware, economics, and model-quality view of how much intelligence can move into phones, AI PCs, and edge AI boxes.
A supply-chain view of future AI infrastructure: heterogeneous computing, dedicated LLM hardware, memory locality, and interconnect.
Why rapidly evolving models, request volume, context, output, agents, and hardware keep moving the AI infrastructure frontier.
A history of AI infrastructure through the co-evolution of model execution patterns and CPU/GPU/TPU/NPU hardware.
Notes on Triton's Hopper MXFP4 matmul path, from packed FP4 unpacking into BF16 to scale conversion with inline PTX.
Covers NCCL2 installation, clean PyTorch source builds, multi-GPU all-reduce tests, and network interface troubleshooting.
Notes on building OpenMPI with CUDA support, compiling PyTorch against MPI compilers, and checking runtime distributed support.
Shows a profiling workflow from synchronized Python-level cProfile and line-profiler runs down to nvprof and kernel-level investigation.
Traces PyTorch tensor addition from Python bindings through ATen, TH tensor macros, BLAS paths, OpenMP splitting, and AVX2 vector kernels.
Explains how Tensor and Variable calls move through generated bindings, C/C++ backends, CUDA kernels, and derivative definitions.
Walks through a compact autograd example to show how Variables, Functions, the backward graph, and the imperative engine fit together.