3

Hardware

Map compute, memory, and interconnect limits onto serving behavior.

11 min read

Printed pages: 71–92

Star on GitHub

In one breath

Inference hardware is a chain of finite resources, not a single speed number. Tensor Core throughput limits compute-heavy work such as long-prompt prefill and media generation. Video random-access memory (VRAM) capacity decides whether weights and working state fit, while VRAM bandwidth often limits autoregressive decode. Once a model spans devices, interconnect bandwidth and synchronization join the critical path. Select hardware by the phase and resource that actually saturate under production-shaped traffic.

Why it matters

  • A larger peak floating-point-operations-per-second (FLOPS) number can be irrelevant when decode is waiting on memory. Conversely, more bandwidth does not rescue a compute-bound prefill or diffusion step. Matching resource to phase avoids paying for impressive specifications that the workload cannot use.
  • An instance with multiple graphics processing units (GPUs) is a topology, not merely a device count. Communication within a node travels over much faster links than communication between nodes, so the placement of model shards changes latency, synchronization cost, and scaling efficiency.
  • The allocated unit also includes host central processing units (CPUs), host memory, storage, networking, and a particular GPU form factor. Any of those can slow model loading, cache offload, preprocessing, or distributed execution even when the accelerator itself looks suitable.
  • Cloud, controlled datacenter, air-gapped, desktop, and mobile placements trade flexibility against privacy, dependency, thermal limits, hardware variability, and developer cost. The right answer may split small immediate work onto a device and keep demanding work in a datacenter.

Mental model

Picture every inference step as a conveyor: values are fetched from a storage tier, transformed by compute units, and sometimes exchanged with another device. The fastest compute unit still idles if the conveyor cannot supply operands. Small caches are closest and fastest; capacity increases as you move toward VRAM, host memory, and storage, while access cost rises. A balanced system keeps the hottest working set near compute and minimizes crossings over slower boundaries.

GPU memory hierarchy

Tensor Cores use per-core L0 instruction caches and per-SM L1 working storage; all SMs connect through shared L2 to larger, slower VRAM, with host memory and local storage as progressively lower offload tiers.

  • Tensor CoresExecute matrix operations
  • L0 instruction cachePrivate to one Tensor Core
  • L1 cacheFast storage within each SM
  • L2 cacheShared on-chip cache
  • VRAMWeights, activations, and KV cache
  • Host memoryLarger offload tier
  • Local storageLargest and slowest nearby tier
  • Tensor CoresL0 instruction cache: Per-core instructions
  • Tensor CoresL1 cache: Per-SM working data
  • L1 cacheL2 cache: Shared within chip
  • L2 cacheVRAM: Memory bus
  • VRAMHost memory: Offload across host link
  • Host memoryLocal storage: Load or spill

Consider a language service with long prompts and short answers. Estimate weights from parameter count and precision, then add the key-value cache, activations, and runtime buffers required by the longest sequence, target concurrency, and batch. Confirm peak headroom before comparing headline speed. Benchmark prefill and decode separately: processing the full prompt may saturate Tensor Cores, while token-by-token generation may saturate VRAM bandwidth. A device with more arithmetic but less capacity or bandwidth may win the first-token path yet lose steady decode or fail with an out-of-memory (OOM) error at long context. Compare the whole workload envelope, including tail latency across sequence and concurrency distributions, rather than naming a winner from a specification table.

Now let the model exceed one device. Within a node, fast GPU links can exchange partial results often enough for a layer-synchronous split to remain useful. Across a second node, each synchronization crosses a slower fabric, and accumulated communication can erase the added compute. The same eight GPUs can enlarge one replica or form an independent replica. Enlarge only when model capacity, key-value cache headroom, or per-request latency requires it; otherwise replication avoids cross-node synchronization and usually serves more independent requests. Model size, cache headroom, concurrency, and the algorithm's communication pattern must jointly determine the topology, not GPU count alone.

Placement extends the hierarchy beyond the rack. A phone can handle a small, immediate, privacy-sensitive request without a network round trip; a workstation can use large unified memory or a high-end discrete GPU; a datacenter can combine powerful accelerators, sustained cooling, and standardized networking behind a scalable service. Alternative chips may target memory bandwidth, energy efficiency, or a specialized dataflow. The engineering question is not which location or vendor wins absolutely, but which stage can run reliably within local compute, capacity, sustained thermals, battery, software support, and available supply. A hybrid system also needs capability detection, a clear data boundary, and a fallback to central service when an edge device is unsupported or inadequate.

A procurement comparison must normalize complete instances, not chip names. Find the smallest instance shape that fits weights plus serving headroom; include host CPU, host memory, storage, GPU form factor, network, and interconnect; and measure sustained performance with the same driver, runtime, engine, precision, and request distribution. Convert price into useful tokens per second or cost per thousand requests while meeting the latency objective instead of dividing a theoretical peak by price. Record regional capacity, startup time, reservations, replacement behavior, and multi-instance partitioning. A suitable modern slice can beat an underused full GPU for a small model, while a whole device preserves burst and cache headroom. Scarce supply can invalidate an excellent benchmark if the required topology cannot be obtained where and when the service must scale.

