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
dynamo
Commits
bd4366d0
Unverified
Commit
bd4366d0
authored
Dec 08, 2025
by
jthomson04
Committed by
GitHub
Dec 08, 2025
Browse files
fix: Fix warning messages with healthcheck (#4793)
Signed-off-by:
jthomson04
<
jwillthomson19@gmail.com
>
parent
3e4b480b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
components/src/dynamo/vllm/health_check.py
components/src/dynamo/vllm/health_check.py
+1
-2
lib/runtime/src/health_check.rs
lib/runtime/src/health_check.rs
+5
-0
No files found.
components/src/dynamo/vllm/health_check.py
View file @
bd4366d0
...
@@ -67,15 +67,14 @@ class VllmHealthCheckPayload(HealthCheckPayload):
...
@@ -67,15 +67,14 @@ class VllmHealthCheckPayload(HealthCheckPayload):
self
.
default_payload
=
{
self
.
default_payload
=
{
"token_ids"
:
[
bos_token_id
],
"token_ids"
:
[
bos_token_id
],
"sampling_options"
:
{
"sampling_options"
:
{
"max_tokens"
:
1
,
"temperature"
:
0.0
,
"temperature"
:
0.0
,
},
},
"stop_conditions"
:
{
"stop_conditions"
:
{
"max_tokens"
:
1
,
"stop"
:
None
,
"stop"
:
None
,
"stop_token_ids"
:
None
,
"stop_token_ids"
:
None
,
"include_stop_str_in_output"
:
False
,
"include_stop_str_in_output"
:
False
,
"ignore_eos"
:
False
,
"ignore_eos"
:
False
,
"min_tokens"
:
0
,
},
},
}
}
super
().
__init__
()
super
().
__init__
()
...
...
lib/runtime/src/health_check.rs
View file @
bd4366d0
...
@@ -303,6 +303,11 @@ impl HealthCheckManager {
...
@@ -303,6 +303,11 @@ impl HealthCheckManager {
false
false
};
};
tokio
::
spawn
(
async
move
{
// We need to consume the rest of the stream to avoid warnings on the frontend.
response_stream
.for_each
(|
_
|
async
{})
.await
;
});
// Update health status based on response
// Update health status based on response
system_health
.lock
()
.set_endpoint_health_status
(
system_health
.lock
()
.set_endpoint_health_status
(
&
endpoint_subject_owned
,
&
endpoint_subject_owned
,
...
...
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