]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
perplexity: give more information about constraints on failure (#15303)
authorkallewoof <redacted>
Thu, 14 Aug 2025 06:16:32 +0000 (15:16 +0900)
committerGitHub <redacted>
Thu, 14 Aug 2025 06:16:32 +0000 (09:16 +0300)
commit3ea913f1ce9567289aedd866a569dbab8fb8e419
tree1bf411254461d9d88526c55e2e7dd85e1202102e
parent29c8fbe4e05fd23c44950d0958299e25fbeabc5c
perplexity: give more information about constraints on failure (#15303)

* perplexity: give more information about constraints on failure

This checks whether -np is insufficient vs context, and provides clues as to how much is needed for each.

* log formatting

* log error and return instead of storing max_seq_exceeded int

* check if s0 is zero for -np check
tools/perplexity/perplexity.cpp