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
3bcd494e
Unverified
Commit
3bcd494e
authored
Feb 11, 2026
by
Cyrus Leung
Committed by
GitHub
Feb 11, 2026
Browse files
[Redo] Add `--trust-remote-code` to dataset bench args (#34251)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
0e725a7d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
vllm/benchmarks/datasets.py
vllm/benchmarks/datasets.py
+5
-0
vllm/benchmarks/serve.py
vllm/benchmarks/serve.py
+0
-5
No files found.
vllm/benchmarks/datasets.py
View file @
3bcd494e
...
@@ -1310,6 +1310,11 @@ class _ValidateDatasetArgs(argparse.Action):
...
@@ -1310,6 +1310,11 @@ class _ValidateDatasetArgs(argparse.Action):
def
add_dataset_parser
(
parser
:
FlexibleArgumentParser
):
def
add_dataset_parser
(
parser
:
FlexibleArgumentParser
):
parser
.
add_argument
(
"--trust-remote-code"
,
action
=
"store_true"
,
help
=
"Trust remote code from huggingface"
,
)
parser
.
add_argument
(
"--seed"
,
type
=
int
,
default
=
0
)
parser
.
add_argument
(
"--seed"
,
type
=
int
,
default
=
0
)
parser
.
add_argument
(
parser
.
add_argument
(
"--num-prompts"
,
"--num-prompts"
,
...
...
vllm/benchmarks/serve.py
View file @
3bcd494e
...
@@ -1313,11 +1313,6 @@ def add_cli_args(parser: argparse.ArgumentParser):
...
@@ -1313,11 +1313,6 @@ def add_cli_args(parser: argparse.ArgumentParser):
"bursty requests. A higher burstiness value (burstiness > 1) "
"bursty requests. A higher burstiness value (burstiness > 1) "
"results in a more uniform arrival of requests."
,
"results in a more uniform arrival of requests."
,
)
)
parser
.
add_argument
(
"--trust-remote-code"
,
action
=
"store_true"
,
help
=
"Trust remote code from huggingface"
,
)
parser
.
add_argument
(
parser
.
add_argument
(
"--disable-tqdm"
,
"--disable-tqdm"
,
action
=
"store_true"
,
action
=
"store_true"
,
...
...
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