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 serving with SkyPilot #20

Merged
merged 6 commits into from
Mar 21, 2023
Merged

Add serving with SkyPilot #20

merged 6 commits into from
Mar 21, 2023

Conversation

infwinston
Copy link
Member

Add instructions and YAMLs to launch alpaca serving with SkyPilot, along with serving on Spot instances.

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
Copy link
Member

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"?

Copy link
Member Author

@infwinston infwinston Mar 21, 2023

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"!

@merrymercy merrymercy merged commit bd38d42 into main Mar 21, 2023
@merrymercy merrymercy deleted the add-sky-serving branch March 21, 2023 10:35
Copy link
Member

@merrymercy merrymercy left a 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
Copy link
Member

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?

Copy link
Member Author

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
Copy link
Member

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?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah should be removed!

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