transformers
[CB] Add the option for the pause to release memory
#51670
Open

[CB] Add the option for the pause to release memory #51670

remi-or wants to merge 17 commits into main from cb-pause-release-memory
remi-or
qgallouedec Continuous batching: release the KV cache's memory during a pause and…
13c61b48
qgallouedec Document releasing the KV cache during a pause
90563877
qgallouedec Release the KV cache by copying the whole cache to host memory
daec6049
qgallouedec Empty the allocator's cache before restoring the KV cache
43ab507e
qgallouedec Merge remote-tracking branch 'origin/main' into cb-release-kv-cache
bcf9d127
qgallouedec Empty the allocator's cache through the device module, since torch 2.…
3192206d
qgallouedec Document that restore_memory needs expandable segments when tensors o…
da2e15ac
qgallouedec Merge branch 'main' into cb-release-kv-cache
a5e2183c
qgallouedec Refuse to release or restore the KV cache outside a pause
140f1e12
qgallouedec Narrow the batch processor and size the restored cache from its tenso…
6b006b89
qgallouedec Merge branch 'main' into cb-release-kv-cache
d4c87159
qgallouedec Merge main into cb-release-kv-cache
8be2da87
qgallouedec Merge main into cb-release-kv-cache (6e8080971c)
9a16d899
remi-or typos
133fc39a
remi-or Update: restict to cm
4bcdd23a
remi-or nits
cd6ba8a5
remi-or Safety
0e24247a
remi-or remi-or requested a review from qgallouedec qgallouedec 1 day ago
HuggingFaceDocBuilderDev

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone