From 85b5fda0f3cd12849a6e79bda2ae425a8fddebf4 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Fri, 5 Apr 2024 11:37:54 -0400 Subject: [PATCH] Fix syntax to require gpu --- localai/localai-deployment.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/localai/localai-deployment.yaml b/localai/localai-deployment.yaml index 9d82038..4f26fbc 100644 --- a/localai/localai-deployment.yaml +++ b/localai/localai-deployment.yaml @@ -14,15 +14,15 @@ spec: app: localai spec: runtimeClassName: nvidia - resources: - limits: - nvidia.com/gpu: 2 containers: - name: localai image: quay.io/go-skynet/local-ai:latest-aio-gpu-nvidia-cuda-12 ports: - containerPort: 80 - env: + #env: + resources: + limits: + nvidia.com/gpu: 3 volumeMounts: - mountPath: "/models" name: models