Wiki

Systems for AI

The infrastructure an AI engineer is expected to know: how GPU hardware and the CUDA execution model deliver throughput (AI-619), how threads, races and synchronization primitives make parallel programs correct (AI-506), and how cloud-native serving, vector indexes and request batching keep latency predictable under load (AI-602, part of AI-622). Intuition first, a playable artifact, then the math — with honest numbers about what is illustrative.

GPU computing

Why a GPU is not a fast CPU: the throughput argument, the CUDA grid/block/thread execution model and its memory hierarchy, then synchronization, streams and profiling to find where the time actually goes.

Concurrent programming

Shared state without shared confusion: interleavings and race conditions, the synchronization primitives that restore order (locks, semaphores, atomics), and the recurring parallel patterns — map, reduce, scan — that scale.

Serving at scale

From a model artifact to a service: containers and orchestration, vector databases and approximate nearest-neighbour indexes, and the batching/latency/throughput tradeoff that governs every inference endpoint.