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
44cc7661
Unverified
Commit
44cc7661
authored
Jul 11, 2024
by
sangjune.park
Committed by
GitHub
Jul 10, 2024
Browse files
[Bugfix] Fix OpenVINOExecutor abstractmethod error (#6296)
Signed-off-by:
sangjune.park
<
sangjune.park@navercorp.com
>
parent
b422d496
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
vllm/executor/openvino_executor.py
vllm/executor/openvino_executor.py
+16
-0
No files found.
vllm/executor/openvino_executor.py
View file @
44cc7661
...
@@ -90,6 +90,22 @@ class OpenVINOExecutor(ExecutorBase):
...
@@ -90,6 +90,22 @@ class OpenVINOExecutor(ExecutorBase):
def
list_loras
(
self
)
->
Set
[
int
]:
def
list_loras
(
self
)
->
Set
[
int
]:
return
self
.
driver_worker
.
list_loras
()
return
self
.
driver_worker
.
list_loras
()
def
add_prompt_adapter
(
self
,
prompt_adapter_request
)
->
bool
:
raise
NotImplementedError
(
"Soft prompt is currently not supported by the OPENVINO backend."
)
def
remove_prompt_adapter
(
self
,
prompt_adapter_id
:
int
)
->
bool
:
raise
NotImplementedError
(
"Soft prompt is currently not supported by the OPENVINO backend."
)
def
pin_prompt_adapter
(
self
,
prompt_adapter_id
:
int
)
->
bool
:
raise
NotImplementedError
(
"Soft prompt is currently not supported by the OPENVINO backend."
)
def
list_prompt_adapters
(
self
)
->
Set
[
int
]:
raise
NotImplementedError
(
"Soft prompt is currently not supported by the OPENVINO backend."
)
def
check_health
(
self
)
->
None
:
def
check_health
(
self
)
->
None
:
# OpenVINOExecutor will always be healthy as long as
# OpenVINOExecutor will always be healthy as long as
# it's running.
# it's running.
...
...
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