Skip to content

Tutorials/Accelerated Python: Rebase to NVIDIA CUDA 13.1 base container.#132

Merged
brycelelbach merged 11 commits intoNVIDIA:mainfrom
brycelelbach:accelerated-python-cuda-13.1-rebase
Feb 21, 2026
Merged

Tutorials/Accelerated Python: Rebase to NVIDIA CUDA 13.1 base container.#132
brycelelbach merged 11 commits intoNVIDIA:mainfrom
brycelelbach:accelerated-python-cuda-13.1-rebase

Conversation

@brycelelbach
Copy link
Collaborator

Rebase the accelerated-python tutorial to use the same NVIDIA CUDA 13.1 base container as the cuda-tile tutorial (ghcr.io/nvidia/mirrors/nvidia-cuda-13.1.0-devel-ubuntu22.04).

Changes

Dockerfile

  • Base image: Switch from rapidsai-devcontainers-25.08-cpp-cuda12.8 to nvidia-cuda-13.1.0-devel-ubuntu22.04.
  • Python installation: Add explicit Python 3.12 installation via deadsnakes PPA (the CUDA base image does not include Python).
  • PyTorch: Update from cu128 to cu130 with torch==2.10.0.
  • Nsight tools: Update to Nsight Systems 2026.1.1 and Nsight Compute 2025.4.1, using parameterized env vars (matching cuda-tile pattern).
  • RAPIDS venv: Update from cudf-cu12/cuml-cu12 to cudf-cu13/cuml-cu13.
  • Env vars: Add PYTHON_VERSION, PATH, Nsight version vars; remove PYTHONSTARTUP.
  • System packages: Add libglib2.0-0 (matching cuda-tile).

requirements.txt

  • Update all CUDA packages from cu12 to cu13 variants (cuda-python, numba-cuda, nvmath-python, cupy, cuda-cccl).
  • Remove nvidia-cublas-cu12, nvidia-nvshmem-cu12, nvidia-cuda-nvcc-cu12, nvidia-cuda-nvrtc-cu12 (provided by the devel base container).

@github-actions
Copy link
Contributor

👋 Thank you for your contribution!

This pull request is from a forked repository so GitHub Actions will not be able to run CI. A maintainer will review your changes shortly and manually trigger the CI.

@maintainers Please review this PR when you have a chance and follow the instructions in the CONTRIBUTING.md file to trigger the CI.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 18, 2026

❌ Link Check Failed

Broken links were detected in this PR.

Please check the workflow run logs for details on which links are broken.

Common fixes:

  1. Typo in URL - Check for spelling mistakes in the link
  2. Outdated link - The page may have moved or been deleted
  3. Relative path issue - Ensure relative links use the correct path
  4. External site down - If the external site is temporarily down, you can add it to brev/.lycheeignore

To test links locally:

./brev/test-links.bash .

📚 Lychee documentation

@brycelelbach brycelelbach force-pushed the accelerated-python-cuda-13.1-rebase branch 3 times, most recently from 292a349 to 7e313de Compare February 21, 2026 22:12
@brycelelbach brycelelbach force-pushed the accelerated-python-cuda-13.1-rebase branch from 7e313de to 0596e83 Compare February 21, 2026 23:32
@brycelelbach brycelelbach merged commit 77d5782 into NVIDIA:main Feb 21, 2026
7 of 9 checks passed
@brycelelbach brycelelbach deleted the accelerated-python-cuda-13.1-rebase branch February 21, 2026 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant