common : remove unused token util functions (#19506)

This commit removes two unused functions `common_lcp` and `common_lcs`.
The last usage of these functions was removed in
Commit 33eff40240 ("server : vision support
via libmtmd") and are no longer used anywhere in the codebase.
This commit is contained in:
Daniel Bevenius 2026-02-11 17:41:35 +01:00 committed by GitHub
parent e463bbdf65
commit 3136a849db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 70 deletions

View file

@ -779,16 +779,6 @@ void common_batch_add(
const std::vector<llama_seq_id> & seq_ids,
bool logits);
//
// Token utils
//
// longest common prefix
size_t common_lcp(const llama_tokens & a, const llama_tokens & b);
// longet common subsequence
size_t common_lcs(const llama_tokens & a, const llama_tokens & b);
//
// Vocab utils
//