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

Added Inference Spec & CI #5

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

Added Inference Spec & CI #5

wants to merge 3 commits into from

Conversation

AlejandroEsquivel
Copy link
Contributor

@AlejandroEsquivel AlejandroEsquivel commented Sep 17, 2024

Added:

  • Added Inference Spec class to support Ray, Sagemaker, FastAPI in one go
  • Added CI to support to deploy/update validator's inference endpoint on the cluster

Example Running FastAPI with Inference Spec:

pip install git+https://github.com/guardrails-ai/models-host@feat/adding-ray-setup
uvicorn models_host.fastapi:app

Example Running Ray Serve with Inference Spec:

# Refer to models-host repo for instructions if you don't have a GPU on the machine running ray serve
pip install git+https://github.com/guardrails-ai/models-host@feat/adding-ray-setup
serve run models_host.ray_serve:app

@AlejandroEsquivel AlejandroEsquivel marked this pull request as ready for review September 17, 2024 02:37
@AlejandroEsquivel AlejandroEsquivel marked this pull request as draft September 17, 2024 06:29
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