Initial commit
This commit is contained in:
commit
9cea1c1bba
13 changed files with 848 additions and 0 deletions
30
docker-compose.gpu.yml
Normal file
30
docker-compose.gpu.yml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# GPU override — use on machines with NVIDIA GPU (e.g. RTX 2070)
|
||||
#
|
||||
# Usage:
|
||||
# docker compose -f docker-compose.yml -f docker-compose.gpu.yml up
|
||||
#
|
||||
# Requirements:
|
||||
# - NVIDIA drivers installed
|
||||
# - nvidia-container-toolkit installed
|
||||
# https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html
|
||||
|
||||
services:
|
||||
ollama:
|
||||
image: ollama/ollama:latest
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: 1
|
||||
capabilities: [gpu]
|
||||
|
||||
kokoro:
|
||||
image: ghcr.io/remsky/kokoro-fastapi-cuda:v0.8.1
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: 1
|
||||
capabilities: [gpu]
|
||||
Loading…
Add table
Add a link
Reference in a new issue