Loading...
Loading...
Host setup for TAO GPU backends. Checks and, after user approval, installs NVIDIA driver branch 580, CUDA Toolkit 13.0, and NVIDIA Container Toolkit 1.19.0 for Docker/local-Docker and Kubernetes GPU worker hosts. The `--check-only` path works on any Linux distribution; `--install` automates debian-family (Ubuntu/Debian/Pop!_OS/Mint/Zorin/Raspbian), rhel-family (Fedora/RHEL/Rocky/AlmaLinux), and suse-family (openSUSE/SLES) hosts, and prints actionable manual-install steps for everything else.
npx skill4agent add nvidia/skills tao-setup-nvidia-gpu-hostdockerlocal-dockerkubernetes580cuda-toolkit-13-01.19.0dockerlocal-dockerdocker.iomoby-enginedocker-cedownload.docker.comdocker--skip-docker-installnvidia-smidpkgrpmnvidia-ctk--install| Family | Tested distros | Manager | Notes |
|---|---|---|---|
| debian | Ubuntu 22.04 / 24.04, Debian 12 (and derivatives Pop!_OS, Mint, Zorin, Raspbian, KDE Neon, etc. via | | Adds NVIDIA |
| rhel | Fedora 39+, RHEL / Rocky / AlmaLinux 9 and 10 | | Adds NVIDIA |
| suse | openSUSE Leap 15, SLES 15 | | Adds the same NVIDIA |
| other (Arch, Alpine, Gentoo, NixOS, FreeBSD, …) | n/a | n/a | |
# Check the local Docker backend host.
bash skills/platform/tao-setup-nvidia-gpu-host/scripts/setup-nvidia-gpu-host.sh --backend docker --check-only
# Install or repair after user approval (prompts for confirmation; see the note below for non-interactive runs).
bash skills/platform/tao-setup-nvidia-gpu-host/scripts/setup-nvidia-gpu-host.sh --backend docker --install
# Check a Kubernetes GPU worker host.
bash skills/platform/tao-setup-nvidia-gpu-host/scripts/setup-nvidia-gpu-host.sh --backend kubernetes --check-only⚠️ Note — running non-interactively (agent / skill runs): a skill run has no terminal, so the installer'sconfirmation cannot be answered. After runningContinue? [y/N]to preview what is missing and getting the user's explicit approval, append the assume-yes flag (--check-only) to the--yescommand so it proceeds without a prompt. That auto-confirms installation of system packages (NVIDIA driver branch 580, CUDA Toolkit 13.0, NVIDIA Container Toolkit, and — for Docker backends — Docker) and modifies the host: it adds NVIDIA package repositories, may restart Docker, and adds the invoking user to the--installgroup, so only do this on a host you control and have the privileges to change. When a person runsdockerdirectly at a terminal, the script instead prompts with the exact package list before making any changes.--install
skills/bash skills/tao-setup-nvidia-gpu-host/scripts/setup-nvidia-gpu-host.sh --backend docker --check-onlySETUP_SCRIPT="${TAO_SKILL_BANK_ROOT:-$PWD}/skills/tao-setup-nvidia-gpu-host/scripts/setup-nvidia-gpu-host.sh"
[ -x "$SETUP_SCRIPT" ] || SETUP_SCRIPT="${TAO_SKILL_BANK_ROOT:-$PWD}/platform/tao-setup-nvidia-gpu-host/scripts/setup-nvidia-gpu-host.sh"
bash "$SETUP_SCRIPT" --backend docker --check-only || {
echo "MISSING: TAO GPU host runtime is not ready."
echo "After user approval, run (append --yes for non-interactive agent runs):"
echo " bash \"$SETUP_SCRIPT\" --backend docker --install"
exit 1
}dockercuda-keyringcuda-<distro>.repo.list.repocuda-toolkit-13-01.19.01.19.0-1nvidia-ctk runtime configure --runtime=dockersystemctl$SUDO_USER$USERdockerdockersudo--skip-docker-groupnewgrp dockermodprobe nvidia| Step | debian-family | rhel-family | suse-family |
|---|---|---|---|
| Kernel headers | | | |
| Driver | | | |
| CUDA toolkit | | | |
| Container Toolkit | | | same as rhel |
| Docker | | | |
nvidia-smi
/usr/local/cuda-13.0/bin/nvcc --version
docker info --format '{{json .Runtimes}}' | grep nvidia
sudo docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-sminvidia-smi580.x13.0nvccrelease 13.0kubectlnvidia.com/gpuhelm repo add nvidia https://helm.ngc.nvidia.com/nvidia
helm repo update
helm install --wait gpu-operator -n gpu-operator --create-namespace nvidia/gpu-operator--install/etc/os-releasehttps://docs.nvidia.com/cuda/cuda-installation-guide-linux/https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.htmlhttps://docs.docker.com/engine/install/--check-onlyIDpopmintzorinraspbianUBUNTU_CODENAMEVERSION_CODENAMEfocaljammynoblebullseyebookwormtrixie--install--check-onlyMISSING: Docker is not installed--installdocker.iomoby-enginedocker-cedockerdocker--skip-docker-installdocker rundockernewgrp dockernvidia-ctk runtime configure --runtime=dockernvidia-open-580$NVIDIA_DRIVER_PACKAGE_RHEL$NVIDIA_DRIVER_KMOD_RHEL$NVIDIA_DRIVER_PACKAGE_SUSE--installnvidia-smisudo modprobe nvidianvidia-smi