Why is vLLM CPU backend using oneDNN kernels? #10694
Answered
by
bigPYJ1151
sanketkaleoss
asked this question in
Q&A
-
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. |
Beta Was this translation helpful? Give feedback.
Answered by
bigPYJ1151
Nov 27, 2024
Replies: 1 comment 8 replies
-
There are two components using oneDNN.
|
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
sanketkaleoss
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are two components using oneDNN.
nn.linear
on CPU is using oneDNN by default.