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
824a3f40
Unverified
Commit
824a3f40
authored
Oct 06, 2025
by
Karan Goel
Committed by
GitHub
Oct 06, 2025
Browse files
[Misc] auto_tune: kill specific vllm process (#26304)
Signed-off-by:
Karan Goel
<
karangoel@google.com
>
parent
05f6846e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
benchmarks/auto_tune/auto_tune.sh
benchmarks/auto_tune/auto_tune.sh
+4
-4
No files found.
benchmarks/auto_tune/auto_tune.sh
View file @
824a3f40
...
...
@@ -74,7 +74,7 @@ start_server() {
local
vllm_log
=
$4
local
profile_dir
=
$5
pkill
-if
vllm
pkill
-if
"
vllm
serve"
||
true
# Define the common arguments as a bash array.
# Each argument and its value are separate elements.
...
...
@@ -139,7 +139,7 @@ run_benchmark() {
echo
"vllm_log:
$vllm_log
"
echo
rm
-f
$vllm_log
pkill
-if
vllm
pkill
-if
"
vllm
serve"
||
true
echo
"starting server..."
# Call start_server without a profile_dir to avoid profiling overhead
...
...
@@ -232,7 +232,7 @@ run_benchmark() {
echo
"best_max_num_seqs:
$best_max_num_seqs
, best_num_batched_tokens:
$best_num_batched_tokens
, best_throughput:
$best_throughput
"
pkill
-if
vllm
pkill
-if
"
vllm
serve"
||
true
sleep
10
echo
"===================="
return
0
...
...
@@ -308,6 +308,6 @@ if (( $(echo "$best_throughput > 0" | bc -l) )); then
else
echo
"No configuration met the latency requirements. Skipping final profiling run."
fi
pkill
-if
vllm
pkill
-if
"
vllm
serve"
||
true
echo
"best_max_num_seqs:
$best_max_num_seqs
, best_num_batched_tokens:
$best_num_batched_tokens
, best_throughput:
$best_throughput
, profile saved in:
$PROFILE_PATH
"
echo
"best_max_num_seqs:
$best_max_num_seqs
, best_num_batched_tokens:
$best_num_batched_tokens
, best_throughput:
$best_throughput
, profile saved in:
$PROFILE_PATH
"
>>
"
$RESULT
"
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