Skip to content

Commit 6c9fdbf

Browse files
authored
[Docs] Replace rst style double-backtick with md single-backtick (#27091)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
1 parent 483ea64 commit 6c9fdbf

File tree

31 files changed

+98
-98
lines changed

31 files changed

+98
-98
lines changed

benchmarks/multi_turn/benchmark_serving_multi_turn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,7 @@ async def main() -> None:
12511251
default=None,
12521252
help="The model name used in the API. "
12531253
"If not specified, the model name will be the "
1254-
"same as the ``--model`` argument. ",
1254+
"same as the `--model` argument. ",
12551255
)
12561256

12571257
parser.add_argument(

docs/models/extensions/fastsafetensor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ Loading Model weights with fastsafetensors
33

44
Using fastsafetensors library enables loading model weights to GPU memory by leveraging GPU direct storage. See [their GitHub repository](https://github.com/foundation-model-stack/fastsafetensors) for more details.
55

6-
To enable this feature, use the ``--load-format fastsafetensors`` command-line argument
6+
To enable this feature, use the `--load-format fastsafetensors` command-line argument

tests/models/registry.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,17 @@ class _HfExamplesInfo:
6767

6868
is_available_online: bool = True
6969
"""
70-
Set this to ``False`` if the name of this architecture no longer exists on
70+
Set this to `False` if the name of this architecture no longer exists on
7171
the HF repo. To maintain backwards compatibility, we have not removed them
7272
from the main model registry, so without this flag the registry tests will
7373
fail.
7474
"""
7575

7676
trust_remote_code: bool = False
77-
"""The ``trust_remote_code`` level required to load the model."""
77+
"""The `trust_remote_code` level required to load the model."""
7878

7979
hf_overrides: dict[str, Any] = field(default_factory=dict)
80-
"""The ``hf_overrides`` required to load the model."""
80+
"""The `hf_overrides` required to load the model."""
8181

8282
max_model_len: int | None = None
8383
"""

tests/models/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def check_logprobs_close(
162162

163163
# Test prompt logprobs closeness
164164
if prompt_logprobs_0 is not None and prompt_logprobs_1 is not None:
165-
# Both sequences' prompt logprobs lists are not `None``
165+
# Both sequences' prompt logprobs lists are not `None`
166166
# (although individual list elements may be `None`);
167167
# for each token's logprobs:
168168
for idx, (logprobs_elem_0, logprobs_elem_1) in enumerate(

tools/check_init_lazy_imports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: Apache-2.0
22
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
33
"""Ensure we perform lazy loading in vllm/__init__.py.
4-
i.e: appears only within the ``if typing.TYPE_CHECKING:`` guard,
4+
i.e: appears only within the `if typing.TYPE_CHECKING:` guard,
55
**except** for a short whitelist.
66
"""
77

vllm/assets/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_cache_dir() -> Path:
2121
@lru_cache
2222
def get_vllm_public_assets(filename: str, s3_prefix: str | None = None) -> Path:
2323
"""
24-
Download an asset file from ``s3://vllm-public-assets``
24+
Download an asset file from `s3://vllm-public-assets`
2525
and return the path to the downloaded file.
2626
"""
2727
asset_directory = get_cache_dir() / "vllm_public_assets"

vllm/benchmarks/serve.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ def add_cli_args(parser: argparse.ArgumentParser):
12311231
default=None,
12321232
help="The model name used in the API. "
12331233
"If not specified, the model name will be the "
1234-
"same as the ``--model`` argument. ",
1234+
"same as the `--model` argument. ",
12351235
)
12361236

12371237
parser.add_argument(

vllm/compilation/decorators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ def forward(self, x: torch.Tensor, y: Optional[torch.Tensor]): ...
138138
"""
139139

140140
def cls_decorator_helper(cls: _T) -> _T:
141-
# helper to pass `dynamic_arg_dims`` to `_support_torch_compile``
142-
# to avoid too much indentation for `_support_torch_compile``
141+
# helper to pass `dynamic_arg_dims` to `_support_torch_compile`
142+
# to avoid too much indentation for `_support_torch_compile`
143143
if not hasattr(cls, "forward"):
144144
raise TypeError("decorated class should have a forward method.")
145145
sig = inspect.signature(cls.forward)

vllm/config/pooler.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ class PoolerConfig:
6666
"""
6767
step_tag_id: int | None = None
6868
"""
69-
If set, only the score corresponding to the ``step_tag_id`` in the
69+
If set, only the score corresponding to the `step_tag_id` in the
7070
generated sentence should be returned. Otherwise, the scores for all tokens
7171
are returned.
7272
"""
7373
returned_token_ids: list[int] | None = None
7474
"""
7575
A list of indices for the vocabulary dimensions to be extracted,
76-
such as the token IDs of ``good_token`` and ``bad_token`` in the
77-
``math-shepherd-mistral-7b-prm`` model.
76+
such as the token IDs of `good_token` and `bad_token` in the
77+
`math-shepherd-mistral-7b-prm` model.
7878
"""
7979

8080
def compute_hash(self) -> str:

vllm/distributed/kv_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class ZmqEventPublisher(EventPublisher):
117117
Parameters
118118
----------
119119
endpoint:
120-
PUB address. Use ``tcp://*:5557`` to bind or ``tcp://host:5557`` to
120+
PUB address. Use `tcp://*:5557` to bind or `tcp://host:5557` to
121121
connect.
122122
replay_endpoint:
123123
Optional ROUTER address for replay requests. When given, subscribers can

0 commit comments

Comments
 (0)