feat: add skypilot.yml for skypilot (https://github.com/skypilot-org/skypilot) deployment

add-more-languages
Meng Zhang 2023-04-02 13:09:49 +08:00
parent 6877a071ec
commit 2cda4fd07b
1 changed files with 14 additions and 0 deletions

14
deployment/skypilot.yml Normal file
View File

@ -0,0 +1,14 @@
resources:
cloud: aws
accelerators: T4:1
setup: |
set -ex
git clone https://github.com/TabbyML/tabby.git || true
sudo curl -L "https://github.com/docker/compose/releases/download/v2.12.1/docker-compose-linux-x86_64" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
cd tabby && docker-compose pull
run: |
cd tabby/deployment
docker-compose up