This commit is contained in:
Roy Han
2024-07-16 15:19:13 -07:00
parent eb7cc2d1ce
commit 23d5beeb9c
2 changed files with 33 additions and 33 deletions

View File

@@ -1855,6 +1855,8 @@ struct llama_server_context
if (batch.n_tokens == 0)
{
// HANGING HERE
LOG_INFO("no tokens to process", {});
all_slots_are_idle = true;
return true;
}
@@ -3200,7 +3202,6 @@ int main(int argc, char **argv) {
else {
image_data = "";
}
// TODO: prompt needs to represent the image data
// create and queue the task
json responses;