Design for failure at every boundary. When VRAM is tight, limit admission, lower batch, shorten context, or choose a smaller model before OOM crashes a replica. When an intra-node or cross-node link degrades, identify synchronization delay and switch to a lower-communication configuration or independent replicas. When an edge device lacks support, overheats, runs low on battery, or responds too slowly, use an explicit cloud fallback while preserving consent and data boundaries. Monitoring must distinguish Tensor Core saturation, VRAM capacity pressure, memory-bandwidth stalls, interconnect congestion, thermal throttling, model-loading input and output, and ordinary queueing; otherwise every failure appears only as higher latency. A hardware choice is complete only when these degradation modes are observable, bounded, and recoverable.

Keep an auditable hardware decision record: production input, output, and concurrency distributions; weight and cache arithmetic; device and node topology; complete instance specifications; driver and engine versions; phase benchmarks; price basis; capacity source; and rejected options. State assumptions such as precision, longest context, acceptable P99, expected cache hits, and cross-node traffic. Rerun the same tests when traffic, model size, precision, kernels, cloud supply, or pricing changes. If one assumption changes, first retest its affected phase, then confirm end to end that the bottleneck did not move elsewhere. Treat a provider's host or network change as a new candidate even when the GPU name is unchanged. Preserve test date and edition so historical results are not mistaken for current guarantees; the selection is an engineering conclusion under explicit assumptions, not a timeless product ranking.

Core ideas

Compute throughput

Streaming Multiprocessors group scalar, matrix, and special-function resources. For inference comparisons, Tensor Core throughput at the precision you will actually use is more meaningful than mixing dense, sparse, and different-precision headline figures.

Memory capacity

Weights are only the floor. Activations, runtime buffers, and the key-value cache need headroom, especially with long context, high batch size, or video workloads. A model that barely loads is not necessarily a model that can serve useful traffic.

Memory bandwidth

Decode repeatedly streams weights while doing relatively little arithmetic at low and medium batches. Higher usable bandwidth can therefore improve per-user token generation even when peak compute is unchanged.

Architecture generation

January 2026 edition snapshot: Hopper introduced widely used low-precision and asynchronous features; Blackwell extended low-precision formats and memory movement; announced Rubin systems targeted still higher-bandwidth memory and separate compute-oriented components. New silicon deserves real benchmarks after kernels and runtimes mature.

Whole-instance shape

An instance packages accelerators with host resources and links. Multi-instance GPU partitioning can give small models a fraction of newer hardware, while full multi-GPU nodes provide the capacity and fast intra-node fabric required by large models.

Alternative accelerators

January 2026 edition snapshot: non-NVIDIA designs pursued advantages such as bandwidth, energy efficiency, specialized dataflow, or cloud integration. Their practical test includes software maturity, manufacturable capacity, distribution, and workload coverage as well as chip specifications.

Local inference

On-device execution removes network delay, can work offline, keeps data local, and shifts accelerator cost away from the service operator. It also inherits tight thermal and battery budgets plus a fragmented device matrix, so design for median hardware rather than an enthusiast's machine.

How it works

  1. Calculate the memory floor from weight count and precision, then add explicit budgets for runtime buffers, activations, and expected key-value cache. Round up to an available instance shape instead of assuming every byte of advertised memory is usable.
  2. Separate workload phases in measurement. Long-prompt prefill and image or video generation tend to reward compute, whereas low-to-medium-batch language decode tends to reward memory bandwidth. Mixed traffic needs a measured balance.
  3. Treat CPU memory as a deliberate lower tier for reusable state rather than invisible overflow. January 2026 edition snapshot: tightly linked Grace-GPU systems offered substantially faster host-to-device access than ordinary CPU-GPU links, which can change cache or adapter offload economics.
  4. Benchmark the provider's exact stock-keeping unit (SKU), because cloud choices can change GPU form factor, host allocation, storage, networking, and interconnect. Record all of these with driver, runtime, model, precision, sequence shape, and batch configuration.
Interconnect topology - January 2026 edition snapshot

GPUs communicate through NVLink and NVSwitch inside one node, while traffic between the first node and second node crosses the slower InfiniBand tier.

  • GPUs in node AParallel model shards
  • NVLinkDirect high-bandwidth GPU links
  • NVSwitchAll-to-all coordination in one node
  • InfiniBandLower-bandwidth node-to-node fabric
  • GPUs in node BAdditional model shards
  • GPUs in node ANVLink: Local transfers
  • NVLinkNVSwitch: Coordinates node
  • NVSwitchInfiniBand: Leaves node
  • InfiniBandGPUs in node B: Reaches second node

