Comments (4)
this line controls the max session length
session_len = 2056
setting it to a proper value according to model type is not implemented yet
from lmdeploy.
PR #144 处理了这个问题
from lmdeploy.
您好,想请教一个问题,我使用的是也是llama模型,当我把默认的 session_len = 2056 修改为 session_len = 4101之后,推理速度慢了大概10倍左右,请问这是什么原因
from lmdeploy.
可以提供下你的测试方法吗?
from lmdeploy.
Related Issues (20)
- [Bug] 我尝试部署InternLM-xcomposer-7b出现了模型架构的报错 HOT 9
- [Bug] lmdeploy 启动报错,rank[0] failed with error: model.layers.0.mlp.down_proj.qweight doesn't have any device set. HOT 5
- [Feature] support InternVL-Chat-Chinese-V1-2-Plus HOT 2
- [Feature] prefix-cache HOT 24
- [Feature] 是否支持InternLM-XComposer2-4KHD-7B的部署 HOT 3
- Quantilized model speed is much slower than fp16. HOT 6
- [Bug] There are garbled characters in the response in model deepseek-ai/deepseek-moe-16b-chat with temperature = 0.01 and Pytorch backend.
- [Feature] API中VL模型支持interactive mode HOT 3
- [Bug] InternVL-Chat-Chinese-V1-2-Plus在A100上设置tp=2时报错,tp=1时正常运行 HOT 2
- [Bug]多卡启动一个进程会报0卡内存不足 HOT 4
- [Bug] Build lmdeploy error HOT 4
- pip安装的lmdeploy是还不支持qwen1.5吗 HOT 1
- auto_awq 和 calibrate 都没有适配 Qwen2ForCausalLM HOT 5
- [Bug] PyTorch Engine poor performance compared to vllm HOT 3
- [Bug] lmdeploy 加载qwen1.5-32b-chat后,使用chat接口调用生成,后台模型服务中断 HOT 1
- [Feature] 支持Triton版本FA V2 HOT 1
- [Bug]模型设定model-name后返回结果会有问题,如qwen7b 设定--model-name qwen-vl-7b HOT 1
- Llama 3 support HOT 15
- [Bug] 无法部署https://github.com/PKU-Alignment/safe-rlhf这里的大模型
- [Feature] TurboMind support W8A8 or FP8 KV Cache HOT 7
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 lmdeploy.