[core] Refactor the Cache logic to make it simpler and more general #39797
Cyrilvallez
force pushed
from
50825518
to
59a32960
283 days ago
Cyrilvallez
changed the title Simplify/make more explicit the caching logic Rework the Cache logic to make it simpler and more general 282 days ago
Cyrilvallez
force pushed
from
f09bd1a5
to
71124e6c
282 days ago
Cyrilvallez
changed the title Rework the Cache logic to make it simpler and more general Refactor the Cache logic to make it simpler and more general 282 days ago
Cyrilvallez
changed the title Refactor the Cache logic to make it simpler and more general [core] Refactor the Cache logic to make it simpler and more general 277 days ago
Cyrilvallez
force pushed
from
7617e35b
to
f4f7361b
276 days ago
Simplify the logic quite a bit
100ae2cc
Update cache_utils.py
19ecbd85
continue work
7b3d65c1
continue simplifying a lot
f385ac7e
style
d54e3380
Update cache_utils.py
2a7aac78
offloading much simpler
ec96c772
style
2081941d
Update cache_utils.py
25922405
update inits
37bd5555
Update cache_utils.py
c0c964fd
consistemncy
9fd8803f
Update cache_utils.py
2518e75f
update generate
17ca71e3
style
8dade3da
fix
a404dbaa
fix
74ab8c89
add early_initialization
78ffd4c5
fix
19fef9dc
fix mamba caches
c0ce4468
update
b0515263
fix
3dc25380
fix
ccda84d3
fix
8ee7cc9f
fix tests
11a8f978
fix configs
b41a4b93
revert
b57cedf2
fix tests
709e51fb
alright
11e22b6f
Update modeling_gptj.py
f8907694
fix the constructors
4f9581a5
cache tests
9c4ce686
Update test_cache_utils.py
d990e80e
fix
0c1f41af
simplify
36d2470e
back to before -> avoid compile bug
241d48af
doc
03b84017
mistral test
2d007c1b
llama4 test dtype
71ada771
Update test_modeling_llama4.py
23054e2c
CIs
e8ceb9d8
Finally find a nice impl
d0763b82
Update cache_utils.py
06fd9e4c
Update cache_utils.py
b6eeae25
add lazy methods in autodoc
ca32e1ff
typo
a173a649
better doc
1f7dd276
Add detailed docstring for lazy init
203ab695
CIs
48e78d0b
style
236bf9d1
Cyrilvallez
force pushed
from
197f3300
to
236bf9d1
275 days ago
fix
0630cd29
Cyrilvallez
deleted the explicit-cache branch 275 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub