Category : torch

I am running the Ubuntu 18.04 Deep Learning AMI (DLAMI) on AWS, and am attempting to run it on a p2.xlarge EC2 instance, but cannot get CUDA working. torch.cuda.is_available() is returning false in ipython, even though nvidia-smi is showing that I have a GPU available: [email protected]:~$ source activate pytorch_latest_p37 (pytorch_latest_p37) [email protected]:~$ ipython Python 3.9.5 (default, ..

Read more

I am trying to install Torch in a Google Colab notebook, and after running the following cell: %cd /content/ !git clone https://github.com/nagadomi/distro.git torch –recursive import os os.chdir(‘./torch/’) !bash install-deps !./install.sh !. ./install/bin/torch-activate it gets stuck on !./install.sh with the error /content/torch/extra/cutorch/init.c:938:34: error: ‘struct cudaPointerAttributes’ has no member named ‘isManaged’ after trying to read this line ..

Read more