Update ollama to use gpu
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tyler Perkins 2024-04-12 21:05:57 -04:00
parent 25f8c5b216
commit 7f3bb2c1f3
1 changed files with 4 additions and 0 deletions

View File

@ -13,11 +13,15 @@ spec:
labels:
app: ollama
spec:
runtimeClassName: nvidia
containers:
- name: ollama
image: ollama/ollama
ports:
- containerPort: 11434
resources:
limits:
nvidia.com/gpu: 2
volumeMounts:
- name: ollama-volume
mountPath: /root/.ollama