From c1fc22e746844ea8a3248f0918bcb34b8d70c7b0 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Mon, 31 Jul 2023 19:15:57 +0200 Subject: [PATCH] fix(examples): use pinned versions in the k8sgpt example (#845) Signed-off-by: Ettore Di Giacinto --- README.md | 3 +++ examples/k8sgpt/README.md | 2 +- examples/k8sgpt/values.yaml | 5 +++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bf665b6c..f181b499 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,9 @@ [![tests](https://github.com/go-skynet/LocalAI/actions/workflows/test.yml/badge.svg)](https://github.com/go-skynet/LocalAI/actions/workflows/test.yml) [![build container images](https://github.com/go-skynet/LocalAI/actions/workflows/image.yml/badge.svg)](https://github.com/go-skynet/LocalAI/actions/workflows/image.yml) +[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/localai)](https://artifacthub.io/packages/search?repo=localai) + + [![](https://dcbadge.vercel.app/api/server/uJAeKSAGDy?style=flat-square&theme=default-inverted)](https://discord.gg/uJAeKSAGDy) [Documentation website](https://localai.io/) diff --git a/examples/k8sgpt/README.md b/examples/k8sgpt/README.md index 5676c9ae..cfe9cabd 100644 --- a/examples/k8sgpt/README.md +++ b/examples/k8sgpt/README.md @@ -38,7 +38,7 @@ helm install local-ai go-skynet/local-ai --create-namespace --namespace local-ai # Install k8sgpt helm repo add k8sgpt https://charts.k8sgpt.ai/ helm repo update -helm install release k8sgpt/k8sgpt-operator -n k8sgpt-operator-system --create-namespace +helm install release k8sgpt/k8sgpt-operator -n k8sgpt-operator-system --create-namespace --version 0.0.17 ``` Apply the k8sgpt-operator configuration: diff --git a/examples/k8sgpt/values.yaml b/examples/k8sgpt/values.yaml index fc8179c6..cfceabea 100644 --- a/examples/k8sgpt/values.yaml +++ b/examples/k8sgpt/values.yaml @@ -2,12 +2,13 @@ replicaCount: 1 deployment: # https://quay.io/repository/go-skynet/local-ai?tab=tags - image: quay.io/go-skynet/local-ai:latest + image: quay.io/go-skynet/local-ai:v1.23.0 env: threads: 4 debug: "true" context_size: 512 - preload_models: '[{ "url": "github:go-skynet/model-gallery/wizard.yaml", "name": "gpt-3.5-turbo", "overrides": { "parameters": { "model": "WizardLM-7B-uncensored.ggmlv3.q5_1" }},"files": [ { "uri": "https://huggingface.co//WizardLM-7B-uncensored-GGML/resolve/main/WizardLM-7B-uncensored.ggmlv3.q5_1.bin", "sha256": "d92a509d83a8ea5e08ba4c2dbaf08f29015932dc2accd627ce0665ac72c2bb2b", "filename": "WizardLM-7B-uncensored.ggmlv3.q5_1" }]}]' + galleries: '[{"name":"model-gallery", "url":"github:go-skynet/model-gallery/index.yaml"}, {"url": "github:go-skynet/model-gallery/huggingface.yaml","name":"huggingface"}]' + preload_models: '[{ "id": "huggingface@thebloke__open-llama-13b-open-instruct-ggml__open-llama-13b-open-instruct.ggmlv3.q3_k_m.bin", "name": "gpt-3.5-turbo", "overrides": { "f16": true, "mmap": true }}]' modelsPath: "/models" resources: