ok this is something that happened to me after doing ubuntu server/desktop upgrade. For some reasons the nvidia drivers of lambda are overrided. A solution not optimal but that works for me is to reinstall lambda stack server and reboot.
are you able to do a clean reinstall? I’ve found that the best way to install lambda stack is to install ubuntu without letting him to search for drivers (remove the tick during the installation) and then install lambda stack.
This is surely something about the drivers as you are not able to run nvidia-smi. If you can’t reinstall try purge all nvidia drivers and reinstall lambda stack (not for servers but for desktop)
But it looks like you are missing basic packages like the nvidia-util so that needs to be
resolved first, and ensure you have the driver installed.
Also from the above, it looks like you do not have Lambda stack installed, but instead it points only to Ubuntu.
Is this a tensorbook, desktop or a server?
Check to see if the kernel driver is loaded:
$ lsmod | grep nvidia
Check to make sure the nvidia packages are installed (and from which repository)
(normally around 30-40 packages, or you may have old stale packages)
$ dpkg --list | grep nvidia
You can clean up what is there and reinstall lambda stack: Lambda Stack: an AI software stack that's always up-to-date
* Depending on if this is a desktop or server has different instructions for packages
to install. (You do not need headless or fabric manager on a desktop).
a. To remove Lambda stack:
$ sudo rm -f /etc/apt/sources.list.d/{graphics,nvidia,cuda}*;
COLUMNS=200 dpkg -l |awk ‘/cuda|lib(accinj64|cu(blas|dart|dnn|fft|inj|pti|rand|solver|sparse)|magma|nccl|npp|nv[^p])|nv(idia|ml)|tensor(flow|board)|torch/ { print $2 }’ |
sudo xargs -or apt -y remove --purge