transformers
fix: providing a tensor to cache_position in model.generate kwargs always crashes because of boolean test
#39300
Merged

fix: providing a tensor to cache_position in model.generate kwargs always crashes because of boolean test #39300

gante merged 6 commits into huggingface:main from gante:guicho271828-main
gante
guicho271828 fix: cache_position: RuntimeError: Boolean value of Tensor with more …
f86d4844
guicho271828 test cache_position
1e7aac6e
gante move test
a4d9e271
gante gante requested a review from zucchini-nlp zucchini-nlp 187 days ago
gante gante requested a review from manueldeprada manueldeprada 187 days ago
gante
gante commented on 2025-07-09
HuggingFaceDocBuilderDev
zucchini-nlp
zucchini-nlp approved these changes on 2025-07-09
gante Merge branch 'main' into guicho271828-main
2e654cf5
gante propagate changes
bd564c4c
gante gante enabled auto-merge (squash) 177 days ago
gante Merge branch 'main' into guicho271828-main
6a5028ac
github-actions
gante gante merged 4f93cc91 into main 165 days ago
gante gante deleted the guicho271828-main branch 165 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone