[cache refactor] Move all the caching logic to a per-layer approach #39106
Squash for refactor: Replace monolithic cache classes with modular La…
1c3cbccc
fix quantized, add tests
04d7a0b1
remove CacheProcessorList
26c28af6
raushan review, arthur review
16a66240
gante
commented
on 2025-07-02
joao review: minor things
aec9ccd6
remove cache configs, make CacheLayer a mixin (joaos review)
e80c68a6
back to storage inside Cache()
27916bc2
remove cachebase for decorator
fd83e14b
no more __getattr__
c2004471
Merge branch 'main' of github.com:huggingface/transformers into cache…
f3275705
fix tests
5b1b1f17
gante
commented
on 2025-07-10
joaos review except docs
58dbcfe2
fix ast deprecations for python 3.14: replace node.n by node.value an…
0c6d2ff6
Revert "back to storage inside Cache()"
6a77408a
cyril review
13ec4a44
simplify cache export
7029a90c
Merge branch 'main' of github.com:huggingface/transformers into cache…
5fa99012
fix lfm2 cache
dd7458b5
HybridChunked to layer
dc08253c
BC proxy object for cache.key_cache[i]=...
a9521249
reorder classes
dbbc4d51
bfff come on LFM2
4bb48fcf
better tests for hybrid and hybridChunked
00b1f96a
Merge branch 'main' of github.com:huggingface/transformers into cache…
def346eb
complete coverage for hybrid chunked caches (prefill chunking)
38e86034
reimplementing HybridChunked
34a3022f
cyril review
42226536
Merge branch 'main' of github.com:huggingface/transformers into cache…
063459c5
fix ci
1acc648f
docs for cache refactor
ca39ffec
docs
731d0b73
Merge branch 'main' of github.com:huggingface/transformers into cache…
574b8205
oopsie
a4794705
oopsie
9c0bdcc5
Merge branch 'main' into cache-refactor-1
04091ed8
Merge branch 'main' of github.com:huggingface/transformers into cache…
8642bb6b
Merge branch 'cache-refactor-1' of https://github.com/manueldeprada/t…
83968bd9
fix after merge
0c4700dc
Cyrilvallez
changed the title [cache refactor] PR 1/3: layered caches with full backward compatibility [cache refactor] Move all the caching logic to a per-layer approach 1 year ago
cyril review
b3a35e92
arthur review
e4878ad0
Merge branch 'main' of github.com:huggingface/transformers into cache…
38fb99d4
opsie
8df15953
fix lfm2
ad65a02d
opsie2
d9fbb044
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub