Prerequisites
Feature Description
The KV buffers are always allocated on the GPU by default (even when there are no layers offloaded i.e. -ngl 0). This can be disabled with the --no-kv-offload option as discussed here, but this option is currently not implemented in batched-bench.cpp. Doing so would help profile without the use of the GPU side buffers.
Motivation
llama-bench already supports this feature. Keeping it consistent with llama-batched-bench would improve the utility of batched-bench on heterogeneous systems.
Possible Implementation
No response
Prerequisites
Feature Description
The KV buffers are always allocated on the GPU by default (even when there are no layers offloaded i.e.
-ngl 0). This can be disabled with the--no-kv-offloadoption as discussed here, but this option is currently not implemented inbatched-bench.cpp. Doing so would help profile without the use of the GPU side buffers.Motivation
llama-bench already supports this feature. Keeping it consistent with llama-batched-bench would improve the utility of batched-bench on heterogeneous systems.
Possible Implementation
No response