Skip to content

Commit 7220d1f

Browse files
committed
added vision calls where needed
1 parent 421a32c commit 7220d1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

models/demos/multimodal/gemma3/demo/vision_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def test_multimodal_demo_text(
435435
position_id = prefill_lens + gen_idx
436436
next_token_tensor = next_tokens.reshape(max_batch_size, 1)
437437

438-
logits = generator.decode_forward(
438+
logits = generator.decode_forward_llama_vision(
439439
position_id,
440440
next_token_tensor,
441441
prefill_batch_xattn_masks,

models/tt_transformers/demo/simple_vision_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def test_multimodal_demo_text(
435435
position_id = prefill_lens + gen_idx
436436
next_token_tensor = next_tokens.reshape(max_batch_size, 1)
437437

438-
logits = generator.decode_forward(
438+
logits = generator.decode_forward_llama_vision(
439439
position_id,
440440
next_token_tensor,
441441
prefill_batch_xattn_masks,

0 commit comments

Comments
 (0)