Skip to content

Tasks queue logic doesn't seem to be logical #5000

Closed
@tikikun

Description

@tikikun

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest code. Development is very rapid so there are no tagged versions as of now.
  • I carefully followed the README.md.
  • I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • I reviewed the Discussions, and have a new bug or useful enhancement to share.

Feature Description

image https://github.com/ggerganov/llama.cpp/blob/2b3a665d3917edf393761a24c4835447894df74a/examples/server/server.cpp#L1558

Motivation

Task queue should only erase task "after" the task was resolved, with current implementation, the task queue does not allow user to know how many tasks are being resolved at the same time + other possible limitations.

Possible Implementation

Delete the task after it was resolved

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions