[release-1.15] feat: check ascend vnpu health with Allocatable#5428
Conversation
Signed-off-by: james <open4pd@4paradigm.com>
Signed-off-by: james <open4pd@4paradigm.com>
There was a problem hiding this comment.
Code Review
This pull request removes the unused handshakeAnno field and the CheckHealth function from the device API. It also introduces safety checks in NewAscendDevices to verify that node.Status.Allocatable is not nil and that the node has allocatable resources for the device before retrieving node devices. Additionally, it cleans up unused imports and improves error logging formatting. There are no review comments, so I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JesseStutler The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This is an automated cherry-pick of #5418