IEEE Transactions on Computers · 2022 · 11 citations · 31 references
ComputingComputer EngineeringComputer ScienceArtificial IntelligenceMachine LearningMemoryDeep LearningHigh-throughput ComputingMemory HierarchyMemory Hierarchy OptimizationOptimization For Machine LearningVirtual MemoryDeep Learning AccelerationDeep Learning On GpusGlobal Memory ManagementHigh PerformanceMemory Footprint ReductionMemory PlacementMemory SpaceParticle Swarm Optimization
We propose HOlistic MEmory management (HOME), a new framework for performing tensor placements in large DNN training when GPU memory space is not enough. HOME combines tensor swapping with tensor recomputation to reduce GPU memory footprint. Different from existing work that only considers partial DNN model information, HOME takes the holistic DNN model information into account in tensor placement decisions. More specifically, HOME uses a custom-designed particle swarm optimization algorithm to achieve the globally optimized placement for each tensor of the DNN model with a greatly reduced searching space. This holistic awareness of the whole model information enables HOME to obtain high performance under the given GPU memory constraint. We implement HOME in PyTorch and conduct our experiments using six popular DNN models. Experimental results show that HOME can outperform vDNN and Capuchin by up to 5.7× and 1.3× in throughput. Furthermore, HOME can improve the maximum batch size by up to 2.8× than the original PyTorch and up to 1.3× than Capuchin.
31
Deep Residual Learning for Image Recognition
Kaiming He, Xiangyu Zhang, Shaoqing Ren et al. · 2016 · 222.1K citations · Full text
James Kennedy, R.C. Eberhart · 2002 · 47.5K citations
Yangqing Jia, Evan Shelhamer, Jeff Donahue et al. · 2014 · 11.2K citations