Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
SITE_PACKAGES_BINDIRS = {
# Core compilation tools
"nvcc": (_CUDA13_BIN, _CUDA_NVCC_BIN),
"ptxas": (_CUDA13_BIN, _CUDA_NVCC_BIN),
"nvdisasm": (_CUDA13_BIN, _CUDA_NVCC_BIN),
"cuobjdump": (_CUDA13_BIN, _CUDA_NVCC_BIN),
"nvprune": (_CUDA_NVCC_BIN,),
Expand Down
4 changes: 4 additions & 0 deletions cuda_pathfinder/docs/nv-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"version": "latest",
"url": "https://nvidia.github.io/cuda-python/cuda-pathfinder/latest/"
},
{
"version": "1.8.1",
"url": "https://nvidia.github.io/cuda-python/cuda-pathfinder/1.8.1/"
},
{
"version": "1.8.0",
"url": "https://nvidia.github.io/cuda-python/cuda-pathfinder/1.8.0/"
Expand Down
33 changes: 33 additions & 0 deletions cuda_pathfinder/docs/source/release/1.8.1-notes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.. SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
.. SPDX-License-Identifier: Apache-2.0

.. py:currentmodule:: cuda.pathfinder

``cuda-pathfinder`` 1.8.1 Release notes
=======================================

Highlights
----------

* Add ``ptxas`` to ``SUPPORTED_BINARY_UTILITIES``. The
:func:`find_nvidia_binary_utility` function can now locate it on Linux and
Windows through the existing NVIDIA wheel, Conda, and CUDA Toolkit search
pipeline. NVIDIA wheel discovery prefers the CUDA 13 ``nvidia/cu13/bin``
layout while retaining the legacy ``nvidia/cuda_nvcc/bin`` fallback.
(`PR #2741 <https://github.com/NVIDIA/cuda-python/pull/2741>`_)

Bugfixes
--------

* Find ``cuobjdump`` in the CUDA 13 ``nvidia/cu13/bin`` NVIDIA wheel layout
while retaining discovery from the legacy ``nvidia/cuda_nvcc/bin`` layout.
(`PR #2739 <https://github.com/NVIDIA/cuda-python/pull/2739>`_)

Internal maintenance
--------------------

* Add ``pytest-run-parallel>=0.4.1`` to the normal test dependencies so the
existing ``thread_unsafe`` marker and ``thread_unsafe_fixtures``
configuration option are registered in standard test environments. This is
test-only and does not add a runtime dependency.
(`PR #2741 <https://github.com/NVIDIA/cuda-python/pull/2741>`_)
20 changes: 20 additions & 0 deletions cuda_pathfinder/pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions cuda_pathfinder/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pytest = ">=6.2.4"
pytest-mock = "*"
pytest-repeat = "*"
pytest-randomly = "*"
pytest-run-parallel = ">=0.4.1"

# Keep this dependency set aligned with cuda_python/docs/environment-docs.yml.
[feature.docs.dependencies]
Expand Down
1 change: 1 addition & 0 deletions cuda_pathfinder/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ test = [
"pytest-mock==3.15.1",
"pytest-repeat==0.9.4",
"pytest-randomly==4.1.0",
"pytest-run-parallel>=0.4.1",
]
# Internal organization of test dependencies.
cu12 = [
Expand Down
4 changes: 2 additions & 2 deletions cuda_pathfinder/tests/test_find_nvidia_binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
)

CUDA13_WHEEL_BINARIES = frozenset(
("nvcc", "nvdisasm", "cuobjdump", "fatbinary", "bin2c", "nvlink", "compute-sanitizer")
("nvcc", "ptxas", "nvdisasm", "cuobjdump", "fatbinary", "bin2c", "nvlink", "compute-sanitizer")
)


Expand All @@ -40,7 +40,7 @@ def test_supported_binaries_consistency():

@pytest.mark.agent_authored(model="claude-opus-5")
def test_cuda13_wheel_layout_is_declared_and_preferred():
"""Every utility shipped in nvidia/cu13/bin must declare that layout first.
"""Every supported utility shipped in nvidia/cu13/bin must declare that layout first.

Omitting it makes the site-packages search step skip an installed CUDA 13
wheel entirely, which is only visible on hosts without a local CTK to fall
Expand Down
Loading