vastai-ci-integration

Featured

Configure Vast.ai CI/CD integration with GitHub Actions and automated GPU testing. Use when setting up automated testing on GPU instances, or integrating Vast.ai provisioning into CI/CD pipelines. Trigger with phrases like "vastai CI", "vastai github actions", "vastai automated testing", "vastai pipeline".

AI & Automation 2,274 stars 319 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Vast.ai CI Integration ## Overview Integrate Vast.ai GPU provisioning into CI/CD pipelines. Run GPU-accelerated tests, model validation, and benchmarks as part of your automated workflow using GitHub Actions with the Vast.ai CLI. ## Prerequisites - GitHub repository with Actions enabled - `VASTAI_API_KEY` stored as GitHub Actions secret - Docker image for GPU workload published to a registry ## Instructions ### Step 1: GitHub Actions Workflow ```yaml # .github/workflows/gpu-test.yml name: GPU Tests on: push: branches: [main] pull_request: jobs: gpu-test: runs-on: ubuntu-latest timeout-minutes: 30 steps: - uses: actions/checkout@v4 - name: Install Vast.ai CLI run: | pip install vastai vastai set api-key ${{ secrets.VASTAI_API_KEY }} - name: Provision GPU Instance id: provision run: | # Search for cheapest reliable GPU OFFER_ID=$(vastai search offers \ 'num_gpus=1 gpu_ram>=8 reliability>0.95 dph_total<=0.25' \ --order dph_total --raw --limit 1 \ | python3 -c "import sys,json; print(json.load(sys.stdin)[0]['id'])") # Create instance INSTANCE_ID=$(vastai create instance $OFFER_ID \ --image ghcr.io/${{ github.repository }}/gpu-test:latest \ --disk 20 --raw \ | python3 -c "import sys,json; print(json.load(sys.stdin)['new_contract'])") echo "instance_id=$INSTANCE_ID" >...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

vastai-deploy-integration

Deploy ML training jobs and inference services on Vast.ai GPU cloud. Use when deploying GPU workloads, configuring Docker images, or setting up automated deployment scripts. Trigger with phrases like "deploy vastai", "vastai deployment", "vastai docker", "vastai production deploy".

2,274 Updated today
jeremylongshore
AI & Automation Featured

vastai-core-workflow-a

Execute Vast.ai primary workflow: GPU instance provisioning and job execution. Use when renting GPUs for training, searching offers by price and specs, or managing the full instance lifecycle from search to teardown. Trigger with phrases like "vastai rent gpu", "vastai training job", "vastai provision instance", "run job on vastai".

2,274 Updated today
jeremylongshore
AI & Automation Featured

vastai-install-auth

Install and configure Vast.ai CLI and REST API authentication. Use when setting up a new Vast.ai integration, configuring API keys, or initializing Vast.ai GPU cloud access in your project. Trigger with phrases like "install vastai", "setup vastai", "vastai auth", "configure vastai API key", "vastai gpu setup".

2,274 Updated today
jeremylongshore
AI & Automation Featured

vastai-prod-checklist

Execute Vast.ai production deployment checklist for GPU workloads. Use when deploying training pipelines to production, preparing for large-scale GPU jobs, or auditing production readiness. Trigger with phrases like "vastai production", "deploy vastai", "vastai go-live", "vastai launch checklist".

2,274 Updated today
jeremylongshore
AI & Automation Featured

vastai-local-dev-loop

Configure Vast.ai local development with testing and fast iteration. Use when setting up a development environment, testing instance provisioning, or building a fast iteration cycle for GPU workloads. Trigger with phrases like "vastai dev setup", "vastai local development", "vastai dev environment", "develop with vastai".

2,274 Updated today
jeremylongshore