pytorch_compiler_tutorial
pytorch_compiler_tutorial copied to clipboard
Error when running ./build.sh
Hi,
When I run the build.sh file after setting the -DPYTORCH_DIR to the pytorch build from the source directory, I get the following error. Any idea on how to solve it?

what is the dir you set -DPYTORCH_DIR to? The build folder output from python setup.py develop doesn't contain everything I believe (e.g. build/include only has the c10d folder). You'll need to instead python setup.py install to a local dir.
looks like the include path has changed with recent pytorch version. I tried foll. and it fixed above issues
#include <torch/csrc/jit/runtime/custom_operator.h>
#include <torch/csrc/jit/passes/pass_manager.h>