Skip to content

Commit 476facc

Browse files
committed
https://github.com/huggingface/transformers/issues/29426
1 parent 9afcded commit 476facc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llava/model/language_model/llava_llama.py

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def forward(
6868
images: Optional[torch.FloatTensor] = None,
6969
image_sizes: Optional[List[List[int]]] = None,
7070
return_dict: Optional[bool] = None,
71+
cache_position=None,
7172
) -> Union[Tuple, CausalLMOutputWithPast]:
7273

7374
if inputs_embeds is None:

0 commit comments

Comments
 (0)