Optimizing instruction scheduling and memory allocation for tensor and graphical processors using lattice image data structure optimizations
AssigneeGroq, Inc.
InventorSamir Jindel
Life of this patent
Estimating the term…
Loading patent…
AssigneeGroq, Inc.
InventorSamir Jindel
Estimating the term…
Optimizing instruction scheduling and memory allocation for tensor and graphical processors using lattice image data structure optimizations is provided. A method of using a loop fusion by a compiler in interconnected accelerator units to simplify a machine learning (ML) graph representing a program to be compiled is provided. The method includes (A) lowering a plurality of operations in an initial first program to an original plurality of at least two loops. The method also includes (B) inferring a fused loop structure from the original plurality of at least two loops in the initial first program thus creating a second program having the fused loop. The fused loop in the second program is pipelining the multiplication and addition operations thus significantly reducing the memory bandwidth requirements and improving cache locality.
A compiler process that reduces the number of variables in a program code representing relations of operations across long chains of tensor program operations such that the use of kernels at the lowest levels of program compilation can be eliminated, the process comprising a lattice image data structure for representing these relations in a tensor program code, and an algorithm that combines these relations while minimizing dimensionality of the integer sets and lattice images.
A method of using a loop fusion by a compiler in interconnected accelerator units to simplify a machine learning (ML) graph representing a program to be compiled, said method comprising:
An apparatus enabling a compiler in interconnected accelerator units to simplify a machine learning (ML) graph representing a program to be compiled, said method comprising:
Dependencies are inferred from the claim text.