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
58c959a7
Unverified
Commit
58c959a7
authored
Mar 28, 2026
by
whyiug
Committed by
GitHub
Mar 28, 2026
Browse files
[Misc]: clean up non-core lint issues (#37049)
Signed-off-by:
whyiug
<
whyiug@hotmail.com
>
parent
bda3eda8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
benchmarks/attention_benchmarks/benchmark.py
benchmarks/attention_benchmarks/benchmark.py
+2
-8
docs/mkdocs/hooks/generate_argparse.py
docs/mkdocs/hooks/generate_argparse.py
+1
-1
No files found.
benchmarks/attention_benchmarks/benchmark.py
View file @
58c959a7
...
...
@@ -546,10 +546,7 @@ def main():
args
.
prefill_backends
=
yaml_config
.
get
(
"prefill_backends"
,
None
)
# Check for special modes
if
"mode"
in
yaml_config
:
args
.
mode
=
yaml_config
[
"mode"
]
else
:
args
.
mode
=
None
args
.
mode
=
yaml_config
.
get
(
"mode"
,
None
)
# Batch specs and sizes
# Support both explicit batch_specs and generated batch_spec_ranges
...
...
@@ -572,10 +569,7 @@ def main():
elif
"batch_specs"
in
yaml_config
:
args
.
batch_specs
=
yaml_config
[
"batch_specs"
]
if
"batch_sizes"
in
yaml_config
:
args
.
batch_sizes
=
yaml_config
[
"batch_sizes"
]
else
:
args
.
batch_sizes
=
None
args
.
batch_sizes
=
yaml_config
.
get
(
"batch_sizes"
,
None
)
# Model config
if
"model"
in
yaml_config
:
...
...
docs/mkdocs/hooks/generate_argparse.py
View file @
58c959a7
...
...
@@ -153,7 +153,7 @@ class MarkdownFormatter(HelpFormatter):
heading_md
=
f
"
{
self
.
_argument_heading_prefix
}
{
option_strings
}
\n\n
"
self
.
_markdown_output
.
append
(
heading_md
)
if
action
.
choices
or
isinstance
(
action
.
metavar
,
(
list
,
tuple
)
)
:
if
action
.
choices
or
isinstance
(
action
.
metavar
,
list
|
tuple
):
choices_iterable
=
action
.
choices
or
action
.
metavar
choices
=
f
"`
{
'`, `'
.
join
(
str
(
c
)
for
c
in
choices_iterable
)
}
`"
self
.
_markdown_output
.
append
(
f
": Possible choices:
{
choices
}
\n\n
"
)
...
...
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