April 2024
Intermediate to advanced
264 pages
6h 10m
English

What are techniques to speed up model inference through optimization without changing the model architecture or sacrificing accuracy?
In machine learning and AI, model inference refers to making predictions or generating outputs using a trained model. The main general techniques for improving model performance during inference include parallelization, vectorization, loop tiling, operator fusion, and quantization, which are discussed in detail in the following sections.
One common way to achieve better parallelization during inference is to run the model on a batch of samples rather than on a single sample ...
Read now
Unlock full access