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
e5e9067e
Unverified
Commit
e5e9067e
authored
Nov 09, 2025
by
Ning Xie
Committed by
GitHub
Nov 09, 2025
Browse files
[Misc] fix typo and add detailed log (#28178)
Signed-off-by:
Andy Xie
<
andy.xning@gmail.com
>
parent
3a7d5803
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
examples/offline_inference/load_sharded_state.py
examples/offline_inference/load_sharded_state.py
+1
-1
vllm/v1/worker/gpu_model_runner.py
vllm/v1/worker/gpu_model_runner.py
+1
-1
No files found.
examples/offline_inference/load_sharded_state.py
View file @
e5e9067e
...
@@ -11,7 +11,7 @@ python save_sharded_state.py \
...
@@ -11,7 +11,7 @@ python save_sharded_state.py \
--model /path/to/load
\
--model /path/to/load
\
--quantization deepspeedfp
\
--quantization deepspeedfp
\
--tensor-parallel-size 8
\
--tensor-parallel-size 8
\
--output /path/to/save/sharded/model
e
--output /path/to/save/sharded/model
python load_sharded_state.py
\
python load_sharded_state.py
\
--model /path/to/saved/sharded/model
\
--model /path/to/saved/sharded/model
\
...
...
vllm/v1/worker/gpu_model_runner.py
View file @
e5e9067e
...
@@ -3035,7 +3035,7 @@ class GPUModelRunner(LoRAModelRunnerMixin, KVConnectorModelRunnerMixin):
...
@@ -3035,7 +3035,7 @@ class GPUModelRunner(LoRAModelRunnerMixin, KVConnectorModelRunnerMixin):
time_after_load
=
time
.
perf_counter
()
time_after_load
=
time
.
perf_counter
()
self
.
model_memory_usage
=
m
.
consumed_memory
self
.
model_memory_usage
=
m
.
consumed_memory
logger
.
info_once
(
logger
.
info_once
(
"Model loading took %.4f GiB and %.6f seconds"
,
"Model loading took %.4f GiB
memory
and %.6f seconds"
,
self
.
model_memory_usage
/
GiB_bytes
,
self
.
model_memory_usage
/
GiB_bytes
,
time_after_load
-
time_before_load
,
time_after_load
-
time_before_load
,
scope
=
"local"
,
scope
=
"local"
,
...
...
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