Skip to content

Commit

Permalink
use github actions for colab testing
Browse files Browse the repository at this point in the history
  • Loading branch information
kp992 committed May 22, 2024
1 parent eca8220 commit 5c45aa7
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/collab.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,8 @@
name: Build Project on Google Collab (Execution)
on: [pull_request]
jobs:
deploy-runner:
runs-on: ubuntu-latest
steps:
- uses: iterative/setup-cml@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Deploy runner on EC2
env:
REPO_TOKEN: ${{ secrets.QUANTECON_SERVICES_PAT }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
cml runner launch \
--cloud=aws \
--cloud-region=us-west-2 \
--cloud-type=p3.2xlarge \
--labels=cml-gpu \
--cloud-hdd-size=250
execution-checks:
needs: deploy-runner
runs-on: [self-hosted, cml-gpu]
runs-on: ubuntu-latest-gpu
container:
image: docker://us-docker.pkg.dev/colab-images/public/runtime
options: --gpus all
Expand Down

0 comments on commit 5c45aa7

Please sign in to comment.