Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jerrrrry
easystart_v0.2
Commits
f4a56708
Commit
f4a56708
authored
Sep 01, 2025
by
jerrrrry
Browse files
Update run_benchmark.sh
parent
b5309490
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
2_env_check-model_download-llm_inference/scripts/run_benchmark.sh
...eck-model_download-llm_inference/scripts/run_benchmark.sh
+2
-2
No files found.
2_env_check-model_download-llm_inference/scripts/run_benchmark.sh
View file @
f4a56708
...
@@ -62,7 +62,7 @@ EOF
...
@@ -62,7 +62,7 @@ EOF
check_server_status
()
{
check_server_status
()
{
local
log_file
=
$1
local
log_file
=
$1
local
server_pid
=
$2
local
server_pid
=
$2
local
success_msg
=
"Starting vLLM API server
on http://0.0.0.0
"
local
success_msg
=
"Starting vLLM API server"
local
error_patterns
=(
"RuntimeError"
"ValueError"
"segmentation fault"
"core dumped"
)
local
error_patterns
=(
"RuntimeError"
"ValueError"
"segmentation fault"
"core dumped"
)
# 检查成功消息
# 检查成功消息
...
@@ -159,4 +159,4 @@ EOF
...
@@ -159,4 +159,4 @@ EOF
echo
"✅ [
$(
date
'+%Y-%m-%d %H:%M:%S'
)
]
${
model_name
}
_tp
${
tp
}
test completed and cleaned up"
echo
"✅ [
$(
date
'+%Y-%m-%d %H:%M:%S'
)
]
${
model_name
}
_tp
${
tp
}
test completed and cleaned up"
done
< <
(
grep
-v
'^#'
../configs/model_to_test.cfg |
grep
-v
'^$'
)
done
< <
(
grep
-v
'^#'
../configs/model_to_test.cfg |
grep
-v
'^$'
)
echo
-e
"
\n
📊 [
$(
date
'+%Y-%m-%d %H:%M:%S'
)
] All tests completed. Results saved to results/"
echo
-e
"
\n
📊 [
$(
date
'+%Y-%m-%d %H:%M:%S'
)
] All tests completed. Results saved to results/"
\ No newline at end of file
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