-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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 serving with SkyPilot #20
Conversation
README.md
Outdated
@@ -44,3 +44,22 @@ python3 -m chatserver.server.gradio_web_server | |||
sky launch -c alpaca-2 -s --num-nodes 2 --gpus A100-80GB:8 scripts/train.yaml --env WANDB_API_KEY | |||
``` | |||
Managed spot version TO BE ADDED. | |||
|
|||
## Serving |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is already a "## Serving" section. Maybe we can just add a whole new section called "SkyPilot integration"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah good point. I just updated it to "Deploy Chatbot on Any Cloud with SkyPilot"!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@infwinston I left some additional comments
cloud: gcp | ||
region: us-central1 | ||
|
||
num_nodes: 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the default vCPU we got?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
8 by default
pip install git+https://github.com/huggingface/transformers | ||
|
||
# Install alpaca | ||
git clone https://github.com/tatsu-lab/stanford_alpaca.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this training repo required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah should be removed!
Add instructions and YAMLs to launch alpaca serving with SkyPilot, along with serving on Spot instances.