-
Notifications
You must be signed in to change notification settings - Fork 80
Description
Effectively the instructions on http://torch.ch/docs/getting-started.html should come with a warning that they don't work on as stated on current OSX builds.
We provide a simple installation process for Torch on Mac OS X and Ubuntu 12+:
Torch can be installed to your home folder in ~/torch by running these three commands:
in a terminal, run the commands WITHOUT sudo
git clone https://github.com/torch/distro.git ~/torch --recursive
cd ~/torch; bash install-deps;
./install.sh
This gives build error:
nvcc fatal : The version ('90000') of the host compiler ('Apple clang') is not supported
There are similar issues reported for this as per pytorch/pytorch#3047
it may be necessary to download Command Line Tool for 8.3.2 from https://developer.apple.com/download/more/
Run 'sudo xcode-select --switch /Library/Developer/CommandLineTools'
and then try the torch install again, however there will be further errors eg:
error: specified alignment (4) is different from alignment (2) specified on a previous declaration
so it's not quite a simple installation process