Skip to content

Commit 4140f76

Browse files
committed
pathfinder: support cuDSS 1.0 library names
closes #3180 cuDSS 1.0 changed the Linux SONAME from libcudss.so.0 to libcudss.so.1 and the Windows DLL name from cudss64_0.dll to cudss64_1.dll. This caused exact-name discovery to report the newly released library as missing in nightly CI. Prefer the 1.x names while retaining the 0.x names as compatibility fallbacks. Also preload NVRTC when available because cuDSS 1.0 requires it at load time. Add regression coverage for the supported names and update the 1.8.4 release notes. Tests: pixi run test (1616 passed, 5 skipped)
1 parent 903fbcc commit 4140f76

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

‎cuda_pathfinder/cuda/pathfinder/_dynamic_libs/descriptor_catalog.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,15 +467,16 @@ class DescriptorSpec:
467467
DescriptorSpec(
468468
name="cudss",
469469
packaged_with="other",
470-
linux_sonames=("libcudss.so.0",),
471-
windows_dlls=("cudss64_0.dll",),
470+
linux_sonames=("libcudss.so.1", "libcudss.so.0"),
471+
windows_dlls=("cudss64_1.dll", "cudss64_0.dll"),
472472
supported_windows_arch=("x64", "arm64"),
473473
site_packages_linux=("nvidia/cu13/lib", "nvidia/cu12/lib"),
474474
site_packages_windows=WindowsSearchDirs(
475475
x64=("nvidia/cu13/bin", "nvidia/cu12/bin"),
476476
arm64=("nvidia/cu13/bin", "nvidia/cu12/bin"),
477477
),
478478
dependencies=("cublas", "cublasLt"),
479+
optional_dependencies=("nvrtc",),
479480
),
480481
DescriptorSpec(
481482
name="cusparseLt",

‎cuda_pathfinder/docs/source/release/1.8.4-notes.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ Highlights
1010
----------
1111

1212
* Python 3.10 support was dropped (end of life).
13+
14+
* Recognize the cuDSS 1.0 dynamic-library names ``libcudss.so.1`` and
15+
``cudss64_1.dll`` while retaining the cuDSS 0.x names. Loading cuDSS also
16+
preloads NVRTC when available, as required by cuDSS 1.0.

‎cuda_pathfinder/tests/test_descriptor_catalog.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,16 @@ def test_cudnn_metadata_matches_supported_layouts():
179179
assert spec.requires_add_dll_directory
180180

181181

182+
@pytest.mark.agent_authored(model="gpt-5")
183+
def test_cudss_metadata_matches_supported_library_names():
184+
spec = _CATALOG_BY_NAME["cudss"]
185+
186+
assert spec.linux_sonames == ("libcudss.so.1", "libcudss.so.0")
187+
assert spec.windows_dlls == ("cudss64_1.dll", "cudss64_0.dll")
188+
assert spec.dependencies == ("cublas", "cublasLt")
189+
assert spec.optional_dependencies == ("nvrtc",)
190+
191+
182192
@pytest.mark.agent_authored(model="gpt-5.6-sol")
183193
def test_nccl_metadata_matches_supported_linux_install_layouts():
184194
spec = _CATALOG_BY_NAME["nccl"]

0 commit comments

Comments
 (0)