Skip to content

Commit

Permalink
ggml cv for zephyr-7b-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
lynnleelhl committed Nov 9, 2023
1 parent 8d62843 commit 674180a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions addons/llm/templates/clusterversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,31 @@ spec:
volumeMounts:
- name: models
mountPath: /models
---
apiVersion: apps.kubeblocks.io/v1alpha1
kind: ClusterVersion
metadata:
name: ggml-zephyr-beta-7b-q4
labels:
{{- include "llm.labels" . | nindent 4 }}
spec:
clusterDefinitionRef: ggml
componentVersions:
- componentDefRef: ggml
versionsContext:
initContainers:
- name: download
image: {{ .Values.imageDev.registry | default "docker.io" }}/apecloud/zephyr-7b-beta-gguf:q4_0
command: ["sh", "-c", "cp /models/ggml-model-q4.gguf /models-target/"]
volumeMounts:
- name: models
mountPath: /models-target
containers:
- name: ggml
image: {{ .Values.imageDev.registry | default "docker.io" }}/{{ .Values.imageDev.repository}}:{{ default .Chart.AppVersion .Values.imageDev.tagNew }}
env:
- name: MODEL
value: /models/ggml-model-q4.gguf
volumeMounts:
- name: models
mountPath: /models

0 comments on commit 674180a

Please sign in to comment.