Metadata-Version: 2.4
Name: gpu-action
Version: 2.0.0
Summary: Zero-Downtime Spot GPU Failover Guard & AI Acceleration Utility for Vast.ai & RunPod
Home-page: https://gpu-action.com
Author: GPU-Action Team
Author-email: info@gpu-action.com
Project-URL: Documentation, https://gpu-action.com
Project-URL: Source, https://github.com/enplabs/gpu-action
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: System :: Monitoring
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.25.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# GPU-Action: Zero-Downtime Spot GPU Failover Guard v2.0

[![PyPI Version](https://img.shields.io/badge/pypi-v2.0.0-blue.svg)](https://pypi.org/project/gpu-action/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Security: Audited](https://img.shields.io/badge/Security-Zero--Key--Leakage-green.svg)](https://gpu-action.com)

**GPU-Action** 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.

## 🔒 100% Local Security Guarantee
- **Zero-Key Leakage**: Your `VAST_API_KEY` stays 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
```bash
pip install gpu-action
```

### 2. Set Environment Variable & Run Guard
```bash
export VAST_API_KEY="your_vast_api_key_here"
gpu-action start --license-key YOUR_GPU_ACTION_LICENSE_KEY
```

## ⚡ How It Works
1. **0.05s Eviction Detection**: Monitors local/remote Vast instance health 24/7.
2. **Instant Failover**: Automatically selects the cheapest, highest-reliability replacement Spot GPU upon eviction warning.
3. **0% Downtime Proxy Rerouting**: Seamlessly redirects active inference HTTP traffic to the replacement node.

For full documentation and 14-day free trial keys, visit [https://gpu-action.com](https://gpu-action.com).
