agentleFS
NVIDIAKnown publisherNVIDIA/deepops/skills/diagnose-driver-install/SKILL.md

diagnose-driver-install

Skill1.5k starsChanged 5 months agoBSD-3-ClauseView on GitHub

Diagnose NVIDIA driver installation failures on DeepOps-managed nodes — nvidia-smi errors, "No devices were found", DKMS build failures, or GPU pods crash-looping. Use before reinstalling anything.

Trending

Quiet since June.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the NVIDIA/deepops repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about NVIDIA/deepops

The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 23

Talked about on GitHub (23 times).

On GitHub · 23

18 more on GitHub

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the srun job sees the GPU, the driver is fine.

    line 21
  2. Distinctive:

    No output → not a driver problem.

    line 29
  3. Very specific:

    Check what is loaded: modinfo nvidia | grep -i license (open modules say MIT/GPL, proprietary says NVIDIA).

    line 45
  4. Distinctive:

    After correcting configuration, converge with the playbook rather than manual package surgery, then validate:

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Diagnose an NVIDIA driver install

Work through these in order; most "driver failures" are one of the first three and need no reinstall.

1. Are you being fooled by GPU hiding?

On DeepOps Slurm nodes, GPUs are hidden from ordinary SSH sessions by design. Bare nvidia-smi over SSH reporting No devices were found on an otherwise healthy node is expected.

srun --gpus=1 nvidia-smi          # the authoritative test on Slurm nodes

If the srun job sees the GPU, the driver is fine. Stop here.

2. Is the hardware visible at all?

lspci | grep -i nvidia

No output → not a driver problem. The GPU is absent, unseated, or bound by VFIO passthrough or platform firmware; escalate to hardware support before touching software.

3. Open vs proprietary kernel modules

nvidia-smi: No devices were found immediately after a clean install is the classic symptom of the wrong module flavor for the GPU generation:

  • Turing and newer (T4, A100, H100, RTX PRO Blackwell): open kernel modules supported — DeepOps default nvidia_driver_ubuntu_use_open_kernel_modules: true is correct.
  • Pascal and older (P100, GTX 10xx): open modules are not supported — set nvidia_driver_ubuntu_use_open_kernel_modules: false in config/group_vars/all.yml and rerun the driver play.

Check what is loaded: modinfo nvidia | grep -i license (open modules say MIT/GPL, proprietary says NVIDIA).

4. Did the kernel module actually build and load?

dkms status                        # driver module state per kernel
dmesg | grep -iE 'nvidia|nvrm' | tail -20
lsmod | grep nvidia
  • DKMS shows an error for the running kernel → usually missing headers (linux-headers-$(uname -r)) or a kernel updated after the driver install. Install headers or reboot into the matching kernel, then rerun the driver play.
  • Module loaded but nvidia-smi fails → check dmesg for RmInitAdapter or fallen-off-the-bus errors; these are hardware/firmware territory.

5. Rerun the play, don't hand-fix

After correcting configuration, converge with the playbook rather than manual package surgery, then validate:

ansible-playbook -l <host> playbooks/nvidia-software/nvidia-driver.yml
python3 scripts/validation/validate_slurm.py --json    # or validate_k8s.py

Reruns are idempotent; a healthy converged rerun reports changed=0.

Kubernetes-specific notes

GPU Operator crash-looping driver pods: kubectl logs -n <gpu-operator namespace> <driver-pod> usually names the same root causes — missing headers, wrong module flavor, or a node reboot needed. Fix via the operator values or node state, not by installing drivers by hand on the host (the operator owns the driver on Kubernetes nodes unless DeepOps was configured for host drivers).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.