Skip to content

Commit

Permalink
[Bugfix] Fix OpenVINOExecutor abstractmethod error (vllm-project#6296)
Browse files Browse the repository at this point in the history
Signed-off-by: sangjune.park <[email protected]>
  • Loading branch information
park12sj authored Jul 10, 2024
1 parent b422d49 commit 44cc766
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions vllm/executor/openvino_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,22 @@ def pin_lora(self, lora_id: int) -> bool:
def list_loras(self) -> Set[int]:
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:
# OpenVINOExecutor will always be healthy as long as
# it's running.
Expand Down

0 comments on commit 44cc766

Please sign in to comment.