Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
367a480b
Unverified
Commit
367a480b
authored
Sep 21, 2025
by
Michael Yao
Committed by
GitHub
Sep 20, 2025
Browse files
[Docs] Fix warnings in vllm/profiler and vllm/transformers_utils (#25220)
Signed-off-by:
windsonsea
<
haifeng.yao@daocloud.io
>
parent
bef180f0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
mkdocs.yaml
mkdocs.yaml
+1
-0
vllm/profiler/layerwise_profile.py
vllm/profiler/layerwise_profile.py
+2
-2
vllm/transformers_utils/configs/jais.py
vllm/transformers_utils/configs/jais.py
+1
-2
No files found.
mkdocs.yaml
View file @
367a480b
...
@@ -102,6 +102,7 @@ plugins:
...
@@ -102,6 +102,7 @@ plugins:
-
https://numpy.org/doc/stable/objects.inv
-
https://numpy.org/doc/stable/objects.inv
-
https://pytorch.org/docs/stable/objects.inv
-
https://pytorch.org/docs/stable/objects.inv
-
https://psutil.readthedocs.io/en/stable/objects.inv
-
https://psutil.readthedocs.io/en/stable/objects.inv
-
https://huggingface.co/docs/transformers/main/en/objects.inv
markdown_extensions
:
markdown_extensions
:
-
attr_list
-
attr_list
...
...
vllm/profiler/layerwise_profile.py
View file @
367a480b
...
@@ -353,8 +353,8 @@ class layerwise_profile(profile):
...
@@ -353,8 +353,8 @@ class layerwise_profile(profile):
Args:
Args:
num_running_seqs (Optional[int], optional): When given,
num_running_seqs (Optional[int], optional): When given,
num_running_seqs will be passed to LayerProfileResults
for metadata
num_running_seqs will be passed to LayerProfileResults
update. Defaults to None.
for metadata
update. Defaults to None.
"""
"""
super
().
__init__
(
super
().
__init__
(
activities
=
[
ProfilerActivity
.
CPU
,
ProfilerActivity
.
CUDA
],
activities
=
[
ProfilerActivity
.
CPU
,
ProfilerActivity
.
CUDA
],
...
...
vllm/transformers_utils/configs/jais.py
View file @
367a480b
...
@@ -74,8 +74,7 @@ class JAISConfig(PretrainedConfig):
...
@@ -74,8 +74,7 @@ class JAISConfig(PretrainedConfig):
use_cache (`bool`, *optional*, defaults to `True`):
use_cache (`bool`, *optional*, defaults to `True`):
Whether or not the model should return the last key/values
Whether or not the model should return the last key/values
attentions (not used by all models).
attentions (not used by all models).
scale_attn_by_inverse_layer_idx
scale_attn_by_inverse_layer_idx (`bool`, *optional*, default `True`):
(`bool`, *optional*, defaults to `False`):
Whether to additionally scale attention weights
Whether to additionally scale attention weights
by `1 / layer_idx + 1`.
by `1 / layer_idx + 1`.
reorder_and_upcast_attn (`bool`, *optional*, defaults to `False`):
reorder_and_upcast_attn (`bool`, *optional*, defaults to `False`):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment