matteo-ronchetti / torch-radon

Computational Tomography in PyTorch
https://torch-radon.readthedocs.io
GNU General Public License v3.0
219 stars 45 forks source link

Mimimum version of cudatoolkit and pytorch #20

Closed Mikerov closed 3 years ago

Mikerov commented 3 years ago

What are the minimum possible versions of pytorch and cudatoolkit when building from source.

I receive a lot of errors when building using Pytorch 1.1 and cudatoolkit 9.0, which I don't have for Pytorch 1.7 and cudatoolkit 10.

Due to hardware restrictions it is not possible for me to install newer versions. Does it mean that it is hopeless?

matteo-ronchetti commented 3 years ago

I think you should compile PyTorch from source (as explained here) in order to get a new version of PyTorch working with CUDA 9. Then you should be able to install TorchRadon from source as explained here.

Mikerov commented 3 years ago

Building PyTorch from source seems to have solved the issue