Hi,
The c++ code is compiled as python extensions. So from the task manager point of view, it is python that uses these ressources.
Note that in pytorch, all the compilation is done ahead of time, not at runtime.