Code Generation for PyTorch C++ Bare Metal (without OS)?

I was about to post the same, but I wasn’t sure how “low level” you need to go.

Glow builds and runs on macOS and Linux. The software depends on a modern C++ compiler that supports C++11, on CMake, LLVM, protocol buffers, and libpng.