[torch] Use hardcoded revision for pytorch
This commit is contained in:
@@ -6,6 +6,8 @@ NO_CUDA=true # set to false for GPU support
|
|||||||
|
|
||||||
if [ ! -d $TH_TARGET_DIRECTORY/include/THNN ]; then
|
if [ ! -d $TH_TARGET_DIRECTORY/include/THNN ]; then
|
||||||
git clone https://github.com/pytorch/pytorch.git
|
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
|
mkdir build_torch
|
||||||
cd build_torch
|
cd build_torch
|
||||||
|
|||||||
Reference in New Issue
Block a user