Why is vLLM CPU backend using oneDNN kernels? #10694
Replies: 2 comments 8 replies
|
There are two components using oneDNN.
|
|
Hi, I’m looking for independent CPU-inference performance feedback on an open-source project called MemVanta. We have opened a constrained optimization challenge: maximize tokens/sec while preserving the existing peak-memory advantage. Given the CPU kernel / oneDNN / INT8 GEMM work discussed in this community, I’d be particularly interested in feedback around: • quantized CPU kernels The challenge requires same-machine baseline vs optimized measurements and exact reproduction commands. Independent positive or negative results are welcome. The goal is to determine what actually improves the memory/throughput frontier rather than optimize throughput at any cost. Any technical pointers would be greatly appreciated. |
Uh oh!
There was an error while loading. Please reload this page.
I was reviewing the logs of the kernels being called during vLLM CPU inference and noticed that it invokes CPU kernels written in C++ with intrinsics. However, the majority of CPU utilization is attributed to OpenBLAS and oneDNN. My question is: what component is responsible for calling oneDNN kernels, and why are the C++ kernels necessary if Torch is managing everything?
@bigPYJ1151, could you please explain this behavior? I need this clarification to optimize ARM CPU inference performance.
All reactions