Graph rewriting for large model support using categorized topological sort
AssigneeInternational Business Machines Corporation
InventorsTung D. Le, Haruki Imai, Yasushi Negishi, Kiyokuni Kawachiya
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsTung D. Le, Haruki Imai, Yasushi Negishi, Kiyokuni Kawachiya
Estimating the term…
A computer-implemented method is provided for managing GPU memory consumption by computational graph rewriting. The method includes constructing, by a hardware processor, a categorized topological ordering of a computational graph. The categorized topological ordering includes multiple computational nodes arranged in multiple levels. The method further includes estimating, by the hardware processor, the GPU memory consumption responsive to a level including two or more computational nodes from among the multiple computational nodes. The method also includes rewriting, by the hardware processor, the computational graph by linearizing the two or more computational nodes in the level to avoid overlapping of the GPU memory consumption by the two or more computational nodes responsive to the GPU memory consumption exceeding a threshold. The memory additionally includes managing the GPU memory consumption in accordance with the rewritten computational graph.
A computer-implemented method for managing GPU memory consumption by computational graph rewriting, comprising:
A computer program product for managing GPU memory consumption by computational graph rewriting, the computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising:
A computer processing system for managing GPU memory consumption by computational graph rewriting, comprising:
Dependencies are inferred from the claim text.