﻿# How do you measure communication overlap in a TT-Metalium MoE layer?

How do you measure communication overlap in a TT-Metalium MoE layer? Look for a shorter critical path and sound outputs before crediting overlapping collectives.

Author: Retrivium editorial team
Updated: 2026-11-30
Canonical URL: https://retrivium.ai/journal/daily-20261130-compute-tt-metal-moe-collective-overlap/
Language: en

The TT-Metalium development build v0.84.0-dev20261129 includes a change to overlap a MoE head's reduce-scatter with the next chunk's input gather. The release notes also describe moving some completion waits later. This is a change in the schedule of work. It does not by itself show a speedup at a given scale or on a particular serving workload.

## Identify what should overlap

A gather makes inputs available for the next chunk. Reduce-scatter combines partial outputs and distributes the resulting slices. A pipeline can work on the next input while earlier outputs are in flight if the relevant dependency has been satisfied. Overlap on a device timeline still might yield no wall-clock improvement if operations contend for fabric bandwidth or execution resources.

## Measure a matched workload

Use the same routing distribution, batch, sequence shape and placement on the same devices. Compare an earlier build with the development build, retaining the warm-up and timed phases separately. Collect traces from multiple ranks to establish when gathers, reductions and compute begin and complete. Check that the inferred overlap persists through steady operation, rather than relying on an isolated interval.

## Account for contention

Measure end-to-end layer time and completed tokens alongside fabric utilization and per-rank waiting time. With uneven routing, the slow expert or rank can still determine when a chunk finishes. Validate numeric outputs within the agreed tolerance, including the short case at the boundary where the last chunk has no successor. Add a lightly loaded control in which fabric contention is small, then raise the offered load without changing placement. A gain that vanishes as the link fills describes where the pipeline helps. Keep the per-rank view because a system-wide average can conceal a single stalled rank.

## Set the pilot scope

Promote the implementation only on tested topologies where reduced waiting shortens the critical path and correctness survives. Use a separate comparison for another scale or traffic distribution. Record the development build identifier so the result remains reproducible.

## Sources

- [Primary source · tt-metal v0.84.0-dev20261129](https://github.com/tenstorrent/tt-metal/releases/tag/v0.84.0-dev20261129)
- [Primary source · tt-metal #67454](https://github.com/tenstorrent/tt-metal/pull/67454)

## Related reading

- [StragglAR: early ReduceScatter and the limits of arrival-delay overlap](/journal/stragglar-early-reduce-scatter-arrival-delay-boundaries/)
- [Reduce-scatter and all-gather: composing a distributed reduction](/journal/learn-reduce-scatter-allgather-composition/)
