Skip to content

Commit a043636

Browse files
maang-hGWS0428
authored andcommitted
[Doc]: Update the Json Example of the Engine Arguments document (vllm-project#12045)
1 parent 9bd2c45 commit a043636

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vllm/engine/arg_utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ def add_cli_args(parser: FlexibleArgumentParser) -> FlexibleArgumentParser:
538538
default=None,
539539
type=json.loads,
540540
help='RoPE scaling configuration in JSON format. '
541-
'For example, {"rope_type":"dynamic","factor":2.0}')
541+
'For example, ``{"rope_type":"dynamic","factor":2.0}``')
542542
parser.add_argument('--rope-theta',
543543
default=None,
544544
type=float,
@@ -607,7 +607,7 @@ def add_cli_args(parser: FlexibleArgumentParser) -> FlexibleArgumentParser:
607607
default=None,
608608
type=json.loads,
609609
help=('Overrides for the multimodal input mapping/processing, '
610-
'e.g., image processor. For example: {"num_crops": 4}.'))
610+
'e.g., image processor. For example: ``{"num_crops": 4}``.'))
611611
parser.add_argument(
612612
'--disable-mm-preprocessor-cache',
613613
action='store_true',
@@ -908,13 +908,13 @@ def add_cli_args(parser: FlexibleArgumentParser) -> FlexibleArgumentParser:
908908
type=json.loads,
909909
default=None,
910910
help="Override or set neuron device configuration. "
911-
"e.g. {\"cast_logits_dtype\": \"bloat16\"}.'")
911+
"e.g. ``{\"cast_logits_dtype\": \"bloat16\"}``.")
912912
parser.add_argument(
913913
'--override-pooler-config',
914914
type=PoolerConfig.from_json,
915915
default=None,
916916
help="Override or set the pooling method for pooling models. "
917-
"e.g. {\"pooling_type\": \"mean\", \"normalize\": false}.'")
917+
"e.g. ``{\"pooling_type\": \"mean\", \"normalize\": false}``.")
918918

919919
parser.add_argument('--compilation-config',
920920
'-O',

0 commit comments

Comments
 (0)