Skip to content

Make pathfinder add_dll_directory(), load_dependencies() side-effects more deterministic. - #855

Merged
rwgk merged 1 commit into
NVIDIA:mainfrom
rwgk:trigger_add_dll_directory_more_consistently
Aug 19, 2025
Merged

Make pathfinder add_dll_directory(), load_dependencies() side-effects more deterministic.#855
rwgk merged 1 commit into
NVIDIA:mainfrom
rwgk:trigger_add_dll_directory_more_consistently

Conversation

@rwgk

@rwgkrwgk commented Aug 18, 2025

Copy link
Copy Markdown
Contributor

Closes#821

Proactive change to improve stability in general, but also in support of nvmath specifically.

Bump cuda-pathfinder version to 1.1.1a2

Dropping boilerplate docstrings for private functions (these are more distracting than helpful).

@copy-pr-bot

Copy link
Copy Markdown
Contributor

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@rwgkrwgk self-assigned this Aug 18, 2025
@rwgkrwgk added the cuda.pathfinder Everything related to the cuda.pathfinder module label Aug 18, 2025
@rwgkrwgk added this to the pathfinder-nvmath-support milestone Aug 18, 2025
@rwgk

rwgk commented Aug 18, 2025

Copy link
Copy Markdown
ContributorAuthor

/ok to test

@github-actions

This comment has been minimized.

@rwgk
rwgk marked this pull request as ready for review August 18, 2025 22:35
@copy-pr-bot

Copy link
Copy Markdown
Contributor

Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@rwgk
rwgk requested review from kkraus14 and leofangAugust 18, 2025 22:35
@github-project-automationgithub-project-automationBot moved this from Todo to In Review in CCCLAug 19, 2025
@rwgk
rwgk merged commit 0443816 into NVIDIA:mainAug 19, 2025
49 checks passed
@github-project-automationgithub-project-automationBot moved this from In Review to Done in CCCLAug 19, 2025
@rwgk
rwgk deleted the trigger_add_dll_directory_more_consistently branch August 19, 2025 16:06
@github-actions

Copy link
Copy Markdown
Doc Preview CI
Preview removed because the pull request was closed or merged.

CopilotAI added a commit that referenced this pull request Aug 23, 2025
…and #855
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
rwgk added a commit that referenced this pull request Aug 27, 2025
* Initial plan
* Create Sphinx documentation infrastructure for cuda.pathfinder
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
* Fix title underline and test pathfinder documentation build
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
* Address all review feedback - fix references, remove unnecessary files, populate API docs
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
* Add cuda-pathfinder documentation link to CI doc preview
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
* [pre-commit.ci] auto code formatting
* Update cuda-core and cuda-bindings README to reference nv-versions.json
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
* Refactor pathfinder documentation based on review feedback
- Remove lines 7-14 from api.rst (cuda.pathfinder automodule section)
- Convert api.rst to use autosummary instead of direct autodoc directives following cuda-core pattern
- Convert contribute.md to contribute.rst in ReST format
- Remove _templates/main.html file as it's no longer needed
- Update index.rst to reference contribute.rst instead of contribute.md
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
* Add release notes for cuda-pathfinder versions 1.0.0 and 1.1.0
- Created release directory structure under cuda_pathfinder/docs/source/release/
- Added 1.0.0-notes.rst with initial release highlights
- Added 1.1.0-notes.rst with CTK 13.0.0 compatibility and bug fixes
- Added release.rst index file to organize release notes
- Updated index.rst to include release notes in navigation
- Follows established documentation patterns from cuda-core and cuda-bindings
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
* Fix SPDX license identifiers and add 1.1.1 release notes for PRs #834 and #855
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
* Restore _templates/main.html file as requested in review feedback
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
* Change format as requested by Leo
#884 (comment)
* Remove stray cuda/pathfinder/README.md URL in cuda_python/docs/source/index.rst
* Rename release 1.1.1 to 1.X.Y
* Add version 1.0.0 in cuda_pathfinder/docs/nv-versions.json
* Remove unused cuda_pathfinder/docs/make.bat
* Revert "Add version 1.0.0 in cuda_pathfinder/docs/nv-versions.json"
This reverts commit d096d21.
* Reduce divergence between cuda_bindings/docs/source/contribute.rst and cuda_pathfinder/docs/source/contribute.rst
* New pre-commit fixes (related to PR #901)
* Also remove version 1.1.0 from cuda_pathfinder/docs/nv-versions.json
* Reduce cuda/pathfinder/README.md to a mere pointer to the sphinx-generated documentation.
* Add the Search order section from the old README as a new section in the load_nvidia_dynamic_lib() docstring.
* Leo's edits to new part of load_nvidia_dynamic_lib docstring
Co-authored-by: Leo Fang <leof@nvidia.com>
* Add more empty lines in load_nvidia_dynamic_lib docstring
* Remove `**` around Linux, Windows (for consistency)
* Fix existing (on main) pre-commit error
* Add `*/docs/source/generated/` to .gitignore
* Add toolshed/setup-docs-env.sh
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Leo Fang <leof@nvidia.com>
Co-authored-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
Co-authored-by: Ralf W. Grosse-Kunstleve <rwgkio@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuda.pathfinderEverything related to the cuda.pathfinder module

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[FEA]: Trigger add_dll_directory(found_path) logic even if was_already_loaded_from_elsewhere is true

2 participants

@rwgk@leofang