-
Notifications
You must be signed in to change notification settings - Fork 151
Expand file tree
/
Copy pathvalues.schema.json
More file actions
324 lines (324 loc) · 11.7 KB
/
Copy pathvalues.schema.json
File metadata and controls
324 lines (324 loc) · 11.7 KB
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
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
{
"$schema": "https://json-schema.org/draft-07/schema#",
"copyright": [
"# Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved.",
"# NVIDIA CORPORATION and its licensors retain all intellectual property",
"# and proprietary rights in and to this software, related documentation",
"# and any modifications thereto. Any use, reproduction, disclosure or",
"# distribution of this software and related documentation without an express",
"# license agreement from NVIDIA CORPORATION is strictly prohibited."
],
"properties": {
"gpu": {
"description": "Value must match the node's `.metadata.labels.nvidia.com/gpu.product` label.",
"type": "string"
},
"model": {
"description": "Configuration options related to the AI model to be deployed.",
"properties": {
"name": {
"description": "Name of the model to be served Triton Server instances.",
"pattern": "(gpt2|opt125m|llama-(2-(7b|70b)(-chat)?|3-(8b|70b)(-instruct)?))",
"type": "string"
},
"persistentVolumeClaim": {
"description": "Persistent volume claim where model content will be persisted.",
"type": "string"
},
"pullSecret": {
"description": "Name of the secret used to download the model from Hugging Face.",
"oneOf": [
{ "type": "string" },
{ "type": "null" }
]
},
"skipConversion": {
"description": "When `false` a model conversion job is created and the leader pod will wait for the job to complete before starting Triton; otherwise this doesn't happen.",
"oneOf": [
{ "type": "boolean" },
{ "type": "null" }
]
},
"tensorrtLlm": {
"description": "Configuration options related to the conversion of a non-optimized model into TensorRT format.",
"oneOf": [
{
"properties": {
"conversion": {
"description": "Configuration opens related to conversion of non-TensorRT models to TensorRT engine and plan files.",
"oneOf": [
{
"properties": {
"cpu": {
"description": "Number of logical CPU cores reserved for, and assigned to the model conversion job.",
"oneOf": [
{
"minimum": 1,
"type": "integer"
},
{
"pattern": "^\\d+m$",
"type": "string"
},
{ "type": "null" }
]
},
"gpu": {
"description": "Number of GPUs reserved for, and assigned to the model conversion job.",
"oneOf": [
{
"minimum": 0,
"type": "integer"
},
{ "type": "null" }
]
},
"memory": {
"description": "Amount of CPU-visible system memory allocated to, and reserved for the model conversion job.",
"oneOf": [
{
"pattern": "^\\d+[GKMgkm]i$",
"type": "string"
},
{ "type": "null" }
]
}
},
"type": "object"
},
{ "type": "null" }
]
},
"dataType": {
"description": "Data type used when compiling and optimizing the model for TensorRT.",
"oneOf": [
{
"pattern": "(bfloat16|float16|float32)",
"type": "string"
},
{ "type": "null" }
]
},
"enable": {
"description": "When `true`, enables conversion of models into TensorRT format before loading them into Triton Server.",
"oneOf": [
{ "type": "boolean" },
{ "type": "null" }
]
},
"parallelism": {
"description": "Parallelism configuration options which affect how the model is converted to TensorRT-LLM format, specifically if/how the model is partitioned for deployment to multiple GPUs.",
"oneOf": [
{
"properties": {
"pipeline": {
"oneOf": [
{
"minimum": 1,
"type": "integer"
},
{ "type": "null" }
]
},
"tensor": {
"oneOf": [
{
"minimum": 1,
"type": "integer"
},
{ "type": "null" }
]
}
},
"type": "object"
},
{ "type": "null" }
]
}
},
"type": "object"
},
{ "type": "null" }
]
}
},
"required": [
"name",
"persistentVolumeClaim"
],
"type": "object"
},
"triton": {
"description": "Configuration options for Triton Server.",
"properties": {
"image": {
"description": "Configuration options related to the container image for Triton Server.",
"properties": {
"pullSecrets": {
"description": "Optional list of pull secrets to be used when downloading the Triton Server container image.",
"oneOf": [
{
"items": [
{ "type": "object" }
],
"type": "array"
},
{ "type": "null" }
]
},
"name": {
"description": "Name of the container image containing the version of Triton Server to be used.",
"type": "string"
}
},
"required": [ "name" ],
"type": "object"
},
"resources": {
"description": "Configuration options managing the resources assigned to individual Triton Server instances. ",
"oneOf": [
{
"properties": {
"cpu": {
"description": "Number of logical CPU cores reserved for, and assigned to each instance of Triton Server.",
"oneOf": [
{
"minimum": 1,
"type": "integer"
},
{
"pattern": "^\\d+m$",
"type": "string"
},
{ "type": "null" }
]
},
"memory": {
"description": "Amount of CPU-visible system memory allocated to, and reserved for each instance of Triton Server.",
"oneOf": [
{
"pattern": "^\\d+[GKMgkm]i$",
"type": "string"
},
{ "type": "null" }
]
}
},
"type": "object"
},
{ "type": "null" }
]
}
},
"required": [ "image" ],
"type": "object"
},
"logging": {
"description": "Configuration options related to how various components generate logs.",
"oneOf": [
{
"properties": {
"initialization": {
"description": "Logging configuration options specific to the initialization container.",
"oneOf": [
{
"properties": {
"verbose": {
"description": "When `true` the model download and generation of TRT engine and plan use verbose logging; otherwise standard logging is used.",
"oneOf": [
{ "type": "boolean" },
{ "type": "null" }
]
}
},
"type": "object"
},
{ "type": "null" }
]
},
"tritonServer": {
"description": "Logging configuration options specific to Triton Server.",
"oneOf": [
{
"properties": {
"useIso8601": {
"description": "When `true` Triton Server logs are formatted using the ISO8601 standard; otherwise Triton's default format will be used. ",
"oneOf": [
{ "type": "boolean" },
{ "type": "null" }
]
},
"verbose": {
"description": "When `true` Triton Server uses verbose logging; otherwise standard logging is used.",
"oneOf": [
{ "type": "boolean" },
{ "type": "null" }
]
}
},
"type": "object"
},
{ "type": "null" }
]
}
},
"type": "object"
},
{ "type": "null" }
]
},
"kubernetes": {
"description": "Configurations option related to the Kubernetes objects created by the chart.",
"oneOf": [
{
"properties": {
"hostRootPath": {
"description": "Root file-system path used when mounting content to the underlying host.",
"oneOf": [
{ "type": "string" },
{ "type": "null" }
]
},
"labels": {
"description": "Optional set of labels to be applied to created Kubernetes objects.",
"oneOf": [
{ "type": "object" },
{ "type": "null" }
]
},
"noService": {
"description": "When `false`, a service will not be created when the chart is installed; otherwise a service will be created.",
"oneOf": [
{ "type": "boolean" },
{ "type": "null" }
]
},
"tolerations": {
"description": "Tolerations applied to every pod deployed as part of this deployment.",
"oneOf": [
{
"items": [
{
"description": "Toleration applied to every pod deployed as part of this deployment.",
"type": "object"
},
{ "type": "null" }
],
"type": "array"
},
{ "type": "null" }
]
}
},
"type": "object"
},
{ "type": "null" }
]
}
},
"required": [
"gpu",
"model",
"triton"
]
}