From the PyTorch repo itself, we don’t have any tool to do that no.
And the old version of the lib from GitHub - zdevito/ATen: ATen: A TENsor library for C++11 27 is outdated and does not contain c10.
That being said, nothing prevents you from doing it. But you will have to write the build files yourself