Pytorch GPU is not working

nvidia-smi output-
code I’m trying to run-
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
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.