InternLM / InternLM/lmdeploy

[Performance] How many gains does Interactive Inference Mode contribute to the throughput?

Open
#565 1 comment 0 reactions 1 assignee Claimed by @lvhan028 View on GitHub
Dominant language
Python
Stars
8.1k
Forks
748
Avg merge
6d 2h
Merged PRs (30d)
54

Description

### 📚 The doc issue

I see one of the key features of lmdeploy is the "Interactive Inference Mode". As far as I know, most of the existing llm serving frameworks only record the kv cache during one dialogue, they usually do not record the cache cross multi dialogues. KV cache cross multi dialogues can avoid lots of repetitive caculation of self attention thus can improve system throughput (let's say tokens per second). So I'm pretty interested of how many gains does Interactive Inference Mode contribute to the throughput?

### Suggest a potential alternative/fix

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.