feat: remove GPU support and simplify to CPU-only architecture
All checks were successful
Build and Push Docker Image / build (push) Successful in 8m35s
All checks were successful
Build and Push Docker Image / build (push) Successful in 8m35s
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Quick Start Guide
|
||||
|
||||
## 1. Local Development (CPU, ~2 minutes)
|
||||
## 1. Local Development (~2 minutes)
|
||||
|
||||
```bash
|
||||
# Clone or navigate to project
|
||||
@@ -100,7 +100,7 @@ Try endpoints directly in Swagger UI!
|
||||
# Check system health
|
||||
curl http://localhost:8000/api/v1/health
|
||||
|
||||
# Get detailed system info (CPU, memory, GPU, etc.)
|
||||
# Get detailed system info (CPU, memory, disk, etc.)
|
||||
curl http://localhost:8000/api/v1/system
|
||||
|
||||
# Get API statistics
|
||||
@@ -110,25 +110,7 @@ curl http://localhost:8000/api/v1/stats
|
||||
curl http://localhost:8000/api/v1/jobs
|
||||
```
|
||||
|
||||
## 6. GPU Setup (Optional, requires NVIDIA)
|
||||
|
||||
```bash
|
||||
# Build with GPU support
|
||||
docker compose -f docker-compose.gpu.yml build
|
||||
|
||||
# Run with GPU
|
||||
docker compose -f docker-compose.gpu.yml up -d
|
||||
|
||||
# Verify GPU is accessible
|
||||
docker compose -f docker-compose.gpu.yml exec api nvidia-smi
|
||||
|
||||
# Download models again on GPU
|
||||
curl -X POST http://localhost:8000/api/v1/models/download \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d '{"models": ["RealESRGAN_x4plus"]}'
|
||||
```
|
||||
|
||||
## 7. Production Deployment
|
||||
## 6. Production Deployment
|
||||
|
||||
```bash
|
||||
# Update docker-compose.prod.yml with your registry/domain
|
||||
|
||||
Reference in New Issue
Block a user