composability_bench icon indicating copy to clipboard operation
composability_bench copied to clipboard

No performance gain observed on kmeans scikit-learn with tbb and mkl based intelnumpy

Open vineel96 opened this issue 2 years ago • 0 comments

Hi @anton-malakhov @rscohn2 @samaid @sfblackl-intel , I did not observe any performance gain in execution time on scikit-learn's kmeans algorithm with tbb monkey patching and intelnumpy(which uses MKL) over normal kmeans algorithm. system: aws c6i.4xlarge icelake with 8 cores(2 threads per core) I have installed intelnumpy, tbb, smp, numba. I have following doubts:

  1. do TBB monkey patching mimics 100% of oneTBB which is used in onedal(scikit-learn-intelex)?
  2. Based on results can we conclude that oneMKL and oneTBB does not contribute at all for performance gain for kmeans which are major building blocks in scikit-learn-intelex?

vineel96 avatar May 09 '23 21:05 vineel96