File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,11 @@ python handler.py --test_input='{"prompt": "a cat wearing a hat"}'
101101# Build for AMD64
102102docker build --platform linux/amd64 -t sdxl-turbo-worker .
103103
104- # Run locally
104+ # Run locally with Docker
105105docker run --gpus all -p 8000:8000 sdxl-turbo-worker
106+
107+ # Or run with Docker Compose
108+ docker-compose up
106109```
107110
108111## Deployment
Original file line number Diff line number Diff line change 1+ services :
2+ worker-sdxl-turbo :
3+ image : runpod/worker-sdxl-turbo:dev
4+ pull_policy : never
5+
6+ deploy :
7+ resources :
8+ reservations :
9+ devices :
10+ - driver : nvidia
11+ count : all
12+ capabilities : [gpu]
13+
14+ ports :
15+ - " 8000:8000"
16+
17+ volumes :
18+ - ./var/runpod-volume:/runpod-volume
You can’t perform that action at this time.
0 commit comments