[Bug]: Use libopenblas-openmp
instead of libopenblas
#35526
Labels
kind/bug
Issues or changes related a bug
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
stale
indicates no udpates for 30 days
Is there an existing issue for this?
Environment
Current Behavior
By default,
libopenblas
usespthreads
for multithreading. We useopenmp
in our search engine. Combined, this may lead toN^2
threads being spawned (each ofN
openmp
threads spawnsN
pthread
threads). For example, this issue zilliztech/knowhere#739.In order to mitigate this, we need to use an
openmp
-compatible version ofopenblas
in Milvus Docker containers andinstall_deps
scripts. For ubuntu, it islibopenblas0-openmp
/libopenblas-openmp-dev
instead oflibopenblas
/libopenblas-dev
. Also, make sure thatlibopenblas0-pthread
/libopenblas-pthread-dev
are not installed.I insist that issues like zilliztech/knowhere#739 were resolved incorrectly.
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: