Skip to main content

Zero-Downtime Spot GPU Failover Guard & AI Acceleration Utility for Vast.ai & RunPod

Project description

SpotWarp: Zero-Downtime Spot GPU Failover Guard v3.0

PyPI Version License: MIT Security: Audited

SpotWarp is a lightweight, 100% local Python daemon that protects your AI inference & PyTorch training workloads on cheap Spot GPUs (Vast.ai, RunPod, AWS Spot) with zero downtime and automatic data restoration.

🔒 100% Local Security Guarantee

  • Zero-Key Leakage: Your VAST_API_KEY and RUNPOD_API_KEY stay 100% local on your host machine.
  • Zero Admin Rights Needed: Runs entirely in unprivileged user space.
  • Auditable Open Source: 100% open-source Python code.

🚀 Quick Start

1. Installation

pip install spotwarp

2. Run Guard Daemon (With Auto-Sync and Stateful Resume)

export VAST_API_KEY="your_vast_api_key_here"
spotwarp start --license-key YOUR_LICENSE_KEY --resume-cmd "python /workspace/train.py --resume"

⚡ How It Works

  1. 0.05s Eviction Detection: Monitors local/remote instance health 24/7.
  2. Instant Failover: Automatically selects the cheapest alternative Spot GPU on Vast.ai or RunPod upon eviction warning.
  3. High-Speed Rsync Delta Sync: Periodically backs up remote workspace files locally and automatically restores them to the replacement container before connection verification.
  4. Stateful Workload Resume: Launches the training command in the background (nohup) on the new node automatically.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spotwarp-3.0.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spotwarp-3.0.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file spotwarp-3.0.0.tar.gz.

File metadata

  • Download URL: spotwarp-3.0.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.13

File hashes

Hashes for spotwarp-3.0.0.tar.gz
Algorithm Hash digest
SHA256 2d7fe5abe24e07f36879c38514d01f2956b7a28a17d416f4d197fa1cef1182d0
MD5 ff33f1a4a74afc5fa055f2f9b387997b
BLAKE2b-256 7ad7a949c1b43026b4d78807767879f8a023c9e79f8eba4f905bb70af963daa8

See more details on using hashes here.

File details

Details for the file spotwarp-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: spotwarp-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.13

File hashes

Hashes for spotwarp-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04d0f2a81e6ceeee7fc4a1bb6b2d5db87c4c8aa1d8311317d840f3031fcb7765
MD5 dc5fcea1746dc85a045c7276374d7634
BLAKE2b-256 379f9d09a347df98096ebb42935c685f804c2708839517c4adec87cdd14b04d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page