majiayu000/claude-skill-registry-data/pixi-install-nvidia

Claude Code and agent skill by majiayu000/claude-skill-registry-data

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Tainted

Author "majiayu000" has blocked skill(s)

Use when the user says "use pixi to install <some nvidia tool>" (or similar) and wants NVIDIA/CUDA/GPU packages installed via Pixi (no sudo/apt), e.g., CUDA toolkit pieces, cuDNN/NCCL, PyTorch CUDA builds, RAPIDS.

Install

npx vskill@latest install majiayu000/claude-skill-registry-data/pixi-install-nvidia

SKILL.md

The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/pixi-install-nvidia.

Pixi Install NVIDIA

Trigger

Use this skill when the user asks to install NVIDIA tooling via Pixi, especially in the form:

  • "use pixi to install <some nvidia tool>"

Examples:

  • "use pixi to install cuda"
  • "use pixi to install nvcc"
  • "use pixi to install cudnn/nccl"
  • "use pixi to install pytorch cuda 12.1"

Overview

This skill provides workflows for setting up No-Sudo, User-Space GPU environments. By installing CUDA toolkits and libraries via Pixi, you avoid modifying the host system (apt install) and ensure perfect reproducibility across different machines.

Key Benefits

  • No Root Needed: Install compilers (NVCC) and libraries (cuDNN, NCCL) without sudo.
  • Isolation: Project CUDA version is independent of the host's /usr/local/cuda.
  • Reproducibility: pixi.lock guarantees the exact same driver-compatible libraries everywhere.

Workflow

1. Channel Configuration

Ensure the correct channels are present in pyproject.toml. The order determines priority.

  • Command: pixi project channel add nvidia (and pytorch if needed).
  • Priority: nvidia MUST be prioritized over conda-forge for all NVIDIA tools and libraries (CUDA, cuDNN, NCCL, etc.), unless the user explicitly requests otherwise.
2. Adding GPU Packages

Use specific versions to ensure compatibility between CUDA and the framework. Always prefer the nvidia channel for these packages.

PyTorch (Recommended)
bash
pixi add pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
CUDA Toolkit Components

Instead of the massive cuda-toolkit, consider adding only what's needed:

bash
pixi add cuda-compiler cuda-libraries-dev
3. Verification

After installation, verify GPU visibility:

bash
pixi run python -c "import torch; print(torch.cuda.is_available())"

Troubleshooting & References

  • CUDA Version Mismatch: Check nvidia-smi on the host to ensure the installed pytorch-cuda version is supported by the host driver.
  • Library Loading Issues: If libcuda.so or libcudart.so are not found, ensure the environment is activated (pixi shell).
  • Detailed Package List: See nvidia-packages.md for a comprehensive list of available NVIDIA and GPU libraries.
  • Compiling Code: See compiling-cuda.md for instructions on using nvcc and cmake with the Pixi-managed toolkit.

Resources

references/
  • [nvidia-packages.md](references/nvidia-packages.md): Comprehensive guide on channels, packages, and versioning for NVIDIA ecosystems.
  • [compiling-cuda.md](references/compiling-cuda.md): Guide for compiling CUDA C++ code using the Pixi-managed toolchain.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/majiayu000/claude-skill-registry-data/pixi-install-nvidia/badge)](https://verified-skill.com/skills/majiayu000/claude-skill-registry-data/pixi-install-nvidia)

Something wrong with this skill or its page? Tell us.