Skip to content

[Usage]: vllm启动qwen2.5vl-7b以后 为什么显存使用越来越多 #19828

Open
@wqw0806

Description

@wqw0806

Your current environment

使用vllm0.7.3启动qwen2.5vl-7b模型,模型启动命令是:nohup env CUDA_VISIBLE_DEVICES=4, vllm serve /Qwen/Qwen2___5-VL-7B-Instruct/ --trust-remote-code --served-model-name qwen_model --gpu-memory-utilization 0.9 --tensor-parallel-size 4 --port 8000 &>qwen.log &
使用显卡是4张nvidia 4090 最开始启动的时候显存占用是每张卡约8G左右,运行时间越长,显存占用越多,一晚上的显存占用增加到约12G左右。

Image

Image 请问为什么显存会越来越多呀?应该怎么解决这个问题呀?

How would you like to use vllm

I want to run inference of a [specific model](put link here). I don't know how to integrate it with vllm.
我应该怎么使用vllm才不会造成这种显存越来越多的现象呢?

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    usageHow to use vllm

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions