We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad72207 commit 1c30c28Copy full SHA for 1c30c28
tools/server/server-queue.cpp
@@ -305,7 +305,7 @@ server_task_result_ptr server_response_reader::next(const std::function<bool()>
305
if (!states.empty()) {
306
// update the generation state if needed
307
size_t idx = result->get_index();
308
- GGML_ASSERT(idx >= 0 && idx < states.size());
+ GGML_ASSERT(idx < states.size());
309
result->update(states[idx]);
310
}
311
if (result->is_stop()) {
0 commit comments