lint : remove trailing whitepace (#14304)
This commit is contained in:
parent
dd6e6d0b6a
commit
22015b2092
1 changed files with 1 additions and 1 deletions
|
@ -3078,7 +3078,7 @@ int32_t llama_vocab::tokenize(
|
||||||
LLAMA_LOG_ERROR("%s: tokenization result size %zu exceeds int32_t limit\n", __func__, res.size());
|
LLAMA_LOG_ERROR("%s: tokenization result size %zu exceeds int32_t limit\n", __func__, res.size());
|
||||||
return std::numeric_limits<int32_t>::min();
|
return std::numeric_limits<int32_t>::min();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (n_tokens_max < (int) res.size()) {
|
if (n_tokens_max < (int) res.size()) {
|
||||||
// LLAMA_LOG_ERROR("%s: too many tokens\n", __func__);
|
// LLAMA_LOG_ERROR("%s: too many tokens\n", __func__);
|
||||||
return -((int) res.size());
|
return -((int) res.size());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue