Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loredanacirstea/c8b01d79fec2d999994f7c100c438eaf to your computer and use it in GitHub Desktop.
Save loredanacirstea/c8b01d79fec2d999994f7c100c438eaf to your computer and use it in GitHub Desktop.
FairSeq Torch Installation macOS
#torchnet
git clone https://github.com/torchnet/torchnet.git && cd torchnet
~/torch/install/bin/luarocks install rocks/torchnet-scm-1.rockspec
#torch-rnn
git clone https://github.com/facebookresearch/torch-rnnlib.git && cd torch-rnnlib/
~/torch/install/bin/luarocks make rocks/rnnlib-0.1-1.rockspec .
#argcheck
~/torch/install/bin/luarocks build https://raw.github.com/torch/argcheck/master/rocks/argcheck-scm-1.rockspec/Users/loretoparisi/torch/install/bin/luarocks build https://raw.github.com/torch/nn/master/rocks/nn-scm-1.rockspec
#moses
~/torch/install/bin/luarocks build https://raw.github.com/torch/moses/master/rockspec/moses-1.6.1-1.rockspec
~/torch/install/bin/luarocks build https://raw.github.com/Yonaba/Moses/master/rockspec/moses-1.6.1-1.rockspec
#nn
~/torch/install/bin/luarocks build https://raw.github.com/torch/nn/master/rocks/nn-scm-1.rockspec
#md5
~/torch/install/bin/luarocks build https://raw.github.com/keplerproject/md5/master/rockspec/md5-1.2-1.rockspec
#threads
~/torch/install/bin/luarocks build https://raw.github.com/torch/threads/master/rocks/threads-scm-1.rockspec
#tds
~/torch/install/bin/luarocks build https://raw.github.com/torch/rocks/master/tds-scm-1.rockspec
#torchnet
~/torch/install/bin/luarocks build https://raw.github.com/torchnet/torchnet/master/rocks/torchnet-scm-1.rockspec
#vector
~/torch/install/bin/luarocks build https://raw.github.com/torch/vector/master/rocks/vector-scm-1.rockspec
#torchnet-sequential
~/torch/install/bin/luarocks build https://raw.github.com/torchnet/sequential/master/rocks/torchnet-sequential-scm-1.rockspec
#tbc
~/torch/install/bin/luarocks build https://raw.github.com/gchanan/TemporalConvolutionTBC/master/rocks/tbc-scm-1.rockspec
#luasocket
~/torch/install/bin/luarocks build https://raw.github.com/diegonehab/luasocket/master/luasocket-scm-0.rockspec
#visdom
~/torch/install/bin/luarocks build https://raw.github.com/facebookresearch/visdom/master/th/visdom-scm-1.rockspec
#fairseq
~/torch/install/bin/luarocks make rocks/fairseq-cpu-scm-1.rockspec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment