Is there any command to generate code without compiling?

PyTorch has code generation tools like tools/autograd/gen_autogra.py and aten/src/ATen.py.
For looking around the generated code, it seems fully compile it but it takes time.
Is there any command only to generate code? (it does not need to comple)

I just try to execute following command in master branch but it failed.

python3 setup.py build_ext