In this article
The b12401 s390x SIMD change must be evaluated with its actual repack configuration; prompt-processing gains do not imply equal decode gains.
llama.cpp b12401 adds s390x SIMD work for several Q4 and Q5 formats in the llamafile path. The upstream benchmark explicitly disables CPU repacking because some formats already have another repacked implementation. Its performance observations therefore describe a controlled implementation comparison, not every possible default build on IBM Z.
Competing optimized routes can hide one another
A format can already have repack support while a new non-repacked SIMD route is added. Enabling repack may select another implementation and leave the new code untested. A proposed comparison first confirms dispatch, then preserves the build setting across baseline and changed versions. Record both source tag and CPU-repack option. A model benchmark with only a version label cannot establish which optimized path produced the observed number.
Endianness is an artifact concern
The upstream command uses a model artifact prepared for the target platform. A local qualification should verify the actual model format and loader compatibility rather than assuming a file used on another architecture is identical in every representation detail. Keep tokenizer and model identity fixed while comparing kernels. The SIMD change is not permission to reinterpret arbitrary packed data without the loader’s expected byte-order and layout contract.
Prompt and generation expose different costs
The PR reports much larger best-case prompt-processing improvement than token-generation improvement. Preserve that phase distinction rather than selecting the largest percentage for a generic inference headline. A proposed local run records prompt length, generated length and thread count separately. SIMD arithmetic can affect phases differently when memory access and matrix shapes differ, so one total wall-clock number cannot explain the mechanism on its own.
Keep the upstream result attributed
The published measurements belong to the PR’s model and configuration. This article adds no independent IBM Z benchmark and does not claim equal gains for every quantization or machine. A useful adoption check combines dispatch verification, numerical output and phase timings on the intended s390x system. The release supplies another implementation route; the application’s chosen build determines whether that route contributes to its actual workload.
Sources
Related reading
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.