Skip to content

在zhilight0.4.7镜像环境下,使用 4张4090 GPU QwQ_72B_GPTQ prompt为4k 1并发 没有复现TTFT为1000左右的情况 #59

Description

@DreamTeamWangbowen

服务端启动命令:

CUDA_VISIBLE_DEVICES=4,5,6,7 python -m zhilight.server.openai.entrypoints.api_server   --host 0.0.0.0   --port 6005   --served-model-name QwQ_72B_GPTQ_4090_zhilight   --model-path /mnt/host_root/mnt/public_data/Qwen/Qwen2.5-72B-Instruct-GPTQ-Int4_main --env "HIGH_PRECISION=0;CPM_FUSE_QKV=1;CPM_FUSE_FF_IN=2;REDUCE_TP_INT8_THRES=100;DUAL_STREAM=1" --dyn-max-batch-size 16

测试命令:

python3 inference_benchmark.py --base-url http://10.72.1.119:6005 --model QwQ_72B_GPTQ_4090_zhilight --input-len 4096 --output-len 1024 --max-concurrency 1 --stop-slo "ttft:10000" "throughput:10" --goodput "ttft:10000" "throughput:10" --metadata arch=x86 gpu="NVIDIA 4090 24G" gpu_num=4 replicas=1 backend=zhilight0.4.17_DUAL_STREAM_0 other_params="{params:--max_model_len 10240 --no-enable-prefix-caching}"

测试结果:

mean_input_tokens mean_output_tokens mean_TTFT mean_prefill_throughput mean_decode_throughput output_throughput mean_TPOT mean_ITL mean_E2EL request_throughput
4044 1024 4017.89 1006.5 45.17 38.4 22.14 22.02 26666.46 0.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions