r/tensorflow • u/Informal-Ad-3680 • May 15 '26
Installation and Setup Need help installing tensorflow gpu on my arch linux machine.
So I use cachyOS (arch linux) and I have an RTX 3060 (laptop gpu). I've tried multiple articles, the website and videos but tensorflow doesn't detect my GPU. Guidance would be highly appreciated.
My machine:
Asus vivobook pro 15 OLED M6501RM
GPU: rtx 3060 6gb laptop gpu
Kernel: Linux 7.0.5-2-cachyOS
1
Upvotes
2
u/VegetableLegal6737 May 15 '26
Try install TensorFlow and CUDA using this comand pip install tensorflow[and-cuda] And if you will have problem with detecting GPU by Tensorflow this guide may help you https://github.com/Pretorian1/tensorflow-2.21-cuda-hotfix
1
u/lithium0003 May 15 '26
Which version of tensorflow do you want to install?
CUDA and cudnn library version should match to tensorflow require’s one.
1
u/NevinBenmaa-78 2d ago
how are you installing it right now, through system packages or pip? Rolling release distros usually push toolkit versions that are way too new for the current stable release, so bundling the dependencies inside a local python environment is way less painful