I've set up a new virtual machine (on GCP) with a K80 GPU on Ubuntu 16. Followed installation instructions for the CUDA toolkit 9.1
nvidia-smi returns correctly: NVIDIA-SMI 390.12 Driver Version: 390.12 ...
in pytorch, cuda.is_available() returns True, but any operation fails:
torch.randn(10).cuda() ==>
RuntimeError: cuda runtime error (2) : out of memory at /opt/conda/conda-
bld/pytorch_1512378422383/work/torch/lib/THC/generic/THCStorage.cu:58
What am I missing in the installation?