Build error docker install - 'struct c10::IValue' has no member named 'toGenericList';
afhuertass opened this issue · 0 comments
Hi
I'm trying to install the library using the provided docker file but it seems that is not working.
I'm following the instructions and cloning the repository using the command:
git clone --recurse-submodules https://github.com/facebookresearch/ReAgent.git
The building of the image works, but after I login to the container and try to run the script
scripts/setup.sh
I have followed the exacts steps that are described in the installation guide and already spent around six hours trying to fix it.
In the logs of the make -j4 everyting seems to be fine but this couple of lines:
/home/ReAgent/serving/reagent/serving/core/PytorchActionValueScorer.cpp:53:53: error: 'struct c10::IValue' has no member named 'toGenericList'; did you mean 'toGenericDict'?
auto outputActionNameList = outputActionNames.toGenericList();
^~~~~~~~~~~~~
toGenericDict
[ 29%] Building CXX object CMakeFiles/rasp-lib.dir/reagent/serving/core/LocalRealTimeCounter.cpp.o
/home/ReAgent/serving/reagent/serving/core/Headers.cpp: In instantiation of 'reagent::operatorDataToPropensity(const OperatorData&)::<lambda(auto:6&&)> [with auto:6 = const std::vector<std::__cxx11::basic_string >&; reagent::StringDoubleMap = std::unordered_map<std::__cxx11::basic_string, double>]':
....
....
CMakeFiles/rasp-lib.dir/build.make:127: recipe for target 'CMakeFiles/rasp-lib.dir/reagent/serving/core/PytorchActionValueScorer.cpp.o' failed
make[2]: *** [CMakeFiles/rasp-lib.dir/reagent/serving/core/PytorchActionValueScorer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/rasp-lib.dir/all' failed
make[1]: *** [CMakeFiles/rasp-lib.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Any idea what is causing this error and how to fix it? Thanks!