Is there a recommended (or any) way to generate C code corresponding to a pytorch graph computation? I have seen https://github.com/lantiga/pytorch2c, but it seems like that is no longer supported. That page has talk of some native capabilities coming to Pytorch, but I’m not sure I can find them.
Is this something that is possible?
Context: Pytorch is great, but the python surrounding it can be slow. I am hoping that I can use pytorch to create my graph, output it to C, and compile it for large speedups.