-
Notifications
You must be signed in to change notification settings - Fork 217
Add cuTENSOR support & bug fixes discovered while working on conda testing #1194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
2d1d8fe
Add support for cutensor. Still works for existing libnames, cutensor…
rwgk 986a83f
Generalize tests/test_find_nvidia_headers.py to also cover cutensor
rwgk 0583393
test_find_nvidia_headers.py conda testing and fix
rwgk 1d1f534
test_load_nvidia_dynamic_lib.py fix conda testing
rwgk e0a4ca6
Add conda_create_for_pathfinder_testing.ps1
rwgk 25dd364
Bug fix: SITE_PACKAGES_LIBDIRS_WINDOWS_OTHER cutensor, cutensorMg paths
rwgk cdab969
Add cudss paths to SITE_PACKAGES_LIBDIRS_WINDOWS_OTHER
rwgk 6d490f5
Add SUPPORTED_HEADERS_NON_CTK_ALL to fix Windows site-packages tests
rwgk 28e7206
Bug fix (existing code): conda cccl header directory
rwgk d36a62d
test_find_nvidia_headers.py: refer to toolshed/conda_create_for_pathf…
rwgk 0734ac7
nvidia-libmathdx-... only exists for cu12: tolerate abs_path=None in …
rwgk 3b156b7
find_nvidia_headers.py cccl IS_WINDOWS: fall-through after checking f…
rwgk 7aa6679
Add cublasmp DIRECT_DEPENDENCIES (closes #1116)
rwgk 9bfef5f
Add SUPPORTED_HEADERS_NON_CTK to cuda_pathfinder/docs/source/api.rst
rwgk 3a44b6a
Add 1.3.2-notes.rst
rwgk 0d71a85
Add nvidia-cufftmp-cu13 data in supported_nvidia_libs.py
rwgk b079c84
Merge branch 'main' into cutensor_support
rwgk 90ed27a
Add missing comma in toolshed/conda_create_for_pathfinder_testing.ps1
rwgk 9671b24
Systematically add _abs_norm() in find_nvidia_header_directory()
rwgk 4d5a41a
Move "conda has this anomaly" comment to the end of the line
rwgk 75d8874
Merge branch 'main' into cutensor_support
rwgk 03e10b1
Add empty SUPPORTED_HEADERS_NON_CTK_WINDOWS_ONLY in supported_nvidia_…
rwgk 43e81b4
Remove SUPPORTED_HEADERS_NON_CTK from public API, as requested by Leo…
rwgk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| __version__ = "1.3.1" | ||
| __version__ = "1.3.2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| .. SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| .. SPDX-License-Identifier: Apache-2.0 | ||
| .. py:currentmodule:: cuda.pathfinder | ||
| ``cuda-pathfinder`` 1.3.2 Release notes | ||
| ======================================= | ||
|
|
||
| Released on Oct 29, 2025 | ||
rwgk marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| Highlights | ||
| ---------- | ||
|
|
||
| * Add cuTENSOR support & bug fixes discovered while working on conda testing | ||
| (`PR #1194 <https://github.com/NVIDIA/cuda-python/pull/1194>`_) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| import functools | ||
| import importlib.metadata | ||
| import re | ||
|
|
||
|
|
||
| @functools.cache | ||
| def have_distribution(name_pattern: str) -> bool: | ||
| re_name_pattern = re.compile(name_pattern) | ||
rwgk marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| return any( | ||
| re_name_pattern.match(dist.metadata["Name"]) | ||
| for dist in importlib.metadata.distributions() | ||
rwgk marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| if "Name" in dist.metadata | ||
| ) | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.