[Profiler] Will the CPU version of PyTorch includes Kineto or not?

Hi, guys. As the title stated, I wonder if the CPU-only build of PyTorch would carry Kineto or not? I know that the USE_KINETO is an optional variable while building from source code, but don’t know that if Kineto is the default setting for PyTorch. Also, base on that question, if the answer is yes, is that mean the Kineto headers and .sos are included in the PyTorch wheel?

Thanks.

Just listed related headers in wheels:

.direnv/python-3.12/lib/python3.12/site-packages/torch$ find -name '*kineto*'
./include/kineto
./include/kineto/libkineto.h
./include/torch/csrc/autograd/profiler_kineto.h
./include/torch/csrc/profiler/kineto_shim.h
./include/torch/csrc/profiler/kineto_client_interface.h

And seems symbols are included in libtorch_cpu.so

1 Like