10000 rm assert · ngxson/llama.cpp@b8000fd · GitHub
[go: up one dir, main page]

Skip to content

Commit b8000fd

Browse files
committed
rm assert
1 parent 5fe8d72 commit b8000fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/server/server.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3256,7 +3256,8 @@ struct server_context {
32563256

32573257
// entire prompt has been processed
32583258
if (slot.n_past == slot.n_prompt_tokens) {
3259-
GGML_ASSERT(slot.cache_tokens.size() == slot.prompt_tokens.size());
3259+
// TODO @ngxson : this assertion fails sometimes, why?
3260+
// GGML_ASSERT(slot.cache_tokens.size() == slot.prompt_tokens.size());
32603261

32613262
slot.state = SLOT_STATE_DONE_PROMPT;
32623263

0 commit comments

Comments
 (0)
0