VNNI's Genesis: Merging 3 Instructions into 1 for INT8

Intel introduced Vector Neural Network Instructions (VNNI) with its 2nd Gen Xeon Scalable processors (Cascade Lake) as part of Intel Deep Learning Boost. VNNI consolidates three separate AVX-512 instructions (vpmaddubsw, vpmaddwd, vpaddd) used in INT8 convolution operations into a single instruction, 'vpdpbusd', dramatically improving efficiency for deep learning inference workloads.

The top 3

  1. VNNI's Merged Instructions: The Original Three: Intel's VNNI consolidates three distinct AVX-512 instructions—`pmaddubsw`, `vpmaddwd`, and `vpaddd`—into a single instruction, `vpdpbusd`, specifically for INT8 deep learning operations.
  2. First VNNI-Enabled Intel Processors Launched: The 2nd Generation Intel Xeon Scalable Processors, codenamed "Cascade Lake," were the first Intel CPUs to introduce AVX512 VNNI, significantly accelerating INT8 inference for deep learning workloads.
  3. VNNI's Direct Performance Uplift: 3x Speed: By merging three common convolutional layer instructions into one, VNNI can theoretically provide a nearly 3x performance improvement for INT8 calculations, saving two clock cycles per merged operation.

Sources

Open the full topic