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
c1b57855
Unverified
Commit
c1b57855
authored
Apr 10, 2025
by
Nicolò Lucchesi
Committed by
GitHub
Apr 10, 2025
Browse files
[TPU][V1] Use `language_model` interface for getting text backbone in MM (#16410)
Signed-off-by:
NickLucche
<
nlucches@redhat.com
>
parent
83b824c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
vllm/v1/worker/tpu_model_runner.py
vllm/v1/worker/tpu_model_runner.py
+1
-2
No files found.
vllm/v1/worker/tpu_model_runner.py
View file @
c1b57855
...
...
@@ -972,8 +972,7 @@ class TPUModelRunner:
def
reset_dynamo_cache
(
self
):
if
self
.
is_multimodal_model
:
assert
hasattr
(
self
.
model
,
"language_model"
)
compiled_model
=
self
.
model
.
language_model
.
model
compiled_model
=
self
.
model
.
get_language_model
().
model
else
:
compiled_model
=
self
.
model
.
model
if
isinstance
(
compiled_model
,
TorchCompileWrapperWithCustomDispatcher
):
...
...
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