﻿# Xeon AMX versus VNNI for Llama: batch gains, precision paths and counter energy

An Intel-hosted TUM report compares AMX and VNNI paths for OpenVINO Llama. Read matched workload rows, small-batch exceptions and CPU energy-counter scope.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/xeon-amx-vnni-openvino-llama-batch-precision-counter-energy-study/
Language: en

## Identify the report and tested server

The [Intel-hosted guided research report](https://cdrdv2-public.intel.com/866175/p1079012-intel-adhoc-b2b-large-language-models-research-report-eng-v8.pdf) from TUM lists a submission date of April 23, 2025. That is an actual date inside the document, not necessarily its public publication date. The study compares Llama-2-7B-chat inference paths on a dual-socket Xeon Platinum 8460Y+ server using OpenVINO IR.

The report describes Ubuntu, controlled thermal and power conditions, and averages of 5 repetitions. It varies batch size and input length. The named processor’s power rating is not a measurement of complete server consumption, and the tested system should not be substituted with another Xeon merely because it also supports matrix instructions.

## Compare the same workload row

For weight-only INT8 with 128 input and 128 output tokens at batch 64, the AMX path reports 419.74 tokens/s, first-token latency of 4844.84 ms per batch and total energy of 11863.69 J. The VNNI path reports 312.37 tokens/s, 13387.81 ms and 23850.23 J.

The shared input/output length comes from the table caption. It matters because total joules for a batch are not joules per token or per individual request. Likewise, batch throughput is not the output rate perceived by every concurrent user. The [benchmark-method guide](/journal/inference-benchmark-method/) explains why load and latency belong beside aggregate throughput.

## Small batches preserve an important exception

In that same table, batch 1 reports throughput of 19.84 tokens/s with AMX versus 20.31 without it. Total energy is 3978.32 versus 3818.83 J, although AMX has lower first-token latency. A configuration can improve one phase while failing to improve the complete energy or generation-rate result.

Larger-batch advantages therefore should not become a promise that enabling AMX always accelerates an interactive request. The relevant decision depends on the arrival pattern, admitted concurrency and latency target. The [CPU-inference guide](/journal/cpu-llm-inference-use-cases/) provides context for testing that operating envelope rather than extrapolating from a favorable batch row.

## The comparison changes the precision path

The authors describe BF16 activations for the AMX route and FP32 for the VNNI route alongside quantized weights. This mixes instruction selection with a numerical execution difference. It is useful as a system-path comparison, but it does not isolate instructions under an identical activation format.

The [OpenVINO CPU documentation](https://docs.openvino.ai/2025/openvino-workflow/running-inference/inference-devices-and-modes/cpu-device.html) explains that internal primitive precision depends on model representation and hardware capabilities, with separate inference-precision controls. A weight label alone does not establish every operation’s arithmetic. The report’s references to preserved quality should also not be mistaken for a new task-quality evaluation of every measured configuration.

## Energy comes from processor counters

The study uses Intel PCM and RAPL-related energy domains, describing CPU and DRAM measurements over the inference interval. The [official PCM documentation](https://github.com/intel/pcm) confirms that the tool reports processor and memory energy metrics. Such counters do not include every server component or power-supply loss.

The paper identifies the inference window through its measurement procedure, but a complete reproduction would still need model conversion details, runtime revision, thread placement and raw timing/counter records. The result is a useful historical experiment about batch-dependent performance and energy on the reported paths. It is not a wall-energy comparison with GPUs or a guarantee that a lower-bit format always runs faster.
