Comments (4)
fp16 weight requires 16G, and each concurrency requires 1GB to save kv_cache. As the concurrency increases, a total of 30+ GB is normal.
Try int8 quantization to save memory.
from lmdeploy.
https://github.com/InternLM/lmdeploy/blob/main/docs/en/quantization.md
from lmdeploy.
This issue is marked as stale because it has been marked as invalid or awaiting response for 7 days without any further response. It will be closed in 5 days if the stale label is not removed or if there is no further response.
from lmdeploy.
This issue is closed because it has been stale for 5 days. Please open a new issue if you have similar issues or you have any new updates now.
from lmdeploy.
Related Issues (20)
- [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
- 可以支持一下:InternLM-XComposer2 模型吗? HOT 2
- [Feature] random_seed参数
- [Feature] TurboMind support Baichuan 13b and Baichuan2 13b HOT 6
- RelayAttention discussion HOT 2
- [Docs] 0.4.0版本更新好了吗 HOT 3
- [Docs] 请问当前lmdeploy支持大模型的工具调用能力吗? HOT 1
- [Feature] 多模态模型量化示例 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 lmdeploy.