holoscan-install-wheel

par nvidia

Installer le wheel Python Holoscan SDK via pip dans un environnement virtuel. À utiliser pour les installations Python ; pas pour les installations natives C++/apt ou Conda.

npx skills add https://github.com/nvidia/skills --skill holoscan-install-wheel

Holoscan 5.x Python Wheel Installation

Release and platform checks

This skill targets Holoscan SDK 5.x. Select the requested 5.x release before choosing artifacts. Read its release notes and the matching SDK installation guide. Select the 5.x documentation version; an unversioned page may describe 4.x. For an unreleased checkout, use its docs/sdk_installation.mdx and DEVELOP.md. Early Access binary commands describe planned artifacts, so confirm publication for the exact release before installing. If unavailable, explain that status and offer holoscan-install-source; keep the requested 5.x version.

The 5.0 artifact set targets CUDA 13 and dGPU systems on x86_64 or arm64. Native packages use Ubuntu 24.04; wheels use glibc 2.39 and regular CPython 3.12–3.14. Check the selected release for changes to that matrix. There is no CUDA 12 variant or separate Tegra/iGPU artifact in this set. A driver reporting CUDA 12 support needs a compatibility assessment or driver upgrade before a CUDA 13 installation; the nvidia-smi CUDA field is a driver capability, not the installed toolkit version. Never infer compatibility from that field alone.

Choose a distribution

Wheels contain Python bindings, typing information, and native runtime libraries. C++ headers, CMake files, examples, and sample data are separate. For native C++ development use Debian packages or a source build.

GoalDistribution
Full stackholoscan (selects holoscan-cu13)
Core onlyholoscan-core-cu13
Optional modulesholoscan-vision-cu13, holoscan-visualization-cu13, holoscan-inference-cu13

Inspect the host, python3 --version, and getconf GNU_LIBC_VERSION. Confirm regular CPython 3.12–3.14, glibc 2.39 or newer, a compatible Linux architecture, and the CUDA 13 driver/runtime prerequisites. An active Conda environment does not imply a supported Conda package. Prefer a separate venv for this workflow. If these prerequisites are unmet, report the failed check and stop before installation. Compare the driver version against the selected release's documented CUDA 13 driver requirement; a toolkit version alone is insufficient.

Confirm the exact published 5.x distribution version on PyPI or the selected release's documented index; reserved package names are not installable SDKs. If absent, offer source instead of resolving an unpinned package to 4.x. Keep all components on the same SDK version.

Install and verify

If an installation or verification command fails, stop and report the failing command and output. Do not continue to the example or report success after a failed prerequisite, package-index, dry-run, install, dependency, or import check.

Choose a fresh venv path, or reuse an environment the user selected after checking its contents. Explain the chosen packages before installing:

python3 -m venv ~/holoscan/venv-5x
source ~/holoscan/venv-5x/bin/activate
# SDK_VERSION is the exact published Python distribution version for 5.x.
python -m pip index versions holoscan
python -m pip install --dry-run "holoscan==${SDK_VERSION}"
python -m pip install "holoscan==${SDK_VERSION}"
python -m pip check
python -m pip list --format=freeze
python -c 'import holoscan as hs; print(hs.__version__); print(hs.RealtimeClock); print(len(hs.registry.operators()))'

For Core-only use holoscan-core-cu13 in the index, dry-run, and install commands. Add optional component wheels at the exact matching SDK version. Vision resolves CV-CUDA and NPP Python dependencies. The host supplies the driver and CUDA 13 runtime; Inference expects TensorRT 10 in the application environment. Verify optional providers separately when selected: holoscan_vision, holoscan_visualization, and holoscan_inference.

For execution coverage, obtain examples/first_pipeline/python/first_pipeline.py from the source ref corresponding to this release. Inspect it before execution and run it in the venv; it is bounded and needs no RacerX data or display. Prefer an existing matching checkout. Do not construct a Git tag from a Python version string: Early Access packaging versions and source refs can differ. The 4.x hello_world.py, tensor_interop, and video_replayer smoke sequence does not describe the 5.x Python examples.

Report the Python, SDK, and component versions; import, dependency, and graph checks; and any skipped module tests. An import check alone is not full runtime qualification. Missing runtime libraries should be traced to the selected component's prerequisites before changing unrelated system paths.

Plus de skills de nvidia

accelerated-computing-cudf
nvidia
Guide officiel rédigé par NVIDIA pour les DataFrames GPU NVIDIA cuDF, l'accélération pandas, dask-cuDF, ETL, les jointures, groupby, les entrées/sorties CSV/Parquet, la sémantique nullable, et…
accessibility
nvidia
Workflow unifié d’audit d’accessibilité couvrant l’analyse statique, les tests d’exécution, les modèles ARIA, la navigation au clavier et le contraste des couleurs. Utilisez cette compétence…
accessing-mlflow
nvidia
Interroger et parcourir les résultats d'évaluation stockés dans MLflow. Utiliser lorsque l'utilisateur souhaite rechercher des exécutions par ID d'invocation, comparer des métriques entre modèles, récupérer des artefacts…
add-binding-feature
nvidia
Ajouter ou modifier une surface d'API publique NeMo Relay à travers le runtime central et chaque binding affecté
add-middleware
nvidia
Ajouter un nouveau type de garde-fou ou d'interception au pipeline middleware NeMo Relay
aicr-analyzing-snapshots
nvidia
À utiliser lors de l'analyse d'un fichier YAML de snapshot AICR, de l'examen de l'état du cluster, de la comparaison des caractéristiques des fournisseurs, de l'extraction d'informations sur la topologie GPU/réseau, ou…
aicr-auditing-docs
nvidia
À utiliser lors de la révision de la documentation Markdown d'AICR pour détecter les doublons, les dérives, l'enflure et les lacunes — afin de maintenir des documents à forte valeur ajoutée à mesure que le projet évolue. Se déclenche sur « audit…
aicr-creating-guided-demos
nvidia
Génère un script de démonstration guidée interactive (demos/*.sh), en direct ou à son rythme, avec le modèle Frame → Tell → Show → Close. Se déclenche sur « script de démonstration », « guidé…