Skip to content

Conversation

@phymbert
Copy link
Collaborator

Context
When the server is processing tasks, there is no actuator endpoints to monitor progress and slots state. It might be useful for investigation to expose slots internal state.

Proposed changes
Expose a GET /slots endpoint which dump slots state as json. As the state can leak user information, it can be disabled with --slots-endpoint-disable.

Copy link
Member

@ggerganov ggerganov Feb 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 space indent

@ggerganov
Copy link
Member

Resolve conflict and merge

@phymbert phymbert force-pushed the feature/server-slots-endpoint branch from 50c9f44 to 491cf79 Compare February 18, 2024 17:02
@phymbert
Copy link
Collaborator Author

Resolve conflict and merge

Thanks, done, I have not the write access 🥇

@ggerganov ggerganov merged commit c145f8a into ggml-org:master Feb 18, 2024
jordankanter pushed a commit to jordankanter/llama.cpp that referenced this pull request Mar 13, 2024
@phymbert phymbert deleted the feature/server-slots-endpoint branch March 16, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants