The sketch explained
TPU: multiply, accumulate, pass onward
Follow the arrows: activations arrive from the left and model weights from above. Small units in the grid perform multiply-accumulate operations, producing results on the right.
On a small screen, scroll the diagram horizontally to read its labels.
- Activations
- These are the values to process, such as outputs from the previous network layer.
- Model weights
- These learned model values participate in matrix computation.
- Compute units
- Each cell stands for a unit that multiplies values and adds the products.
- Results
- The results feed subsequent network computation.
UNDERSTANDING THE SYSTEM
Google Trillium: from matrix multiplication to a TPU v6e cluster
Trillium accelerates large matrix operations, but running a model takes more than multiplying matrices. Data must arrive on time, weights need a placement strategy, and chips must exchange and synchronize tensors. This guide explains where TPU v6e can help and how to check whether that potential carries through to a real workload.
Trillium, v6e, chip and Pod: compare the right units
Trillium is the generation name; v6e is its technical identifier. Each v6e chip contains one Google TensorCore, including two matrix multiplication units, or MXUs. A full Pod contains 256 chips. A TPU slice is a group of chips assigned to a workload. Mixing up these scales can inflate memory or compute figures in a comparison.
The figures below follow the English specification table consulted. Bandwidth is in bytes per second: GB/s is not Gbit/s. Localized pages can contain unit errors or lag behind updates. A peak figure describes hardware capacity at a stated numerical format, rather than model response time or useful service throughput.
| Quantity | Published value | What it means |
|---|---|---|
| BF16 compute per chip | 918 TFLOP/s | Theoretical peak compute, not measured service performance. |
| Nominal HBM per chip | 32 GB | Local memory; inspect the usable runtime budget. |
| HBM bandwidth per chip | 1 638 GB/s | Memory traffic, separate from the interchip network. |
| Bidirectional ICI per chip | 800 GB/s | Chip interconnect; do not add this bandwidth to HBM bandwidth. |
| Full Pod | 256 | Chips connected in a two-dimensional torus topology. |
What MXUs do: reuse data close to computation
A dense layer combines activations and weights through matrix multiplication. Each v6e TensorCore has two 256 × 256 MXUs for this work. Their systolic organization moves data between compute elements to reuse it. The TensorCore also includes vector and scalar resources: MXUs do not execute every operation in a model.
Available multiply capacity is only part of the story. Small matrices, frequent transfers or an uneven input pipeline can leave compute idle. The host CPU prepares and controls part of the work; HBM holds accelerator data. Profile the whole pipeline to identify whether computation, memory or input delivery is the bottleneck.
Original functional schematic, not a physical chip layout. The two small grids represent the two MXUs, not their 256 × 256 cells. Arrows do not encode measured bandwidth.
Prepare batches, drive execution and transfer the required data to the accelerator.
Store weights, activations and workspaces; feed computation and receive results.
Run supported matrix operations with data reuse; other units handle other operations.
Adding memory capacities does not create one shared memory
Consider a hypothetical dense model with 70 billion parameters. Its weights alone take 70 billion × 2 bytes = 140 GB at 16 bits, using decimal units. Five 32 GB chips are an arithmetic lower bound on nominal capacity, not a proposed configuration or proof that the model runs. Four chips total only 128 GB; eight total 256 GB. Weights still have to be partitioned across chips.
Training also needs gradients, optimizer states and activations. Inference adds KV cache, concurrency and workspaces. The runtime reserves resources, and placement can leave one chip more loaded than another. Check actual available memory, retain headroom, and inspect the most heavily loaded chip: an aggregate capacity does not establish that every shard fits.
| Chip count | Aggregate nominal HBM | Interpretation for the 140 GB weight example only |
|---|---|---|
| 1 chip | 32 GB | Insufficient for these unpartitioned weights. |
| 4 chips | 128 GB | Less than the weights alone require. |
| 8 chips | 256 GB | More aggregate capacity than weights; placement and other allocations still need validation. |
ICI and DCN: two networks at different scales
The v6e Pod uses a two-dimensional torus ICI topology. Supported slice shapes include 2 × 2, 2 × 4 and 4 × 4, depending on the provisioning path. VM count does not always match physical host count: an eight-chip configuration can appear differently across services. Check slice shape, machine type and API together.
With Multislice, traffic between slices passes through hosts and the data center network, or DCN. It has different characteristics from internal ICI links. Frequent cross-slice collectives can limit the benefit of scaling out. The historical Cloud TPU API page now flags limited maintenance and directs Multislice users to GKE; follow the current deployment documentation rather than copying an old command unchecked.
Two illustrative groups of 16 chips arranged 4 × 4. The drawing distinguishes communication levels; it does not reproduce torus wiring, VM counts or a deployment configuration. No application throughput is measured.
Chips communicate over ICI. Tensor placement needs to account for model communication.
Data passes through hosts; this network is separate from HBM and ICI links.
The second group has its own distributed memory. Adding a group calls for a fresh look at parallelism.
XLA: compile a program that suits the hardware
JAX expresses computations and transforms them; XLA compiles the relevant portions for the accelerator. Compilation makes choices about operations, memory layouts and buffer reuse. The first call can include this work. Changes in shapes or static arguments can trigger another compilation even when the Python code looks unchanged.
Regular shapes and sufficiently large matrices can improve MXU utilization. Padding extends some dimensions to fit the hardware, at the expense of extra computation or memory. Advice in a guide covering several TPU generations is not automatically a universal v6e prescription. Choose numerical precision against the quality requirement too: BF16 inputs, accumulation and optimizer state are different concerns.
Partition data or the model: what actually changes
Sharding partitions an array and places its pieces across devices. In data parallelism, replicas process different parts of a batch and synchronize contributions; weights may be replicated. Model parallelism partitions selected tensors or groups of layers. These choices change per-chip storage, communication and the size of local computations.
Adding chips without increasing useful work can shrink local shards and make communication a larger share of runtime. A simple arithmetic example: dividing a global batch of 128 equally across eight replicas gives 16 examples per replica. Across 16 replicas, each receives eight. This does not describe every parallelism strategy or imply a replica count from a slice shape.
- Data
- Distinguish global batch size from per-replica batch size and measure synchronization.
- Model
- Specify where weights, activations and states live, and which transfers are necessary.
- Balance
- Inspect memory and time on each device rather than relying on the group average.
Time completed work, not just dispatch
JAX can dispatch computation asynchronously. Timing only the Python call can measure enqueueing instead of computation. The example waits for transfers, runs once for compilation and warm-up, and synchronizes the result of the timed call. It assumes an existing TPU-enabled JAX environment and does not create cloud resources.
The printed number is seconds for this small computation, not a model benchmark or evidence of Trillium performance. A serious study repeats measurements, distinguishes startup from steady state, and profiles representative work. XProf can reveal compute, idle, memory and communication periods. Include inputs, preprocessing and checkpointing that a micro-measurement omits.
import time
import jax
import jax.numpy as jnp
device = jax.devices("tpu")[0]
a = jax.device_put(jnp.ones((1024, 1024), dtype=jnp.bfloat16), device)
b = jax.device_put(jnp.ones((1024, 1024), dtype=jnp.bfloat16), device)
a.block_until_ready()
b.block_until_ready()
@jax.jit
def matmul(x, y):
return x @ y
matmul(a, b).block_until_ready()
start = time.perf_counter()
result = matmul(a, b)
result.block_until_ready()
print(time.perf_counter() - start)Plan operations before the large run
Check TPU version, zone, quotas and accessible capacity through the chosen service. Quota authorizes a usage level; it is not a reservation or a capacity guarantee. Purchase and interruption modes suit different workloads. Before a long run, test saving and restoring a checkpoint so recovery is more than an assumption.
Pin framework and runtime versions, model revision, precision, batch size, placement and recovery policy. Comparisons should include compute, storage, any transfers, compilation, interrupted attempts and operations. Prices depend on region and offer; check applicable rates when planning. The useful criterion is the cost of completed work at the required quality, beyond the listed price of a chip.
Decide using work that resembles yours
Start with a configuration suited to representative work, then increase distribution when memory, latency or throughput justifies it. Compare equivalent models, quality and useful work volumes. During training, also track convergence: a faster step is not sufficient if a batch-size change requires more steps to reach the target quality.
For inference, separate time to first token, inter-token latency and throughput under concurrency; for training, track step time and useful progress. In both cases retain errors, memory peaks and idle periods. The goal is a reproducible configuration and a documented trade-off between quality, time, resources and operations.
- Compatibility
- The model, operations and versions run on the selected TPU stack.
- Memory
- The busiest chip retains headroom under actual allocations.
- Measurement
- Compilation, synchronized computation, inputs and communication are identified separately.
- Service
- The workload reaches its quality target with acceptable latency, recovery and cost.
ORIGINAL DOCUMENT
Catalog record
1. Foundations: hardware, silicon and accelerators
Google google.com Cloud TPU v6 (Trillium) — Innovation: 9, Adoption: 9
Editorial source: Taxonomie des Technologies d'Intelligence Artificielle · § 5266. Addresses restored with dots; innovation and adoption scores remain those of the document.
VERIFY AND EXPLORE
References
The catalog retains “Cloud TPU v6 (Trillium)” and its original ratings. This guide specifically covers TPU v6e, its API identifier, using sources accessed on November 4, 2026. Specifications are vendor claims; the worked examples and explanatory drawings are original Cognibiz material. No TPU was provisioned and no hardware benchmark was run for this guide.
- 01Google Cloud — TPU v6e
Architecture, capabilities and configurations. Bandwidth units follow the English table, avoiding errors in some translations.
docs.cloud.google.com · - 02
- 03Google Cloud — Introduction to Cloud TPU
Accelerator scope and XLA compilation.
docs.cloud.google.com · - 04Google Cloud — TPU performance guide
Input delivery, matrix size, padding and the limits of generic tuning advice.
docs.cloud.google.com · - 05Google Cloud — Multislice introduction
ICI versus DCN; clearly identified as the historical API documentation.
docs.cloud.google.com · - 06Google Cloud — Multislice on GKE
Current deployment path referenced by the Multislice documentation.
docs.cloud.google.com · - 07JAX — Distributed arrays and parallelization
Array sharding, placement and replication.
docs.jax.dev · - 08
- 09
- 10Google Cloud — Profile a model on TPU
XProf and representative workload profiles.
docs.cloud.google.com · - 11Google Cloud — Plan TPU resources
Capacity, consumption modes and quotas for the chosen service.
docs.cloud.google.com · - 12Google Cloud — TPU pricing
Check current offers and rates; this guide does not fix a price.
cloud.google.com ·
Catalog provenance
Taxonomie des Technologies d'Intelligence Artificielle · Google DocsSource document consulted on . § 5266.
Websites cited in the record
A website’s inclusion in the catalog does not verify the versions, projections or results mentioned in the document.
FROM KNOWLEDGE TO PROJECT
Apply this knowledge to your context.
Scope, architecture, roadmap and notes: keep your decisions in the dedicated space.


