transformers
Generate: Mistral/Mixtral FA2 cache fix when going beyond the context window
#28037
Merged

Generate: Mistral/Mixtral FA2 cache fix when going beyond the context window #28037

gante merged 8 commits into huggingface:main from gante:mixtral_cache
gante
gante add breakpoint
aacffa85
gante only slice if the cache has contents
70cc5023
gante get the right slice
564750c0
gante .
f0380663
gante .
3f24fb01
gante tmp commit
d4867f70
gante fix FA2 + mis(x)tral
cf7cc6dd
gante
gante commented on 2023-12-14
gante
gante commented on 2023-12-14
gante gante requested a review from amyeroberts amyeroberts 2 years ago
tomaarsen
tomaarsen commented on 2023-12-14
tomaarsen
gante add self.layer_idx exception (as suggested by @tomaarsen)
fbfb543a
amyeroberts
amyeroberts approved these changes on 2023-12-14
HuggingFaceDocBuilderDev
ydshieh
gante gante merged 388fd314 into main 2 years ago
gante gante deleted the mixtral_cache branch 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone