Skip to content

Prevent duplicate GPU registration for health checks - #2053

Closed
aryangorwade wants to merge 4 commits into
NVIDIA:pull-request/1930from
aryangorwade:prevent-duplicate-gpu-registration
Closed

aryangorwade wants to merge 4 commits into
NVIDIA:pull-request/1930from
aryangorwade:prevent-duplicate-gpu-registration

Conversation

@aryangorwade

Copy link
Copy Markdown

Description

This PR removes redundant GPU health registration calls that can happen when multiple Device objects share the same parent GPU. It builds on changes made in #1930 and should be merged in afterwards.

Closes #2052 .

Checklist

  • No secrets, sensitive information, or unrelated changes
  • Lint checks passing (make lint)
  • Unit tests passing (make test)
  • Go mod artifacts in-sync (make check-modules)
  • Third-party notices in-sync (make check-third-party-notices)
  • [] Test cases are added for new code paths (test cases not possible without nvml mocks)

Testing

Verified via manual testing on a GPU node. Scenarios tested include unshared GPUs, time-sliced & MPS shared GPUs, multiple MIG instances and time-sliced MIG & mixed MIG. Plugin restart/config reload behavior was also tested.

tryuuu and others added 4 commits July 17, 2026 20:09
Signed-off-by: tryuuu <ryu23210@gmail.com>
Signed-off-by: tryuuu <ryu23210@gmail.com>
Signed-off-by: Aryan Gorwade <agorwade@nvidia.com>
@aryangorwade aryangorwade self-assigned this Sep 21, 2026
@copy-pr-bot
copy-pr-bot Bot deleted the branch NVIDIA:pull-request/1930 September 22, 2026 03:14
@copy-pr-bot copy-pr-bot Bot closed this Sep 22, 2026
@tariq1890

Copy link
Copy Markdown
Contributor

@aryangorwade I am not sure why this was closed.

@aryangorwade

aryangorwade commented Sep 22, 2026 •

Copy link
Copy Markdown
Author

@tariq1890 Probably because it referenced #1930 which was then merged. I duplicated this in #2054.

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