forked from h2oai/h2ogpt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
295 lines (237 loc) · 5.47 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
nameOverride: ""
fullnameOverride: ""
namespaceOverride: ""
h2ogpt:
enabled: true
stack:
# -- Run h2oGPT and vLLM on same pod.
enabled: false
replicaCount: 1
imagePullSecrets:
image:
repository: gcr.io/vorvan/h2oai/h2ogpt-runtime
tag:
pullPolicy: IfNotPresent
initImage:
repository:
tag:
pullPolicy:
# extra volumes, for more certs, mount under /etc/ssl/more-certs
extraVolumes: []
extraVolumeMounts: []
podAffinity:
# -- Set hostname and zone to true for pod affinity rules based on hostname and zone.
# hostname:
# zone:
storage:
size: 128Gi
class:
useEphemeral: true
externalLLM:
enabled: false
secret:
modelLock:
openAIAzure:
enabled: false
openAI:
enabled: False
replicate:
enabled: false
visionModels:
enabled: false
# -- Visible vision models, the vision model itslef needs to be set via modeLock or base_model
# -- Ex: visibleModels: ['OpenGVLab/InternVL-Chat-V1-5']
visibleModels: []
rotateAlignResizeImage: false
# -- Example configs to use when not using Model Lock and External LLM
# overrideConfig:
# base_model: h2oai/h2ogpt-4096-llama2-7b-chat
# use_safetensors: True
# prompt_type: llama2
# save_dir: /workspace/save/
# use_gpu_id: False
# score_model: None
# max_max_new_tokens: 2048
# max_new_tokens: 1024
overrideConfig:
visible_login_tab: False
visible_system_tab: False
visible_models_tab: False
visible_hosts_tab: False
# change below to valid vision model or remove this entry
#visible_vision_models: "['OpenGVLab/InternVL-Chat-V1-5']"
rotate_align_resize_image: False
concurrency_count: 100
top_k_docs_max_show: 100
num_async: 10
# change below to valid directory or remove this entry
#save_dir: "/docker_logs"
score_model: "None"
enable_tts: False
enable_stt: False
enable_transcriptions: False
embedding_gpu_id: "cpu"
hf_embedding_model: "fake"
openai_server: True
share: False
enforce_h2ogpt_api_key: True
enforce_h2ogpt_ui_key: False
# change to something secure for ui access to backend
#h2ogpt_api_keys: "['api_key_change_me']"
metadata_in_context: ""
# change or remove if using model hub
#use_auth_token: "hf_xxxxx"
# change below to first visible model or remove this entry
#visible_models: "['mistralai/Mistral-7B-Instruct-v0.3']"
# change so ui or api cannot access without this password
#admin_pass: "admin_password_change_me"
service:
type: NodePort
webPort: 80
openaiPort: 5000
functionPort: 5002
agentsPort: 5004
gptPort: 8888
webServiceAnnotations: {}
updateStrategy:
type: RollingUpdate
podSecurityContext:
runAsNonRoot: true
runAsUser:
runAsGroup:
fsGroup:
securityContext:
runAsNonRoot: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
seccompProfile:
type: RuntimeDefault
resources:
nodeSelector:
tolerations:
env: {}
podAnnotations: {}
podLabels: {}
autoscaling: {}
tgi:
enabled: false
replicaCount: 1
image:
repository: ghcr.io/huggingface/text-generation-inference
tag: 0.9.3
pullPolicy: IfNotPresent
podAffinity:
# -- Set hostname and zone to true for pod affinity rules based on hostname and zone.
# hostname:
# zone:
storage:
size: 512Gi
class:
useEphemeral: true
overrideConfig:
hfSecret:
containerArgs:
service:
type: ClusterIP
port: 8080
updateStrategy:
type: RollingUpdate
podSecurityContext:
securityContext:
resources:
nodeSelector:
tolerations:
env: {}
podAnnotations: {}
podLabels: {}
autoscaling: {}
vllm:
enabled: false
replicaCount: 1
image:
repository: vllm/vllm-openai
tag: latest
pullPolicy: IfNotPresent
podAffinity:
# -- Set hostname and zone to true for pod affinity rules based on hostname and zone.
# hostname:
# zone:
imagePullSecrets:
storage:
size: 512Gi
class:
useEphemeral: true
overrideConfig:
containerArgs:
- "--model"
- h2oai/h2ogpt-4096-llama2-7b-chat
- "--tokenizer"
- hf-internal-testing/llama-tokenizer
- "--tensor-parallel-size"
- 2
- "--seed"
- 1234
- "--trust-remote-code"
service:
type: ClusterIP
port: 5000
updateStrategy:
type: RollingUpdate
podSecurityContext:
runAsNonRoot: true
runAsUser:
runAsGroup:
fsGroup:
securityContext:
runAsNonRoot: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
seccompProfile:
env:
VLLM_NO_USAGE_STATS: "1"
DO_NOT_TRACK: "1"
resources:
nodeSelector:
tolerations:
podAnnotations: {}
podLabels: {}
autoscaling: {}
lmdeploy:
enabled: false
replicaCount: 1
image:
repository: gcr.io/vorvan/h2oai/h2oai-h2ogpt-lmdeploy
tag:
pullPolicy: IfNotPresent
podAffinity:
# -- Set hostname and zone to true for pod affinity rules based on hostname and zone.
# hostname:
# zone:
storage:
size: 512Gi
class:
useEphemeral: true
overrideConfig:
hfSecret:
containerArgs:
- "OpenGVLab/InternVL-Chat-V1-5"
service:
type: ClusterIP
port: 23333
updateStrategy:
type: RollingUpdate
podSecurityContext:
securityContext:
resources:
nodeSelector:
tolerations:
env: {}
podAnnotations: {}
podLabels: {}
autoscaling: {}
# -- CA certs
caCertificates: ""