[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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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.")