Demonstration of using PyTorch with CMake, setup.py To run with CMake: ./build-run-cmake.sh To run with setup.py: ./build-run-py.sh References https://pytorch.org/cppdocs/installing.html https://github.com/ita9naiwa/attention-impl