Skip to content
IJK

Fingerprinting Training Runs: Why Printed Loss Cannot Prove Identity

By IJK ·

Why the NVIDIA post says printed loss values cannot establish bitwise identical runs, what a stronger validation fingerprints and how the first mismatch is used.

Why printed loss is not enough

Printed loss values are not sensitive enough to establish bitwise identical numerics. [1]

Two runs can print the same rounded loss while differing in the lower-order bits of their gradients or parameters. [2]

Run the same configuration twiceCompare fingerprints step by stepThe first mismatching stephelps narrow the investigation
How does the post say to compare two runs and use the result?

A stronger validation procedure

A stronger validation procedure fingerprints selected numerical metrics at every step. [3]

Using a mismatch

Run the same configuration twice and compare these fingerprints step by step. [4]

The first mismatching step helps narrow the investigation. [5]

Sources

  1. The NVIDIA source says: Printed loss values are not sensitive enough to establish bitwise identical numerics. Scale Bitwise-Deterministic Pretraining with NVIDIA Megatron Core
  2. The NVIDIA source says: Two runs can print the same rounded loss while differing in the lower-order bits of their gradients or parameters. Scale Bitwise-Deterministic Pretraining with NVIDIA Megatron Core
  3. The NVIDIA source says: A stronger validation procedure fingerprints selected numerical metrics at every step. Scale Bitwise-Deterministic Pretraining with NVIDIA Megatron Core
  4. The NVIDIA source says: Run the same configuration twice and compare these fingerprints step by step. Scale Bitwise-Deterministic Pretraining with NVIDIA Megatron Core
  5. The NVIDIA source says: The first mismatching step helps narrow the investigation. Scale Bitwise-Deterministic Pretraining with NVIDIA Megatron Core

Editorial (AI-assisted; automatically checked, not human-reviewed). Each statement is linked to its source; check the source before relying on a detail.

  • training
  • determinism
  • megatron
  • debugging