Replies: 1 comment 2 replies
-
The performance difference comes from NumPy. Anaconda NumPy uses MKL and pip NumPy uses OpenBLAS. But I don't know the reason why OpenBLAS has performance degradation. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The performance gap between Install from source code and conda installation is very large (training speed performance)
I tried to improve the performance of deepmd.
After testing the performance of deepmd on different GPU and different tf versions, I found that the training speed directly installed from conda can be nearly 100% faster than the source code (pip install .). My installation method strictly follows the steps at https://github.com/deepmodeling/deepmd-kit/blob/master/doc/install/install-from-source.md#install-the-python-interface.
I would like to ask why the conda method is faster, is the code different from the github version? Or added a special compilation method, can you tell me?
Beta Was this translation helpful? Give feedback.
All reactions