[Bugfix] Fix pin_lora error in TPU executor (#5760)

This commit is contained in:
Woosuk Kwon
2024-06-21 22:25:14 -07:00
committed by GitHub
parent ff9ddbceee
commit 0cbc1d2b4f

View File

@@ -82,6 +82,9 @@ class TPUExecutor(ExecutorBase):
def remove_lora(self, lora_id: int) -> bool:
raise NotImplementedError("LoRA is not implemented for TPU backend.")
def pin_lora(self, lora_id: int) -> bool:
raise NotImplementedError("LoRA is not implemented for TPU backend.")
def list_loras(self) -> Set[int]:
raise NotImplementedError("LoRA is not implemented for TPU backend.")