A specific operation within the PyTorch library, known as torch.index_add_, allows users to distinguish between otherwise identical GPU units. The method enables the extraction of a unique hardware identifier, or fingerprint, from individual graphics processing units regardless of whether they are the same model.
The technique relies on the fact that floating-point mathematics results can vary based on the order of operations, which differs across physical GPU hardware. The resulting identifier is persistent, surviving system reboots, and cannot be spoofed, according to the technical writeup published by @divagr1925.
