The final implementation keeps a specific execution path
For supported data types, Vulkan selects dedicated short-row pipelines when a row contains no more than eight elements. Each invocation identifies its row, calculates values through a loop and writes the result. Index calculation uses fastdiv, while sum_rows implements mean through its weight. The short dimension is an internal tensor axis, not the number of words in a user’s prompt. Longer rows and other data types continue through the relevant backend paths, so the optimization should be described in terms of eligible operations rather than every inference request.
Operator timings measure a narrow case
The author reports RTX PRO 6000 measurements for approximately 3.4 million rows containing four values each. soft_max falls from 1,653 to 42 microseconds and sum_rows from 1,662 to 10 microseconds, with a similar reduction reported for mean. Those figures measure particular operators and tensor shapes. Their large ratios do not establish equivalent acceleration for an entire conversation. A model executes many other computations, and its overall benefit depends on how much of the workload actually reaches the newly optimized path.
Decode results and the reverted vector-load experiment differ
For Hy4 flash Q2_K_XL on the same GPU, the author reports decode throughput increasing from 53 to 60 tokens per second at 4k context and from 9.6 to 54.8 at 16k. These results belong to the stated workload and were not independently reproduced by this newsroom. The release history also records a vec4-load experiment that reduced softmax time to 19 microseconds. That experiment was reverted because overall Hy4 decoding did not improve and sum_rows became slower with eight values. The final shaders retain the simpler scalar loop.
Prerelease evaluation needs a controlled comparison
The contributor reports passing test-backend-ops and test-llama-archs on Vulkan with the relevant short-row cases. Release notes separately record removal of temporary test cases, demonstrating why commit history should not be read as a list of features that all remain enabled. A useful deployment comparison keeps the model, quantization, GPU, context and launch parameters consistent. We reviewed the pull request, release metadata and final shaders, but did not install the build or execute upstream code. Its prerelease status remains relevant when deciding whether to adopt it.

Discussion.
Your perspective matters. Sign in, pick a nickname and choose your cyber identity.
Loading discussion…
Your account name, email and photo stay off your comments.