Skip to content

Fix: attempt to reduce the impact of a worst-case scenario on defragmentation#6037

Merged
ggerganov merged 3 commits intoggml-org:masterfrom
Xarbirus:defrag-update
Mar 14, 2024
Merged

Fix: attempt to reduce the impact of a worst-case scenario on defragmentation#6037
ggerganov merged 3 commits intoggml-org:masterfrom
Xarbirus:defrag-update

Conversation

@Xarbirus
Copy link
Copy Markdown
Contributor

Perhaps this update for the llama_kv_cache_defrag_internal function will help improve the handling of very large holes in the cache.

@Xarbirus Xarbirus marked this pull request as ready for review March 13, 2024 21:01
Comment thread llama.cpp Outdated
@ggerganov ggerganov merged commit 2c4fb69 into ggml-org:master Mar 14, 2024
NeoZhangJianyu pushed a commit to NeoZhangJianyu/llama.cpp that referenced this pull request Mar 15, 2024
…rg#6037)

* attempt to reduce the impact of a worst-case scenario

* fragmentation calculation fix

* Update llama.cpp

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
@Xarbirus Xarbirus deleted the defrag-update branch April 17, 2024 10:11
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
…rg#6037)

* attempt to reduce the impact of a worst-case scenario

* fragmentation calculation fix

* Update llama.cpp

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
…rg#6037)

* attempt to reduce the impact of a worst-case scenario

* fragmentation calculation fix

* Update llama.cpp

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants