Skip to content

server: slots monitoring endpoint #5550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 18, 2024

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.

"typical_p": 1.0,
"use_penalty_prompt_tokens": false
}
]
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
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 1, 2024
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