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

feat: Deploy Gradio UI App as a k8s deployment and service for stable diffusion inference #461

Merged
merged 3 commits into from
Mar 5, 2024

Conversation

ratnopamc
Copy link
Collaborator

What does this PR do?

  • Containerizes the Gradio UI App
  • Model endpoint and Service endpoint are passed an envs
  • Deploys the app as a deployment and exposes it as a service on EKS
  • Restructures the rayserve blueprints under inference

🛑 Please open an issue first to discuss any significant work and flesh out details/direction - we would hate for your time to be wasted.
Consult the CONTRIBUTING guide for submitting pull-requests.

Motivation

With this, users no longer need to have access to a local python environment and no longer needs to install python dependencies locally.

More

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • Mandatory for new blueprints. Yes, I have added a example to support my blueprint PR
  • Mandatory for new blueprints. Yes, I have updated the website/docs or website/blog section for this feature
  • Yes, I ran pre-commit run -a with this PR. Link for installing pre-commit locally

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

@ratnopamc ratnopamc changed the title Feat: Deploy Gradio UI App as a k8s deployment and service for stable diffusion inference feat: Deploy Gradio UI App as a k8s deployment and service for stable diffusion inference Mar 5, 2024
Copy link
Collaborator

@vara-bonthu vara-bonthu left a comment

Choose a reason for hiding this comment

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

Thank you for the update on the Gradio UI deployment. I've noted a few small points for consideration. Additionally, I noticed that the folder path for Llama2 inference has been altered. Could you please ensure the Llama2 documentation is updated to reflect this change? The specific document can be found here:

cd ai-ml/trainium-inferentia/examples/ray-serve/llama2-inf2
.

@vara-bonthu vara-bonthu merged commit 5f96cb3 into awslabs:main Mar 5, 2024
54 checks passed
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