Skip to content

Commit 6250a0c

Browse files
committed
Fix CI
Signed-off-by: Chang Liu (Enterprise Products) <[email protected]>
1 parent f45326a commit 6250a0c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

tensorrt_llm/_torch/models/modeling_gemma3vl.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,3 +286,7 @@ def _get_image_features(self, pixel_values):
286286
attn_metadata=attn_metadata)[-1]
287287
image_features = self.mm_projector(image_features)
288288
return image_features
289+
290+
@property
291+
def mm_token_ids(self):
292+
return self.image_token_ids

tensorrt_llm/_torch/models/modeling_mistral.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ def forward(
401401
self._get_image_features(pixel_values=batched_pixel_values,
402402
image_sizes=batched_image_sizes)
403403
]
404-
404+
405405
with nvtx_range("[mistral] Fuse input embeds"):
406406
input_ids, inputs_embeds = fuse_input_embeds(
407407
embedding_layer=self.llm.model.embed_tokens,

0 commit comments

Comments
 (0)