Comments (3)
你好,faiss 本身作为可选项,目前没有计划拓展。你可以自行对 kv cache 进行操作实现 save/load。https://github.com/facebookresearch/faiss/wiki/Index-IO,-cloning-and-hyper-parameter-tuning#io-and-deep-copying-indexes
from infllm.
好像用torch.save就可以保存past_key_values,我实现了一下
from infllm.
好厉害,非常感谢
from infllm.
Related Issues (20)
- 请问如何debug下每次中间是哪些token位置被选中进行拼接的? HOT 1
- 多卡支持问题 HOT 2
- Code licence HOT 2
- How to use w transformers? HOT 4
- Needle In A Haystack test? HOT 1
- 是否支持Qwen1.5-7B的量化版本? HOT 11
- 实际测试效果较差 HOT 4
- 是否支持多batch推理? HOT 5
- longbench
- IndexErrors when attempting to run triton flashattention HOT 1
- ValueError: Only supports llama, mistral and qwen2 models.
- Qwen1.5-72B-chat-AWQ with longbench and infinibench benchmark OOM with A100 80G
- 关于longbench测试问题。 HOT 1
- `Position Emb` and `Chunk size`
- 可以与vllm集成吗?
- Support CohereForAI/c4ai-command-r-v01
- ZERO Score when using Origin settings
- 接入一个新的模型需要满足哪些条件 HOT 2
- Representative Score计算与Memory Lookup的实现细节? HOT 4
- running with infllm-12k.yaml meets errors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infllm.