holoscan-install-container

bởi nvidia

Cài đặt Holoscan SDK qua container Docker NGC. Dùng cho cài đặt dựa trên container; không dùng cho cài đặt apt/pip/Conda gốc.

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

Holoscan 5.x Development Container

1. Check the release and platform

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.

2. Select and pull the image

Inspect Linux architecture, GPU model, driver, Docker, and NVIDIA Container Toolkit. The planned image is one multi-architecture amd64/arm64 dGPU image: nvcr.io/nvidia/clara-holoscan/holoscan:v<SDK_VERSION>-cuda13. Check the NGC catalog and release notes for the exact published tag and supported host. There are no cuda12-dgpu or cuda12-igpu tags for this 5.x workflow. GPU passthrough tests may pull an image; explain the download before running one if needed.

Use the exact published tag within the installation scope the user authorized. When the method and release are already selected, proceed with that choice. Ask only when a missing release or host fact prevents safe selection. For a plan-only request, return the commands without pulling or running images:

# SDK_VERSION is the exact published 5.x tag version from the release notes.
IMAGE="nvcr.io/nvidia/clara-holoscan/holoscan:v${SDK_VERSION}-cuda13"
docker pull "$IMAGE"
docker image inspect --format 'ID={{.Id}} RepoDigests={{json .RepoDigests}}' "$IMAGE"
docker run --rm --gpus all "$IMAGE" nvidia-smi

Record the image ID and repository digests from inspection for the final report. If no repository digest is available, report the image ID and that limitation.

The development image contains the installed C++ and Python SDK under /usr, all three optional modules, examples, and RacerX data. It is distinct from the source-build container managed by ./run.

3. Verify the installed SDK

Use a bounded Core example and Python API discovery first. Locate the examples instead of assuming the 4.x /opt/nvidia/holoscan layout or a fixed multiarch library directory:

docker run --rm --gpus all "$IMAGE" bash -eu -c '
  example=$(find /usr/lib -type f -path "*/holoscan/examples/hello_world/cpp/hello_world" -print -quit)
  test -n "$example"
  "$example"
  python3 -c "import holoscan as hs; print(hs.__version__); print(hs.RealtimeClock); print(len(hs.registry.operators()))"
'

Expect Hello Holoscan!, the requested 5.x version, and successful API access. Run the installed first_pipeline/python/first_pipeline.py example when present for graph execution coverage. Check the release's installed example tree and README before adding module/GPU tests; a Core import alone does not qualify Vision, Visualization, Inference, graphics, or camera support.

4. Report results and reuse the image

docker run --rm -it --gpus all "$IMAGE" bash

Add mounts for the user's project or devices as the application needs them. For GUI workloads follow the selected release's display/graphics instructions; keep initial verification independent of display and datasets.

  • GPU passthrough failure: check the host driver and Container Toolkit setup.
  • Missing tag: report publication status and offer source; keep the 5.x target.
  • Missing examples or Python components: inspect the pulled image tag/digest; verify it is the development image for the selected release.

Report the image tag/digest, architecture, SDK version, tests run, and skipped hardware or module checks.

Thêm skills từ nvidia

accelerated-computing-cudf
nvidia
Hướng dẫn chính thức từ NVIDIA về NVIDIA cuDF GPU DataFrames, tăng tốc pandas, dask-cuDF, ETL, joins, groupby, I/O CSV/Parquet, ngữ nghĩa nullable, và…
accessibility
nvidia
Quy trình kiểm tra khả năng truy cập thống nhất trên phân tích tĩnh, kiểm thử thời gian chạy, các mẫu ARIA, điều hướng bàn phím và độ tương phản màu sắc. Sử dụng kỹ năng này…
accessing-mlflow
nvidia
Truy vấn và duyệt kết quả đánh giá được lưu trữ trong MLflow. Sử dụng khi người dùng muốn tra cứu các lần chạy theo ID lời gọi, so sánh chỉ số giữa các mô hình, lấy tạo phẩm…
add-binding-feature
nvidia
Thêm hoặc thay đổi bề mặt API NeMo Relay công khai trên toàn bộ runtime lõi và mọi binding bị ảnh hưởng
add-middleware
nvidia
Thêm một loại guardrail hoặc intercept mới vào pipeline middleware của NeMo Relay
aicr-analyzing-snapshots
nvidia
Sử dụng khi phân tích tệp YAML snapshot AICR, xem xét trạng thái cụm, so sánh đặc điểm nhà cung cấp, trích xuất thông tin chi tiết về cấu trúc liên kết GPU/mạng, hoặc…
aicr-auditing-docs
nvidia
Sử dụng khi rà soát tài liệu Markdown của AICR để tìm trùng lặp, sai lệch, cồng kềnh, và khoảng trống — nhằm giữ tài liệu có giá trị cao khi dự án phát triển. Kích hoạt khi "audit…
aicr-creating-guided-demos
nvidia
Tạo khung kịch bản demo có hướng dẫn tương tác (demos/*.sh), trực tiếp hoặc tự học, theo mẫu Frame → Tell → Show → Close. Kích hoạt khi có "demo script", "guided…