top of page


Beyond the GEMM: finding the CPU time XNNPACK leaves behind on Graviton
In our last post we sped up XNNPACK's 4x16c8 I8MM GEMM kernels on Arm Neoverse. We changed how they load activations (vld1q + vzip instead of per-lane loads). That gave +3–11% on TFLite int8 models with clang and 1.2–1.9x with GCC 11–15. The work is now going upstream as google/XNNPACK#11794. The compiler side of that story, loop-carried vld2q_lane tuples being spilled, became an RFC patch for GCC PR89967. A faster GEMM only helps the time spent in GEMM. So we asked the next

Rajeev Gadgil
Nov 164 min read


ResNet50 Performance Study
using PyTorch on ARM and x86 CPUs CPU Inference Benchmarking · ARM vs x86 · W8A8 Quantization Overview ResNet50 is a convolutional neural network built using bottleneck residual blocks of the form: 1×1 Conv → 3×3 Conv → 1×1 Conv + Skip Connection Among these layers, the 3×3 convolution layers dominate execution time, making Conv2d the primary hotspot during inference. Although ResNet50 performs ~4 GFLOPs per inference, it is not compute-heavy enough to fully utilize moder

Archana Barve
Jun 13 min read
bottom of page

