CPU, GPU AND RAM

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

In this article
THE QUICK TAKE

The report shows larger-batch gains for its AMX path, while activation precision and small-batch exceptions prevent interpreting it as a universal isolated instruction-set advantage.

Identify the report and tested server

The Intel-hosted guided research report 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 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 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 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 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.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles