Pytorch GPU is not working

nvidia-smi output- https://hastebin.com/raw/ujakafenit
code I’m trying to run- https://hastebin.com/raw/ruqunelova
The error is given in the link .
I have installed torch via this link:- "…/whl/cu90/torch-0.3.0.post4-cp35-cp35m-linux_x86_64.whl"
I’ve installed CUDA Version 9.1.85

I think your GPU is too old. It has compute capability of 2.0, and pytorch supports compute capabilities of >= 3.

Does OSX have support for GPU computation because I am getting the GPU problems as well
but my problem is AssertionError: Torch not compiled with CUDA enabled.

@Calvin_Usiri how did you install pytorch?

Thanks for the quick response.

pip3 install http://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp35-cp35m-linux_x86_64.whl
pip3 install torchvision

I got this from the pytorch website.

I followed this link to try and debug the AssertionError and that is where it said that OSX does not have support for pytorch.

@Calvin_Usiri the OSX binaries don’t support CUDA by default because it isn’t a common configuration. You can download pytorch and build it from source to support CUDA.