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
a9b2a1d7
Unverified
Commit
a9b2a1d7
authored
Jul 28, 2025
by
Ning Xie
Committed by
GitHub
Jul 27, 2025
Browse files
[Misc] Refactor vllm config str (#21666)
parent
57c22e57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
vllm/config.py
vllm/config.py
+12
-12
No files found.
vllm/config.py
View file @
a9b2a1d7
...
...
@@ -4790,26 +4790,26 @@ class VllmConfig:
def
__str__
(
self
):
return
(
f
"model=
{
self
.
model_config
.
model
!
r
}
,"
f
"
speculative_config=
{
self
.
speculative_config
!
r
}
,"
f
"
tokenizer=
{
self
.
model_config
.
tokenizer
!
r
}
, "
f
"skip_tokenizer_init=
{
self
.
model_config
.
skip_tokenizer_init
}
,"
f
"
tokenizer_mode=
{
self
.
model_config
.
tokenizer_mode
}
, "
f
"model=
{
self
.
model_config
.
model
!
r
}
,
"
f
"speculative_config=
{
self
.
speculative_config
!
r
}
,
"
f
"tokenizer=
{
self
.
model_config
.
tokenizer
!
r
}
, "
f
"skip_tokenizer_init=
{
self
.
model_config
.
skip_tokenizer_init
}
,
"
f
"tokenizer_mode=
{
self
.
model_config
.
tokenizer_mode
}
, "
f
"revision=
{
self
.
model_config
.
revision
}
, "
f
"override_neuron_config=
{
self
.
model_config
.
override_neuron_config
}
,
"
f
"
tokenizer_revision=
{
self
.
model_config
.
tokenizer_revision
}
, "
f
"override_neuron_config=
{
self
.
model_config
.
override_neuron_config
}
,
"
# noqa
f
"tokenizer_revision=
{
self
.
model_config
.
tokenizer_revision
}
, "
f
"trust_remote_code=
{
self
.
model_config
.
trust_remote_code
}
, "
f
"dtype=
{
self
.
model_config
.
dtype
}
, "
f
"max_seq_len=
{
self
.
model_config
.
max_model_len
}
,"
f
"
download_dir=
{
self
.
load_config
.
download_dir
!
r
}
, "
f
"max_seq_len=
{
self
.
model_config
.
max_model_len
}
,
"
f
"download_dir=
{
self
.
load_config
.
download_dir
!
r
}
, "
f
"load_format=
{
self
.
load_config
.
load_format
}
, "
f
"tensor_parallel_size=
{
self
.
parallel_config
.
tensor_parallel_size
}
,
"
f
"
pipeline_parallel_size=
{
self
.
parallel_config
.
pipeline_parallel_size
}
, "
# noqa
f
"tensor_parallel_size=
{
self
.
parallel_config
.
tensor_parallel_size
}
,
"
# noqa
f
"pipeline_parallel_size=
{
self
.
parallel_config
.
pipeline_parallel_size
}
, "
# noqa
f
"disable_custom_all_reduce=
{
self
.
parallel_config
.
disable_custom_all_reduce
}
, "
# noqa
f
"quantization=
{
self
.
model_config
.
quantization
}
, "
f
"enforce_eager=
{
self
.
model_config
.
enforce_eager
}
, "
f
"kv_cache_dtype=
{
self
.
cache_config
.
cache_dtype
}
, "
f
"
device_config=
{
self
.
device_config
.
device
}
, "
f
"device_config=
{
self
.
device_config
.
device
}
, "
f
"decoding_config=
{
self
.
decoding_config
!
r
}
, "
f
"observability_config=
{
self
.
observability_config
!
r
}
, "
f
"seed=
{
self
.
model_config
.
seed
}
, "
...
...
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