Skip to content

kvcache reuse support - #1

Open
lishixlnx wants to merge 6 commits into
mainfrom
b_kvcache_reuse
Open

kvcache reuse support#1
lishixlnx wants to merge 6 commits into
mainfrom
b_kvcache_reuse

Conversation

@lishixlnx

Copy link
Copy Markdown
Collaborator

kvcache reuse function support ( only test for Qwen3.5-35B)
currently, client API is not changed and always send full prompt ( Q1+A1+Q2)
amdgpu-server find the Q2 and only send it to model by OGA API appendTokens();

it supports web UI of lemonade;
it supports first prompt with pic, and 2nd prompt without pic; ( OGA's limitation)

also fix bug: first prompt with pic, 2nd prompt with pic without kvcache reuse ( actually, this is a bug in this repo and has nothing to do with kvcache reuse)

still debugging to support copilot client.

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.

1 participant