Should Pytorch install in develop mode using 100% CPU?

Hello, I built Pytorch from source and installed in develop mode for making open-source contributions. However, I noticed that when I have to update my local repository to keep up-to-date with the main repository, I have to re-install Pytorch in develop mode as stated in the contributing doc by running python setup.py develop (Step 3).

Running this script takes around 40 minutes on a brand new Intel i7-10700K (8 core with hyperthreading) and uses 100% of the CPU. I am wondering if this is normal or is there a way I can reduce CPU usage while running this script? Thank you.

You could set the MAX_JOBS env variable to a specific number to reduce the CPU workload.