Automatic latency optimization for cpu-based dnn serving
AssigneeMicrosoft Technology Licensing, LLC
InventorsAmar PHANISHAYEE, . Ankit, Deepak NARAYANAN, Mihail Gavril TARTA
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Technology Licensing, LLC
InventorsAmar PHANISHAYEE, . Ankit, Deepak NARAYANAN, Mihail Gavril TARTA
Estimating the term…
Systems and methods for optimizing thread allocation in a model serving system include estimating a batch size for inference requests. An optimal configuration is then determined that defines a number of inference instances, a number of threads per inference instance, and a sub-batch size per inference instance for processing a batch of inference requests of the batch size using intra-operator parallelism that minimizes average per-batch latency. The optimal configuration is determined with reference to a plurality of predetermined model profiles that define single-inference average batch latencies for different combinations of thread counts and batch sizes, the predetermined model profiles being used as input to a dynamic programming algorithm that identifies optimal configurations that minimize the average per-batch latency.
A thread optimization system for a model serving system, the thread optimization system comprising:
A method of optimizing thread allocation for a model serving system, the method comprising:
A non-transitory computer readable medium on which are stored instructions that, when executed, cause a programmable device to perform functions of:
Dependencies are inferred from the claim text.