Problems about installing torch_glow
I have successfully compiled the Glow C++ API. And I want to test the glow in the python language. That is, I want to use import torch_glow. When I go to torch_glow folder and then python setup.py install It has the following errors.
[ 62%] Linking CXX executable ../GraphGradTest [ 62%] Linking CXX executable ../ProvisionerTest [ 63%] Linking CXX executable ../GlowOnnxifiManagerTest /Users/baiyang/Downloads/glow/torch_glow/src/PyTorchModelLoader.cpp:26:10: fatal error: 'ATen/native/c10_utils.h' file not found #include <ATen/native/c10_utils.h> ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[2]: *** [torch_glow/src/CMakeFiles/PyTorchModelLoader.dir/PyTorchModelLoader.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 64%] Building CXX object tools/loader/CMakeFiles/text-translator.dir/TextTranslator.cpp.o [ 64%] Linking CXX executable ../HostManagerTest /Users/baiyang/Downloads/glow/torch_glow/src/PyTorchCommon.cpp:34:15: error: no member named 'getExecutorMode' in namespace 'torch::jit' torch::jit::getExecutorMode() = false;
[ 65%] Building CXX object tools/loader/CMakeFiles/image-classifier.dir/ImageClassifier.cpp.o
[ 65%] Building CXX object tools/loader/CMakeFiles/model-runner.dir/ModelRunner.cpp.o
Can you help me to solve this problem or can you tell me the correct way to install torch_glow?
您好 大佬,我也遇到了同样的问题,请问您解决了吗?