Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Usage]: 为什么CPU KV cache usage一直为0.0% #11871

Open
1 task done
WangJianQ-0118 opened this issue Jan 9, 2025 · 0 comments
Open
1 task done

[Usage]: 为什么CPU KV cache usage一直为0.0% #11871

WangJianQ-0118 opened this issue Jan 9, 2025 · 0 comments
Labels
usage How to use vllm

Comments

@WangJianQ-0118
Copy link

Your current environment

The output of `python collect_env.py`

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.

我用的是L40,发现GPU KV cache在使用中,但是CPU KV cache一直为0,想利用起这部分资源,请问大佬们该如何配置呀?

INFO 01-09 09:53:39 metrics.py:351] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 18.5 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 20.0%, CPU KV cache usage: 0.0%.
INFO: 10.38.115.100:51522 - "GET /metrics HTTP/1.1" 200 OK
INFO 01-09 09:53:44 metrics.py:351] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 18.5 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 20.0%, CPU KV cache usage: 0.0%.
INFO: 10.38.115.100:51522 - "GET /metrics HTTP/1.1" 200 OK
INFO 01-09 09:53:49 metrics.py:351] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 18.4 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 20.0%, CPU KV cache usage: 0.0%.
INFO: 10.38.115.100:51522 - "GET /metrics HTTP/1.1" 200 OK
INFO 01-09 09:53:54 metrics.py:351] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 18.4 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 20.0%, CPU KV cache usage: 0.0%.

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.
@WangJianQ-0118 WangJianQ-0118 added the usage How to use vllm label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usage How to use vllm
Projects
None yet
Development

No branches or pull requests

1 participant