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]
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
- The NVIDIA source says: Printed loss values are not sensitive enough to establish bitwise identical numerics. Scale Bitwise-Deterministic Pretraining with NVIDIA Megatron Core
- 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
- The NVIDIA source says: A stronger validation procedure fingerprints selected numerical metrics at every step. Scale Bitwise-Deterministic Pretraining with NVIDIA Megatron Core
- The NVIDIA source says: Run the same configuration twice and compare these fingerprints step by step. Scale Bitwise-Deterministic Pretraining with NVIDIA Megatron Core
- The NVIDIA source says: The first mismatching step helps narrow the investigation. Scale Bitwise-Deterministic Pretraining with NVIDIA Megatron Core