You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/src/dynamo/frontend/main.py
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -225,6 +225,12 @@ def parse_args():
225
225
),
226
226
help=f"Interval in seconds for polling custom backend metrics. Set to > 0 to enable polling (default: 0=disabled, suggested: 9.2s which is less than typical Prometheus scrape interval). Can be set via {CUSTOM_BACKEND_METRICS_POLLING_INTERVAL_ENV_VAR} env var.",
227
227
)
228
+
parser.add_argument(
229
+
"--store-kv",
230
+
type=str,
231
+
default=os.environ.get("DYN_STORE_KV", "etcd"),
232
+
help="Which key-value backend to use: etcd, mem, file. Etcd uses the ETCD_* env vars (e.g. ETCD_ENPOINTS) for connection details. File uses root dir from env var DYN_FILE_KV or defaults to $TMPDIR/dynamo_store_kv.",
Copy file name to clipboardExpand all lines: components/src/dynamo/mocker/args.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -204,6 +204,12 @@ def parse_args():
204
204
default=False,
205
205
help="Mark this as a decode worker which does not publish KV events and skips prefill cost estimation (default: False)",
206
206
)
207
+
parser.add_argument(
208
+
"--store-kv",
209
+
type=str,
210
+
default=os.environ.get("DYN_STORE_KV", "etcd"),
211
+
help="Which key-value backend to use: etcd, mem, file. Etcd uses the ETCD_* env vars (e.g. ETCD_ENPOINTS) for connection details. File uses root dir from env var DYN_FILE_KV or defaults to $TMPDIR/dynamo_store_kv.",
"help": "Which key-value backend to use: etcd, mem, file. Etcd uses the ETCD_* env vars (e.g. ETCD_ENPOINTS) for connection details. File uses root dir from env var DYN_FILE_KV or defaults to $TMPDIR/dynamo_store_kv.",
help="Path to a custom Jinja template file to override the model's default chat template. This template will take precedence over any template found in the model repository.",
280
282
)
283
+
parser.add_argument(
284
+
"--store-kv",
285
+
type=str,
286
+
default=os.environ.get("DYN_STORE_KV", "etcd"),
287
+
help="Which key-value backend to use: etcd, mem, file. Etcd uses the ETCD_* env vars (e.g. ETCD_ENPOINTS) for connection details. File uses root dir from env var DYN_FILE_KV or defaults to $TMPDIR/dynamo_store_kv.",
288
+
)
281
289
282
290
args=parser.parse_args()
283
291
@@ -337,6 +345,7 @@ def cmd_line_args():
337
345
config.reasoning_parser=args.dyn_reasoning_parser
338
346
config.tool_call_parser=args.dyn_tool_call_parser
339
347
config.dump_config_to=args.dump_config_to
348
+
config.store_kv=args.store_kv
340
349
341
350
# Handle custom jinja template path expansion (environment variables and home directory)
Copy file name to clipboardExpand all lines: components/src/dynamo/vllm/args.py
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ class Config:
38
38
migration_limit: int=0
39
39
kv_port: Optional[int] =None
40
40
custom_jinja_template: Optional[str] =None
41
+
store_kv: str
41
42
42
43
# mirror vLLM
43
44
model: str
@@ -164,6 +165,12 @@ def parse_args() -> Config:
164
165
"'USER: <image> please describe the image ASSISTANT:'."
165
166
),
166
167
)
168
+
parser.add_argument(
169
+
"--store-kv",
170
+
type=str,
171
+
default=os.environ.get("DYN_STORE_KV", "etcd"),
172
+
help="Which key-value backend to use: etcd, mem, file. Etcd uses the ETCD_* env vars (e.g. ETCD_ENPOINTS) for connection details. File uses root dir from env var DYN_FILE_KV or defaults to $TMPDIR/dynamo_store_kv.",
0 commit comments