Skip to content
Back to skills

Training Throughput

ASecurity

Evaluates the scalability and efficiency of distributed machine learning systems by measuring how many training tokens each system can process per second across different hardware topologies and model parallelism strategies. Use when the user has predictions and gold and needs to compute training throughput (tokens/second).

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
datapythongoperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill training_throughput --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Training Throughput?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Training Throughput
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-training-throughput/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-training-throughput)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: training_throughput
description: Evaluates the scalability and efficiency of distributed machine learning systems by measuring how many training tokens each system can process per second across different hardware topologies and model parallelism strategies. Use when the user has predictions and gold and needs to compute training throughput (tokens/second).
metadata:
  skill_kind: metric
  source_arxiv: 2203.12533
  bibtex_key: [REDACTED]
  confidence: high
---

# training_throughput

> Pathways: Asynchronous Distributed Dataflow for ML — Barham et al. (2022) (arXiv:2203.12533, 2022)

## What this evaluates

Evaluates the scalability and efficiency of distributed machine learning systems by measuring how many training tokens each system can process per second across different hardware topologies and model parallelism strategies.

## Datasets

- **T5 model configurations (Raffel et al. 2019)** — total ?; splits: train (-1)
- **3B Decoder-only Transformer** — total ?; splits: train (-1)
- **64B/136B Decoder-only Transformer** — total ?; splits: train (-1)

## Metrics

- `training throughput (tokens/second)` **(primary)** — range: tokens/s
  - Total number of training tokens processed divided by the wall-clock time required for training steps. Reported in thousands of tokens per second (k tokens/s).
- `computation throughput (computations/second)` — range: computations/s
  - Number of micro-benchmark computations executed per second on accelerators.

## Input / output format

**Input**: Distributed training code (JAX, TensorFlow, Pathways, or Ray) and fixed global batch sizes fed to TPU or GPU clusters.

**Output**: Throughput values (tokens/second or computations/second) reported in tables and figures.

## Scoring recipe

```python
def compute_throughput(total_units, wall_clock_seconds):
    return total_units / wall_clock_seconds
# total_units is either training tokens or micro-benchmark computations.
# Values are typically reported in k tokens/s or computations/s.
```

## Common pitfalls

- Throughput is highly sensitive to hardware interconnects (ICI vs DCN) and TPU generations; cross-system comparisons require identical hardware configurations.
- Batch size and micro-batch configuration must be kept constant when comparing SPMD vs. pipeline parallelism, as they directly affect throughput.
- Numerical correctness (identical perplexity) is verified but not reported as a quantitative metric, so performance differences are purely system-level.

## Evidence (verbatim from paper)

> Table 1 shows the training throughput (tokens/second) for Text-to-text Transformer model with various model sizes (up to 11 billion parameters), training on different number of accelerators. As expected, since the model code is the same, the models trained on JAX and Pathways achieve the same perplexity in the same number of steps. Over all tested model sizes, the two systems show identical performance since realistic computations are large enough to mask single-controller overheads.

## Citation

```bibtex
@misc{barham2022pathways,
  title={Pathways: Asynchronous Distributed Dataflow for ML},
  author={Barham et al. (2022)},
  year={2022},
  note={arXiv:2203.12533}
}
```

- arXiv: 2203.12533

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.