Skip to content

[BUGFIX] [v0.9.1-dev] Obtain the NPU ID of non-consecutive NPU cards #1724

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

Open
wants to merge 5 commits into
base: v0.9.1-dev
Choose a base branch
from

Conversation

yangqinghao-cmss
Copy link

@yangqinghao-cmss yangqinghao-cmss commented Jul 10, 2025

What this PR does / why we need it?

When the available NPUs are discontinuous, such as when only partial NPUs are visible in a Docker container, the current method of obtaining the card_id may lead to identification issues. It is recommended to directly obtain the NPU ID instead.

Does this PR introduce any user-facing change?

NO

How was this patch tested?

@yangqinghao-cmss
Copy link
Author

@wangxiyuan please check this pr, thanks!

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.

1 participant