Telling identical GPUs apart with one line of PyTorch A GPU fingerprinting technique using a standard PyTorch `torch.index_add_` call identified individual physically identical GPUs with 99.1% accuracy across 19 identical Nvidia A40s and 100% accuracy across seven identical RTX 3090s, according to the author's published results and GitHub code. The method exploits the nondeterministic order in which atomic adds land in memory, which the author says is shaped by stable per-die silicon quirks; the fingerprint survived a reboot with 100% re-identification, and an attempt to make one chip imitate another's fingerprint failed. The author reports the work cost a few dollars of rented GPU time and says it is the first identification of individual GPUs from a standard PyTorch op, extending to the RTX 4090 and L40S. ← My writing https://divagr.com/blog GPU FINGERPRINTING Telling identical GPUs apart with one line of PyTorch Two A40s off the same line share a design, not silicon, and the order their atomic adds land in gives them away. Your GPU has a tell Rent two A40s from the same datacenter and, on paper, you've got the same chip twice. Same model, same driver, same rack. Turns out they aren't the same at all: each one has its own small quirks, and those quirks leak into the numbers it computes. I built a way to tell physically identical GPUs apart using nothing but those numbers, and it works almost every time: 99.1% across 19 identical A40s , and 100% across seven identical RTX 3090s . It works on the 4090 and L40S too. The fun part is that you don't even need a special kernel for it. Feed a plain torch.index add call the right input, and it hands you the chip's identity right in its output tensor. People have fingerprinted GPUs before with custom-built race kernels, 1 footnote-1