The real cost of a Spot GPU eviction was never the few minutes of downtime — it's the hours of training progress that vanish with it. SpotWarp is a lightweight, 100% local Python daemon that runs continuous automatic backups of your workspace in the background, so an eviction never costs you your work. Sub-minute cross-cloud failover (Vast.ai ⇄ RunPod) is what turns that protected workspace into a hands-off recovery, but the backup is the part that actually saves you.
Save up to 70% on GPU compute bills by safely using Spot pricing instead of on-demand — the eviction risk that normally makes that a gamble is exactly what SpotWarp removes.
| Feature | Standard Spot Instance | With SpotWarp (v3.3.3) |
|---|---|---|
| Your Data, on Eviction | Gone. Whatever wasn't manually saved is lost with the instance. | Continuously backed up in the background before the eviction ever happens — nothing to lose. |
| Recovery Process | Manual console log-in, search for a new GPU, manual setup. | 100% Autopilot. Parallel candidate racing rents & verifies a replacement in under a minute. |
| If your cloud is out of stock | Failover fails outright — nothing to migrate to. | Cross-Cloud Bridge. Automatically rents on RunPod as a fallback, spot pricing first, on-demand if spot isn't offered. |
| Paying bridge-cloud rates forever | N/A | Auto-Failback. Watches for your original cloud's cheaper capacity to return and migrates you back automatically — the bridge cloud is never a permanent home. |
| Workload Continuation | Restart training from epoch 0. | Auto-Resume. Script continues running via nohup over SSH, from where the backup left off. |
| Security Risk | Requires placing S3/GitHub keys on unstable rented hosts. | Zero Key Leakage. All API keys remain on your local machine. |
rsync/scp incremental backups of your workspace to your local machine in the background, the whole time your instance is running — not just triggered after an eviction is detected. This is the feature that actually prevents loss; everything else below just makes recovering from it fast and hands-off.VAST_API_KEY, RUNPOD_API_KEY) stay on your local PC. Rented containers never see your cloud credentials.--resume-cmd) in the background of the new container, pointing directly to your restored, backed-up checkpoints.Linux / macOS (1-Liner):
curl -fsSL https://gpu-action.com/install.sh | bash
Windows PowerShell (1-Liner):
irm https://gpu-action.com/install.ps1 | iex
Standard Python pip (Any OS):
pip install --upgrade spotwarp
SpotWarp automatically detects your existing Vast.ai and RunPod keys from ~/.vast_api_key or ~/.runpod/config.toml. Or run the interactive setup wizard:
spotwarp init
# Option A: Foreground Live Console
spotwarp start
# Option B: 24/7 Background Daemon (safely close your terminal)
spotwarp start -d
spotwarp status # Check daemon health & PID
spotwarp stop # Gracefully stop the background daemon
spotwarp config # View local configuration
[Rented GPU Host] [Local PC (Client)] [New GPU Host]
(Active Workload)
│ │ │
│ ─── (Sync: rsync/scp delta) ──────> │ (Cached Workspace) │
│ │ │
[🚨 Evicted!] │ │
❌ ─── (Detected within 5s) ────────> │ │
│ ─── (Race 4 candidates) ──────────> │
│ cheapest of the ready pool wins │
│ ─── (Restore Workspace) ──────────> │
│ ─── (Nohup Resume Command) ──────> [Run Workload]
(Continuing!)
If Vast.ai has zero candidates:
│ ─── (Bridge to RunPod) ────────────> [Temp Replacement]
│ ⋯ keeps watching Vast.ai in the background ⋯
│ ─── (Vast.ai capacity returns) ──> [Migrate back, cheaper]
--resume-cmd in the background.SpotWarp is distributed under the MIT License. The code executes 100% locally in user space on your local computer, ensuring full transparency and compliance.
36 commits
HTML
59.5%
Python
36.1%
Shell
2.7%
PowerShell
1.3%
The real cost of a Spot GPU eviction was never the few minutes of downtime — it's the hours of training progress that vanish with it. SpotWarp is a lightweight, 100% local Python daemon that runs continuous automatic backups of your workspace in the background, so an eviction never costs you your work. Sub-minute cross-cloud failover (Vast.ai ⇄ RunPod) is what turns that protected workspace into a hands-off recovery, but the backup is the part that actually saves you.
Save up to 70% on GPU compute bills by safely using Spot pricing instead of on-demand — the eviction risk that normally makes that a gamble is exactly what SpotWarp removes.
| Feature | Standard Spot Instance | With SpotWarp (v3.3.3) |
|---|---|---|
| Your Data, on Eviction | Gone. Whatever wasn't manually saved is lost with the instance. | Continuously backed up in the background before the eviction ever happens — nothing to lose. |
| Recovery Process | Manual console log-in, search for a new GPU, manual setup. | 100% Autopilot. Parallel candidate racing rents & verifies a replacement in under a minute. |
| If your cloud is out of stock | Failover fails outright — nothing to migrate to. | Cross-Cloud Bridge. Automatically rents on RunPod as a fallback, spot pricing first, on-demand if spot isn't offered. |
| Paying bridge-cloud rates forever | N/A | Auto-Failback. Watches for your original cloud's cheaper capacity to return and migrates you back automatically — the bridge cloud is never a permanent home. |
| Workload Continuation | Restart training from epoch 0. | Auto-Resume. Script continues running via nohup over SSH, from where the backup left off. |
| Security Risk | Requires placing S3/GitHub keys on unstable rented hosts. | Zero Key Leakage. All API keys remain on your local machine. |
rsync/scp incremental backups of your workspace to your local machine in the background, the whole time your instance is running — not just triggered after an eviction is detected. This is the feature that actually prevents loss; everything else below just makes recovering from it fast and hands-off.VAST_API_KEY, RUNPOD_API_KEY) stay on your local PC. Rented containers never see your cloud credentials.--resume-cmd) in the background of the new container, pointing directly to your restored, backed-up checkpoints.Linux / macOS (1-Liner):
curl -fsSL https://gpu-action.com/install.sh | bash
Windows PowerShell (1-Liner):
irm https://gpu-action.com/install.ps1 | iex
Standard Python pip (Any OS):
pip install --upgrade spotwarp
SpotWarp automatically detects your existing Vast.ai and RunPod keys from ~/.vast_api_key or ~/.runpod/config.toml. Or run the interactive setup wizard:
spotwarp init
# Option A: Foreground Live Console
spotwarp start
# Option B: 24/7 Background Daemon (safely close your terminal)
spotwarp start -d
spotwarp status # Check daemon health & PID
spotwarp stop # Gracefully stop the background daemon
spotwarp config # View local configuration
[Rented GPU Host] [Local PC (Client)] [New GPU Host]
(Active Workload)
│ │ │
│ ─── (Sync: rsync/scp delta) ──────> │ (Cached Workspace) │
│ │ │
[🚨 Evicted!] │ │
❌ ─── (Detected within 5s) ────────> │ │
│ ─── (Race 4 candidates) ──────────> │
│ cheapest of the ready pool wins │
│ ─── (Restore Workspace) ──────────> │
│ ─── (Nohup Resume Command) ──────> [Run Workload]
(Continuing!)
If Vast.ai has zero candidates:
│ ─── (Bridge to RunPod) ────────────> [Temp Replacement]
│ ⋯ keeps watching Vast.ai in the background ⋯
│ ─── (Vast.ai capacity returns) ──> [Migrate back, cheaper]
--resume-cmd in the background.SpotWarp is distributed under the MIT License. The code executes 100% locally in user space on your local computer, ensuring full transparency and compliance.
36 commits
HTML
59.5%
Python
36.1%
Shell
2.7%
PowerShell
1.3%