Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
0cbc1d2b
Unverified
Commit
0cbc1d2b
authored
Jun 21, 2024
by
Woosuk Kwon
Committed by
GitHub
Jun 21, 2024
Browse files
[Bugfix] Fix pin_lora error in TPU executor (#5760)
parent
ff9ddbce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vllm/executor/tpu_executor.py
vllm/executor/tpu_executor.py
+3
-0
No files found.
vllm/executor/tpu_executor.py
View file @
0cbc1d2b
...
@@ -82,6 +82,9 @@ class TPUExecutor(ExecutorBase):
...
@@ -82,6 +82,9 @@ class TPUExecutor(ExecutorBase):
def
remove_lora
(
self
,
lora_id
:
int
)
->
bool
:
def
remove_lora
(
self
,
lora_id
:
int
)
->
bool
:
raise
NotImplementedError
(
"LoRA is not implemented for TPU backend."
)
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
]:
def
list_loras
(
self
)
->
Set
[
int
]:
raise
NotImplementedError
(
"LoRA is not implemented for TPU backend."
)
raise
NotImplementedError
(
"LoRA is not implemented for TPU backend."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment