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

This commit is contained in:
Woosuk Kwon authored and GitHub committed 2024-06-21 22:25:14 -07:00
1 parent ff9ddbceee
commit 0cbc1d2b4f
1 file changed
+3
+3
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.")