[Bugfix] Fix OpenVINOExecutor abstractmethod error (#6296)
Signed-off-by: sangjune.park <sangjune.park@navercorp.com>
This commit is contained in:
parent
b422d4961a
commit
44cc76610d
@ -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.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user