Created
March 7, 2019 15:55
-
-
Save shubhamagarwal92/cda9223ad921bf7e0d806a94a4ef7173 to your computer and use it in GitHub Desktop.
Installing torch7 on cuda 10 and ubuntu 18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installing torch 7 can be a nightmare on cuda 10. Luckily @nagadomi simplified it. | |
# https://github.com/nagadomi/waifu2x/issues/253#issuecomment-445448928 | |
git clone https://github.com/nagadomi/distro.git ~/torch --recursive | |
cd ~/torch | |
./clean.sh | |
./update.sh | |
# Installing cudnn | |
git clone https://github.com/soumith/cudnn.torch.git -b R7 | |
cd cudnn.torch | |
luarocks make cudnn-scm-1.rockspec | |
# If cutorch still doesn't load | |
# Dont do luarocks install cutorch | |
# https://github.com/torch/cutorch/issues/834#issuecomment-428767642 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment