Files
HuggingFace_transformer/tests
Joao Gante 4f93cc9174 fix: providing a tensor to cache_position in model.generate kwargs always crashes because of boolean test (#39300)
* fix: cache_position: RuntimeError: Boolean value of Tensor with more than one value is ambiguous

* test cache_position

* move test

* propagate changes

---------

Co-authored-by: Masataro Asai <guicho2.71828@gmail.com>
2025-07-30 17:30:28 +00:00
..
2025-07-23 17:03:18 +02:00
2025-06-23 10:56:51 +02:00
2025-07-25 19:46:17 +02:00