From 91dd3b3b5953dc9dcdd5d2f61ac4183fa5bbe941 Mon Sep 17 00:00:00 2001 From: Bart Willems Date: Mon, 27 May 2024 19:00:10 +0200 Subject: [PATCH] fix(localai): added all-in-one images (#22508) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** This PR adds all-in-one images that have support for may AI models out of the box. Most TTS models don't work with the currently available images. **โš™๏ธ Type of change** - [ ] โš™๏ธ Feature/App addition - [x] ๐Ÿช› Bugfix - [ ] โš ๏ธ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] ๐Ÿ”ƒ Refactor of current code **๐Ÿงช How Has This Been Tested?** Pulled the images with the hashes **๐Ÿ“ƒ Notes:** **โœ”๏ธ Checklist:** - [x] โš–๏ธ My code follows the style guidelines of this project - [x] ๐Ÿ‘€ I have performed a self-review of my own code - [ ] #๏ธโƒฃ I have commented my code, particularly in hard-to-understand areas - [ ] ๐Ÿ“„ I have made corresponding changes to the documentation - [x] โš ๏ธ My changes generate no new warnings - [ ] ๐Ÿงช I have added tests to this description that prove my fix is effective or that my feature works - [x] โฌ†๏ธ I increased versions for any altered app according to semantic versioning - [x] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` **โž• App addition** If this PR is an app addition please make sure you have done the following. - [ ] ๐Ÿ–ผ๏ธ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --- charts/stable/local-ai/Chart.yaml | 2 +- charts/stable/local-ai/questions.yaml | 6 ++++++ charts/stable/local-ai/values.yaml | 12 ++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/charts/stable/local-ai/Chart.yaml b/charts/stable/local-ai/Chart.yaml index 0dc7192d965..0d69f667819 100644 --- a/charts/stable/local-ai/Chart.yaml +++ b/charts/stable/local-ai/Chart.yaml @@ -34,4 +34,4 @@ sources: - https://github.com/truecharts/charts/tree/master/charts/stable/local-ai - https://hub.docker.com/r/localai/localai type: application -version: 10.18.0 +version: 10.19.0 diff --git a/charts/stable/local-ai/questions.yaml b/charts/stable/local-ai/questions.yaml index 806ef9a1e4f..128e582861d 100644 --- a/charts/stable/local-ai/questions.yaml +++ b/charts/stable/local-ai/questions.yaml @@ -26,6 +26,12 @@ questions: description: Cublas Cuda 11 - value: cublasCuda11FfmpegImage description: Cublas Cuda 11 FFmpeg + - value: allInOneCuda12Image + description: All-in-one Cuda 12 + - value: allInOneCuda11Image + description: All-in-one Cuda 11 + - value: allInOneCpuImage + description: All-in-one CPU # Include{containerBasic} # Include{containerAdvanced} - variable: localai diff --git a/charts/stable/local-ai/values.yaml b/charts/stable/local-ai/values.yaml index 6aed666f683..7aa3ed96fdd 100644 --- a/charts/stable/local-ai/values.yaml +++ b/charts/stable/local-ai/values.yaml @@ -22,6 +22,18 @@ cublasCuda11FfmpegImage: repository: docker.io/localai/localai pullPolicy: IfNotPresent tag: v2.16.0-cublas-cuda11-ffmpeg-core@sha256:8e90cd63d3a904d980a2a3ba5c1a78379cf9f4d37afff02d1c00a7aec279c146 +allInOneCuda12Image: + repository: docker.io/localai/localai + pullPolicy: IfNotPresent + tag: v2.16.0-aio-gpu-nvidia-cuda-12@sha256:7c0f92e7a12593da8bb7dae41d44219913cab35ede90b340b0d4b1e1d5e0eab3 +allInOneCuda11Image: + repository: docker.io/localai/localai + pullPolicy: IfNotPresent + tag: v2.16.0-aio-gpu-nvidia-cuda-11@sha256:5c52b338d391c2683c63fd0e382fc6c22cc1f9305701f00aa8cb9fc4a10eb37e +allInOneCpuImage: + repository: docker.io/localai/localai + pullPolicy: IfNotPresent + tag: v2.16.0-aio-cpu@sha256:e3c8e59b16e12f863a2590c15a21fbe1d45bda92c6a300604a833e9bc46b08ca securityContext: container: runAsNonRoot: false