by modeless · 7y ago · 0 comments
It's guaranteed that if I upgrade right now I will be troubleshooting black screens, hangs, and compiler incompatibilities for hours if not days in an attempt to install a working set of ML tools including up to date drivers and CUDA.
It's sad that one required proprietary component ruins the whole experience. But there's no other option for ML research. AMD just isn't investing enough.
1: https://www.forbes.com/sites/jasonevangelho/2019/04/15/ubunt...
It's been like this for almost a decade, and I haven't even gotten into Laptops with Integrated/Discrete "piggyback" setups. That nut still is not cracked.
It's kind of sad.
The main issues with GPUs in Linux rests squarely on nvidia's shoulders. Intel has worked flawlessly for ages, and after AMD actually started upstreaming their drivers, their cards have been a dream to work with.
And (please correct me if I'm wrong) OpenCL support in NVidia drivers is still in the "consideration" phases as far as I understand it.
That said, while I do have the latest NVidia drivers now (albeit on an old 750 ti/sc card), I haven't tried to re-install CUDA or other ML tools that I had before (it was done for Udacity's "Self-driving Car Engineer Nanodegree" - to compile code for the assignments, and to utilize my GPU to the fullest, I needed to do a bit of a mashup that subtly broke things - but it worked well enough for the course).
Maybe doing that might show something similar to what you describe?
I know when I did it the first time, I was kinda surprised at how easy it worked out; I had CUDA working with Tensorflow quickly, and it all played nice with the GPU rendering at the same time (we had to do things like train a model using data from a Unity-based 3D driving simulator, so when you ran the model to drive the car, it had to use both CUDA for the model and GL for the graphics, and amazingly it all worked on that poor 750 - and had a decent frame rate!)...