Relative Content

Tag Archive for serializationmemory-management

Memory Leak in torch.load() with PyTorch

I’ve discovered a memory leak in torch.load() when loading a saved tensor. Despite explicitly deleting the loaded object and invoking garbage collection, the memory usage does not decrease as expected.