Metrics that matter

Dense compute at target precision

FLOPS

Compare the same numeric format and do not substitute structured-sparsity peak rates for dense inference.

Usable accelerator memory

GB

Track weights plus operating headroom, not merely whether model loading succeeds.

Sustained memory bandwidth

GB/s or TB/s

Measure achieved transfer behavior under the decode shapes you expect.

Compute, memory, and link utilization

Time series

Averages can hide stalls, imbalance among devices, or traffic-dependent phase changes.

Energy and thermal envelope

W and joules/request

Especially important for alternative accelerators and local devices where cooling or batteries constrain sustained speed.

Trade-offs

Newer architecture versus mature stack

New generations can add formats, bandwidth, and instructions, but their advantage arrives only after compilers, kernels, engines, and cloud availability catch up. Mature hardware may deliver more predictable performance per dollar during that interval.

Scale up versus scale across

A larger single-node shape preserves faster links; adding nodes expands capacity but exposes slower communication. Extra nodes may be more valuable as independent replicas when the model already fits.

Fractional GPU versus whole GPU

Multi-instance partitioning improves utilization for small models on modern silicon, while a full device offers more memory, flexibility, and room for bursts. Isolation and slice shapes must match the serving envelope.

Specialized accelerator versus ecosystem breadth

A purpose-built chip can win on one bottleneck or energy target, but migrating also means validating kernels, frameworks, observability, capacity supply, and operational skills.

Edge versus datacenter

Local execution improves privacy, offline behavior, and network latency, while central service offers stronger hardware, consistent software, fleet control, and access to large models. Hybrid routing can use each for the work it handles best.

Engineering checklist

  • Capture input length, output length, modality, precision, batch, concurrency, cache size, and latency targets before comparing accelerators.
  • Prove the full serving footprint fits with realistic headroom; test long-context and peak-batch out-of-memory behavior rather than only startup.
  • Normalize compute claims to dense operations at the same precision and record whether a number is theoretical or achieved.
  • Verify GPU form factor, host CPU and memory, storage path, network interface, and exact interconnect offered by the selected provider SKU.
  • Draw the device and node boundaries, then place communication-heavy parallel work on the fastest available links.
  • Treat January 2026 edition generation tables as historical context and rerun compatibility plus price-performance tests on the actual software image.
  • For a non-default accelerator, test the entire deployment toolchain and available capacity, not just a vendor microbenchmark.
  • For local inference, define a supported device floor, sustained thermal test, battery budget, fallback route, and privacy boundary.

Vocabulary

Streaming Multiprocessor
A GPU compute cluster that schedules many threads and contains arithmetic resources plus local shared memory.
Tensor Core
A specialized compute unit optimized for matrix multiply-and-accumulate operations used throughout neural-network inference.
VRAM
High-bandwidth off-chip memory attached to an accelerator; it holds model weights and the active serving state.
High-bandwidth memory
A family of stacked memory technologies used as accelerator VRAM to provide very high transfer rates.
January 2026 edition snapshot: NVIDIA's direct GPU link and node-level switching fabric for high-bandwidth communication within supported systems.
InfiniBand
A high-bandwidth network fabric commonly used between accelerator nodes, still much slower than links inside a node.
Multi-instance GPU
A hardware partition that allocates a slice of a large GPU and associated host resources as a smaller isolated instance.
Local inference
Model execution on an end user's desktop, laptop, phone, or other device rather than a centralized server.

Source map

  • Pages 71-74

    Accelerator landscape, deployment modes, and GPU architecture orientation.

  • Pages 74-77

    Compute units, numerical throughput, caches, VRAM, capacity, and bandwidth.

  • Pages 77-83

    Architecture generations and host-device memory links in the January 2026 edition.

  • Pages 83-87

    Cloud instance components, multi-GPU links, multi-node fabric, and hardware partitioning.

  • Pages 87-89

    Alternative accelerator strategies and adoption constraints in the January 2026 edition.

  • Pages 89-92

    Desktop and mobile inference opportunities, limitations, and hybrid placement.

Accelerator categories, deployment modes, and GPU parallel-compute orientation
Printed pages: 71–74; PDF pages: 73–76
Tensor Core compute, precision, cache levels, VRAM capacity, and bandwidth bottlenecks
Printed pages: 74–77; PDF pages: 76–79
GPU architecture generations, inference features, and CPU-to-GPU memory links
Printed pages: 77–83; PDF pages: 79–85
Cloud instances, multi-GPU topology, interconnects, and multi-instance GPU partitioning
Printed pages: 83–87; PDF pages: 85–89
Alternative accelerator strategies and ecosystem constraints
Printed pages: 87–89; PDF pages: 89–91
Desktop and mobile inference benefits, constraints, and hybrid placement
Printed pages: 89–92; PDF pages: 91–94