Skip to content
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

fix: filter device registry to node #639

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

lengrongfu
Copy link
Member

What type of PR is this?
/kind bug

What this PR does / why we need it:

This pr add filter device registry to node allocated resources #495, but node annotation hami.io/node-nvidia-register values is not update.
because defineidx := 0, cause default index from 0 to len(devs),maybe user filter device index is 0.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

Copy link

codecov bot commented Nov 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Flag Coverage Δ
unittests 26.70% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


🚨 Try these New Features:

@archlitchi
Copy link
Collaborator

/approve

@archlitchi archlitchi merged commit 64ae953 into Project-HAMi:master Nov 28, 2024
8 checks passed
@wawa0210 wawa0210 added the kind/bug Something isn't working label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants