From 84028c4040c9e211756aa43dec6bd631b81c581a Mon Sep 17 00:00:00 2001 From: Piotr Wilkin Date: Fri, 3 Apr 2026 13:01:02 +0200 Subject: [PATCH] fix: remove stale assert --- src/llama-vocab.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/llama-vocab.cpp b/src/llama-vocab.cpp index 5bce88aab408..cbd361b4b9a3 100644 --- a/src/llama-vocab.cpp +++ b/src/llama-vocab.cpp @@ -3712,9 +3712,7 @@ int llama_vocab::max_token_len() const { int llama_vocab::find_bpe_rank(const std::string & token_left, const std::string & token_right) const { GGML_ASSERT(token_left.find(' ') == std::string::npos); - GGML_ASSERT(token_left.find('\n') == std::string::npos); GGML_ASSERT(token_right.find(' ') == std::string::npos); - GGML_ASSERT(token_right.find('\n') == std::string::npos); auto it = pimpl->bpe_ranks.find(std::make_pair(token_left, token_right)); if (it == pimpl->bpe_ranks.end()) {