Qwen2-7B-Instruct-FP8

我要开发同款
匿名用户2024年07月31日
41阅读
所属分类ai、qwen2、Pytorch
开源地址https://modelscope.cn/models/HowieJun/Qwen2-7B-Instruct-FP8
授权协议qwen

作品详情

通义千问2-7B-Instruct-FP8

原模型 qwen/Qwen2-7B-Instruct

#SDK模型下载
from modelscope import snapshot_download
model_dir = snapshot_download('HowieJun/Qwen2-7B-Instruct-FP8')

vllm(0.4.2)推理

OPENAI API Server

>>> python -m vllm.entrypoints.openai.api_server --host 0.0.0.0 --port 8001 --gpu-memory-utilization 0.9 --served-model-name Qwen2-7B-Instruct-FP8 --model /home/harvey/PM/Qwen2-7B-Instruct-FP8

基准测试

Qwen2-7B-FP16

============ Serving Benchmark Result ============

**Successful requests: 1000 **

**Benchmark duration (s): 114.53 **

**Total input tokens: 217393 **

**Total generated tokens: 181935 **

**Request throughput (req/s): 8.73 **

**Input token throughput (tok/s): 1898.17 **

**Output token throughput (tok/s): 1588.57 **

---------------Time to First Token----------------

Qwen2-7B-FP8

============ Serving Benchmark Result ============

**Successful requests: 1000 **

**Benchmark duration (s): 110.69 **

**Total input tokens: 217393 **

**Total generated tokens: 180916 **

**Request throughput (req/s): 9.03 **

**Input token throughput (tok/s): 1964.01 **

**Output token throughput (tok/s): 1634.46 **

---------------Time to First Token----------------

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论