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
2825dacd
Commit
2825dacd
authored
Mar 27, 2025
by
lizhigong
Browse files
calibration benchmark for zero overhead schedule
parent
2c3f0e14
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
vllm/benchmarks/benchmark_throughput.py
vllm/benchmarks/benchmark_throughput.py
+4
-2
No files found.
vllm/benchmarks/benchmark_throughput.py
View file @
2825dacd
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
import
argparse
import
argparse
import
dataclasses
import
dataclasses
import
json
import
json
import
os
import
random
import
random
import
time
import
time
from
pathlib
import
Path
from
pathlib
import
Path
...
@@ -214,8 +215,9 @@ def run_vllm(
...
@@ -214,8 +215,9 @@ def run_vllm(
use_tqdm
=
False
)
use_tqdm
=
False
)
use_beam_search
=
False
use_beam_search
=
False
if
os
.
environ
.
get
(
'VLLM_ZERO_OVERHEAD'
)
==
'1'
:
print
(
"sleep 1"
)
print
(
"sleep 1"
)
time
.
sleep
(
1
)
time
.
sleep
(
1
)
# ZERO_OVERHEAD : sleep and wait the last step in warmup
if
not
use_beam_search
:
if
not
use_beam_search
:
if
args
.
profile
:
if
args
.
profile
:
profile_dir
=
args
.
profile_result_dir
profile_dir
=
args
.
profile_result_dir
...
...
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