Fix syntax to require gpu
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0c3d9ad4b6
commit
85b5fda0f3
@ -14,15 +14,15 @@ spec:
|
|||||||
app: localai
|
app: localai
|
||||||
spec:
|
spec:
|
||||||
runtimeClassName: nvidia
|
runtimeClassName: nvidia
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
nvidia.com/gpu: 2
|
|
||||||
containers:
|
containers:
|
||||||
- name: localai
|
- name: localai
|
||||||
image: quay.io/go-skynet/local-ai:latest-aio-gpu-nvidia-cuda-12
|
image: quay.io/go-skynet/local-ai:latest-aio-gpu-nvidia-cuda-12
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
env:
|
#env:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
nvidia.com/gpu: 3
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: "/models"
|
- mountPath: "/models"
|
||||||
name: models
|
name: models
|
||||||
|
Loading…
Reference in New Issue
Block a user