Skip to content
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

Add is_ready to model trusses #1283

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

spal1
Copy link
Collaborator

@spal1 spal1 commented Dec 13, 2024

🚀 What

Adds a is_ready function to the model wrapper that users can use to define their custom health checks. This function is called on calls to this endpoint /v1/models/{model_name} (our existing health check endpoint), if defined. Otherwise we'll fall back to the existing health check functionality which checks if either the load failed or the model is not in a ready state.

🔬 Testing

TODO: Test on dev with an RC
Added a couple of integration tests and ensured they pass locally.

Copy link

linear bot commented Dec 13, 2024

@spal1 spal1 marked this pull request as ready for review December 20, 2024 22:26
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.

1 participant