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
0d47bf3b
Unverified
Commit
0d47bf3b
authored
Sep 18, 2024
by
Joe Runde
Committed by
GitHub
Sep 18, 2024
Browse files
[Bugfix] add `dead_error` property to engine client (#8574)
Signed-off-by:
Joe Runde
<
Joseph.Runde@ibm.com
>
parent
d9cd78eb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
vllm/engine/multiprocessing/client.py
vllm/engine/multiprocessing/client.py
+7
-0
No files found.
vllm/engine/multiprocessing/client.py
View file @
0d47bf3b
...
...
@@ -380,6 +380,13 @@ class MQLLMEngineClient:
def
errored
(
self
)
->
bool
:
return
self
.
_errored_with
is
not
None
@
property
def
dead_error
(
self
)
->
BaseException
:
if
self
.
_errored_with
is
not
None
:
return
ENGINE_DEAD_ERROR
(
self
.
_errored_with
)
else
:
return
ENGINE_DEAD_ERROR
()
async
def
generate
(
self
,
inputs
:
PromptInputs
,
...
...
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