I’m a Python engineer and asked to build a server to run PyTorch model as fast as possible. I am
new to PyTorch and I am not familiar with the algorithms. I’m wandering how PyTorch do calculating on CPU and how to make it as fast as possible.
so I have some questions.
- Does PyTorch relay on NumPy to perform math operations? Or it has it’s own math library?
- I heard that use MKL can speed up, but how can I know whether PyTorch is using MKL or not?
- There are many low-level tensor libraries for PyTorch, like TH, THC…, Are they relay on NumPy? Are they Use MKL for speed?
- If I want to see how many benefit I can gain from MKL, how to disable MKL or enable MKL?