[torch] Use hardcoded revision for pytorch

This commit is contained in:
Ilya Matveev
2018-04-13 15:31:07 +07:00
committed by ilmat192
parent dd44f36842
commit 6c84a86a0f
+2
View File
@@ -6,6 +6,8 @@ NO_CUDA=true # set to false for GPU support
if [ ! -d $TH_TARGET_DIRECTORY/include/THNN ]; then
git clone https://github.com/pytorch/pytorch.git
# Current pytorch master fails the build so we need to checkout a correct revision.
cd pytorch && git checkout 310c3735b9eb97f30cee743b773e5bb054989edc^ && cd ../
mkdir build_torch
cd build_torch