InternLM / InternLM/lmdeploy

[Feature] 怎么通过python代码直接获取命中的prefix前缀长度,而不进行推理等计算

Open
#2,808 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8.1k
Forks
748
Avg merge
6d 2h
Merged PRs (30d)
54

Description

### Motivation

希望看能否通过这种方式使用前缀缓存

### Related resources

_No response_

### Additional context

_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.