Scene-Graph-Benchmark.pytorch icon indicating copy to clipboard operation
Scene-Graph-Benchmark.pytorch copied to clipboard

Cuda Mismatch Issue

Open kyteinsky opened this issue 4 years ago • 3 comments

❓ Questions and Help

Do I need to recompile PyTorch 1.4 with Cuda 11.0 in order to build apex? It raises an error saying that it was compiled using Cuda 10.1 and may result in another issue afterwards.

Is there any option to not use GPU at all for just inference from pre-trained model like from the demo folder?

Any help here?

Thanks!

kyteinsky avatar Oct 16 '20 12:10 kyteinsky

I encountered a same problem even though I compile pytorch 1.4 with cuda 11.0 during inference time

yanan1989 avatar Nov 25 '20 02:11 yanan1989

I solved this issue by using python3.7 instead of python 3.8. pytorch1.4 with cuda10.1 is no problem. Please follow the installation order that kaihui showed us.

yanan1989 avatar Nov 27 '20 01:11 yanan1989

@wangyanan326 That is the problem, I am using fedora and it doesn't allow degrading the CUDA version (fedora WS being a rolling release). I am currently not much involved in this project, once I get back to it, I will definitely try compiling pytorch with the latest cuda and just hope no further errors come up.

kyteinsky avatar Nov 27 '20 16:11 kyteinsky