transformers
feat(cache): StaticCache uses index_copy_ to avoid useless copy
#31857
Merged

feat(cache): StaticCache uses index_copy_ to avoid useless copy #31857

ArthurZucker merged 7 commits into main from alvaro/static_cache_xla
tengomucho
tengomucho feat(cache): StaticCache uses index_copy_ to avoid useless copy
d329ad28
tengomucho tengomucho requested a review from gante gante 1 year ago
tengomucho tengomucho requested a review from ArthurZucker ArthurZucker 1 year ago
HuggingFaceDocBuilderDev
tengomucho
ArthurZucker
ArthurZucker approved these changes on 2024-07-09
tengomucho feat(cache): SlidingWindowCache uses index_copy_ to avoid useless copy
53e99d18
tengomucho
huzama
ArthurZucker
ArthurZucker ArthurZucker added run-slow
tengomucho fix(cache): fallback of index_copy_ when not implemented
8e622ec0
tengomucho
ArthurZucker
tengomucho tengomucho force pushed 1 year ago
tengomucho
ArthurZucker
tengomucho fix(cache): in index_copy_ ensure tensors are on same device
aba28b57
tengomucho [run slow] llama
02608dd1
tengomucho tengomucho force pushed to 02608dd1 1 year ago
gante
gante approved these changes on 2024-07-12
tengomucho fix(cache): add move of cache_position to same device in SlidingWindo…
4c818f31
tengomucho tengomucho requested a review from gante gante 1 year ago
tengomucho tengomucho requested a review from ArthurZucker ArthurZucker 1 year ago
tengomucho
ArthurZucker
ArthurZucker
ArthurZucker approved these changes on 2024-07-23
tengomucho Revert "[run slow] llama"
a76cfb7f
ArthurZucker ArthurZucker merged 63700628 into main 1 year ago
ArthurZucker ArthurZucker deleted the alvaro/static_cache_xla branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone