Skip to content

Instantly share code, notes, and snippets.

Last active Oct 29, 2020
What would you like to do?
# Bootstrap AWS Deep Learning Base AMI (Ubuntu 18.04)
# install Ruby
sudo snap install ruby --classic
# install LibTorch
wget -O
# download
git clone
cd torch.rb
# install dependencies
bundle install
rake compile -- --with-torch-dir=$HOME/libtorch
# test
rake test
# run example
bundle exec ruby examples/mnist/main.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment