transformers
check if position_ids exists before using it
#29306
Merged

check if position_ids exists before using it #29306

gante merged 5 commits into huggingface:main from jiqing-feng:llama
jiqing-feng
ArthurZucker
ArthurZucker commented on 2024-02-27
jiqing-feng
jiqing-feng check if position_ids exists before using it
c80d1a95
jiqing-feng use input_ids shape and device, and check position_ids is not None
29449a5f
ArthurZucker
ArthurZucker approved these changes on 2024-02-28
ArthurZucker
jiqing-feng Merge branch 'huggingface:main' into llama
55ba75ec
jiqing-feng
jiqing-feng fix copies
ce4334de
gante input_length case for inputs_embeds
63d36583
gante
gante approved these changes on 2024-02-28
gante
gante gante merged 554e7ada into main 2 years ago
HuggingFaceDocBuilderDev
jiqing-feng
jiqing-feng jiqing-feng deleted the llama branch 2 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone