Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,10 @@ You can test that all libraries are installed properly by running:
```

Tested on Ubuntu 14.04, CentOS/RHEL 6.3 and OSX

https://github.com/torch/torch7/issues/1086


export TORCH_NVCC_FLAGS="-D__CUDA_NO_HALF_OPERATORS__"
bash install-deps
yes | bash ./install.sh
3 changes: 2 additions & 1 deletion install-deps
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ elif [[ "$(uname)" == 'Linux' ]]; then
echo "Some portion of the update is failed"
fi
# python-software-properties is required for apt-add-repository
sudo apt-get install -y python-software-properties
# sudo apt-get install -y python-software-properties
sudo apt-get install -y software-properties-common # for 18.04 LTS
echo "==> Found Ubuntu version ${ubuntu_major_version}.xx"
if [[ $ubuntu_major_version -lt '12' ]]; then
echo '==> Ubuntu version not supported.'
Expand Down