Closed drscotthawley closed 4 years ago
Just some extra checking to make sure everything is installed...
SPOILER: at the end of this it works.!
~/Downloads/tensorman/examples$ sudo apt update
Ign:1 http://linux.dropbox.com/ubuntu cosmic InRelease
Get:2 http://linux.dropbox.com/ubuntu cosmic Release [6,600 B]
Hit:3 http://us.archive.ubuntu.com/ubuntu eoan InRelease
Hit:4 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:5 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:6 http://apt.pop-os.org/proprietary eoan InRelease
Get:7 https://typora.io/linux ./ InRelease [793 B]
Hit:8 http://us.archive.ubuntu.com/ubuntu eoan-security InRelease
Hit:9 http://ppa.launchpad.net/system76-dev/stable/ubuntu eoan InRelease
Hit:10 http://us.archive.ubuntu.com/ubuntu eoan-updates InRelease
Hit:11 http://us.archive.ubuntu.com/ubuntu eoan-backports InRelease
Hit:13 http://ppa.launchpad.net/system76/pop/ubuntu eoan InRelease
Hit:12 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Fetched 7,393 B in 3s (2,271 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
~/Downloads/tensorman/examples$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
~/Downloads/tensorman/examples$ sudo apt install tensorman
Reading package lists... Done
Building dependency tree
Reading state information... Done
tensorman is already the newest version (0.1.0~1576694038~19.10~b8da778).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
~/Downloads/tensorman/examples$ sudo apt install nvidia-container-runtime
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-container-runtime is already the newest version (3.1.4-0pop1~1569270714~19.10~2ea45f8).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
~/Downloads/tensorman/examples$ sudo usermod -aG docker $USER
~/Downloads/tensorman/examples$ systemctl restart docker
~/Downloads/tensorman/examples$ tensorman run --gpu --python3 python -- beginners/main.py
....
....Ok now it works. Odd.
Closing.
Hi, I'm trying to invoke a basic tensorman run with the GPU as per the documentation, and it's saying it can't talk to the GPU. But nvidia-smi shows the GPU is available.
I'm running the latest Pop!_OS with all updates applied. Driver is
nvidia-driver-440
. Running in Hybrid Graphics mode.But a quick check shows that the GPU is available:
Same error happens trying to run the beginners example:
How should I resolve this? Thanks.