-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Bug]: Milvus indexing use GPU but searching use CPU #38986
Comments
@namogg how do you recognize the indexing use GPU, and how do you recognize searching use CPU? |
even search on GPU will take cpu usage, for example: What is your cpu usage and gpu usage separated? and the QPS, data size.. |
i have the same problem, please tell me why |
Here is my testing code.
GPU usage is around 5-20%. |
I have tried increase DB size to 1Mil, it is using GPU now.But is it normal for CPU usage to be this high if i was using GPU, and it seems to be really slow. |
How do i get milvus pog logs? |
I checked my Milvus-standalone Docker container, and I can see the GPU information and the Milvus process running inside. Even though I created a GPU index, my GPU memory does not change at all during queries. standalone: attu: networks: |
because you don't do flush on your collections. |
before segment sealed, all the data will be at cpu since GPU index don't support grow |
I have made sure that the collection has been flushed. |
Is there an existing issue for this?
Environment
Current Behavior
I have install milvus standalone with GPU. Milvus does indexing with GPU sucessfully but when i tried to search, milvus use all of my CPU.
Expected Behavior
No response
Steps To Reproduce
No response
Milvus Log
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: