For this issue (https://github.com/apache/incubator-mxnet/issues/10836), we need to determine the number of physical cores for each platform. Currently we assume each platform supports HyperThreading and just fetch the number of logical cores and divide by 2. However, in cases where the machine does not support HTT, we underutilize the CPUs. Per the issue’s thread, the PyTorch organization has a library that does just this ( https://github.com/pytorch/cpuinfo). The library is a bit heavy and we only need a small portion of the code. Does anyone know if there is an issue with just using a subset of the code?
Alex
