Hi,
I never asked that question but given that all of the codegen we do is implemented in python, I would say that python is required to build libtorch yes (even though it is not required to use it!).