So the proces of actually installing the NVIDIA driver that fit my GTX-1070 GPU was a waaay easier step than actually setting it up with tensorflow-gpu, for running machine learning models on the GPU instead of the CPU. After all this was the main point of getting the Razer Blade 15.
So after trying several online tutorials and getting error after freaking error, I uninstalled everything I tried to install already and started with this tutorial, which saved me.
Also this dude, copying the exact same tutorial, gave some pretty good hints how to avoid certain errors along the way.
I ran into more errors though. When trying to install tensorflow, at around step 13, a fun little error about some “NCCL-SLA.txt” introduced itself. This error occurred, apparently because that file didn’t exist. But fixed it by duplicating the “LICENCE.txt” file inside of
/usr/local/cuda-9.2/targets/x86_64-linux and changing the duplicates name to “NCCL-SLA.txt”.
Afterwards when actually trying to run the
pip install tensorflow*.whl, some “Permission Denied” error popped up. I later found out (after 1 hour on google) that I simply had to run the command with the
--user flag like so:
pip install tensorflow*.whl --user
What a great day.
See you around <3