fixes #1 works now
This commit is contained in:
14
ollama.yaml
14
ollama.yaml
@@ -22,7 +22,7 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: HSA_OVERRIDE_GFX_VERSION
|
- name: HSA_OVERRIDE_GFX_VERSION
|
||||||
value: 10.3.0
|
value: 10.3.0
|
||||||
image: docker.io/ollama/ollama:rocm
|
image: docker.io/ollama/ollama:0.12.3-rocm
|
||||||
name: ollama
|
name: ollama
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 11434
|
- containerPort: 11434
|
||||||
@@ -30,8 +30,20 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /root/.ollama
|
- mountPath: /root/.ollama
|
||||||
name: ollama-data-pvc
|
name: ollama-data-pvc
|
||||||
|
- name: dev-dri
|
||||||
|
mountPath: /dev/dri
|
||||||
|
- name: dev-kfd
|
||||||
|
mountPath: /dev/kfd
|
||||||
volumes:
|
volumes:
|
||||||
- name: ollama-data-pvc
|
- name: ollama-data-pvc
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: ollama-data
|
claimName: ollama-data
|
||||||
|
- name: dev-dri
|
||||||
|
hostPath:
|
||||||
|
path: /dev/dri
|
||||||
|
type: Directory
|
||||||
|
- name: dev-kfd
|
||||||
|
hostPath:
|
||||||
|
path: /dev/kfd
|
||||||
|
type: CharDevice
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user