Skip to content

Fix Warp deprecation warnings and broken links in Mesh README#1564

Merged
peterdsharpe merged 3 commits intoNVIDIA:mainfrom
manmeet3591:fix-warp-dep-and-links
May 5, 2026
Merged

Fix Warp deprecation warnings and broken links in Mesh README#1564
peterdsharpe merged 3 commits intoNVIDIA:mainfrom
manmeet3591:fix-warp-dep-and-links

Conversation

@manmeet3591
Copy link
Copy Markdown
Contributor

@manmeet3591 manmeet3591 commented Apr 13, 2026

This PR addresses two maintenance items:

  1. Warp Deprecation Fix: Replaces wp.context.Device with wp.Device in radius_search/_warp_impl.py to resolve upcoming namespace removals in NVIDIA Warp.
  2. README Link Fixes: Corrects several broken relative links in physicsnemo/mesh/README.md that were redundantly prefixed with physicsnemo/mesh/ or had incorrect relative paths to examples/ and test/.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Apr 13, 2026

Greptile Summary

This is a small maintenance PR that fixes two independent issues: it replaces the deprecated wp.context.Device with wp.Device in _warp_impl.py (affecting function signatures and docstrings in count_neighbors and gather_neighbors), and corrects broken relative links in physicsnemo/mesh/README.md so that module and resource links resolve correctly relative to the file's location.

Important Files Changed

Filename Overview
physicsnemo/nn/functional/neighbors/radius_search/_warp_impl.py Replaces deprecated wp.context.Device with wp.Device in function signatures and docstrings for count_neighbors and gather_neighbors; no logic changes.
physicsnemo/mesh/README.md Fixes broken relative links: module subdirectory links now use ./ prefix, and examples//test/ are corrected to ../../examples/ and ../../test/mesh/ respectively.

Reviews (1): Last reviewed commit: "Fix: Warp deprecation warnings and broke..." | Re-trigger Greptile

Copy link
Copy Markdown
Collaborator

@peterdsharpe peterdsharpe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me on the Mesh README.md side, approving!

@loliverhennigh can double-check the wp.Device fix (where he's CODEOWNER), but I think this is correct syntax.

Looks like one minor CI issue from markdownlint to fix before merging.

@peterdsharpe peterdsharpe requested a review from coreyjadams as a code owner May 5, 2026 13:04
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 5, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@coreyjadams
Copy link
Copy Markdown
Collaborator

/blossom-ci

@coreyjadams
Copy link
Copy Markdown
Collaborator

/ok to test 286525b

@peterdsharpe peterdsharpe enabled auto-merge May 5, 2026 13:06
@coreyjadams
Copy link
Copy Markdown
Collaborator

/blossom-ci

@peterdsharpe peterdsharpe added this pull request to the merge queue May 5, 2026
Merged via the queue into NVIDIA:main with commit 16fd2e5 May 5, 2026
6 checks passed
@ktangsali ktangsali mentioned this pull request May 6, 2026
6 tasks
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.

3 participants