I compile pytorch(1.5.0) source code with the following setting:
And I export the following environment variables:
I build it successfully but I found it can not use multi CPU cores(or make full use of CPU cores?).I set different number of threads and the execution time has not changed.Just like this:
And when I test the utilization of CPU,I found that only one core was 100 percent utilized, and all the others were 3 to 4 percent utilized.
Then I use pip to install pytorch and I find the situation is different.What caused this ？
I print the DLLs:
compile source code:
The lipgomp.so is different and Is it the reason?