Back to feed

b8101

Feb 19, 2026
Meta/llama.cppCLIvb8101

llama : use output_resolve_row() in get_logits_ith/get_embeddings_ith (#19663)

This commit updates get_logits_ith(), and get_embeddings_ith() to use output_resolve_row() to resolve the batch index to output row index.

The motivation for this is to remove some code duplication between these functions.

macOS/iOS:

Linux:

Windows:

openEuler: