fix(ascend): update ascend config according to latest driver #2223
<!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- review_stack_entry_start -->

<!-- review_stack_entry_end -->
No actionable comments were generated in the recent review. 🎉
<details>
<summary>ℹ️ Recent review info</summary>
<details>
<summary>⚙️ Run configuration</summary>
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: f58c05df-e3f6-49b4-840e-3618a779a92a
</details>
<details>
<summary>📥 Commits</summary>
Reviewing files that changed from the base of the PR and between be22f5794a8529ef84133250dbf6039da1926187 and 6dc617f90d04e7bf8056a0ed65cd110abe1a5410.
</details>
<details>
<summary>📒 Files selected for processing (1)</summary>
charts/hami/templates/scheduler/device-configmap.yaml</details>
</details>
---
<!-- walkthrough_start -->
<details>
<summary>📝 Walkthrough</summary>
Walkthrough
The scheduler ConfigMap updates the Ascend 910B4-1 VNPU template names to reflect their configured 16 GiB and 32 GiB memory values. Related explanatory comments were removed. Other resource values remain unchanged.
Changes
Device configuration
|Layer / File(s)|Summary|
|---|---|
|Rename 910B4-1 VNPU templates <br> charts/hami/templates/scheduler/device-configmap.yaml|Renames vir05_1c_8g and vir10_3c_16g to vir05_1c_16g and vir10_3c_32g. Removes the associated explanatory comments. Keeps memory, core, and CPU values unchanged.|
Estimated code review effort: 1 (Trivial) | ~3 minutes
Suggested reviewers: mesutoezdil
Poem
A rabbit checks the names in line,
“Sixteen and thirty-two now shine.”
The cores and CPUs stay in place,
Comments hop away with grace.
The device map is clear and neat.
</details>
<!-- walkthrough_end -->
<!-- pre_merge_checks_walkthrough_start -->
<details>
<summary>🚥 Pre-merge checks | ✅ 5</summary>
<details>
<summary>✅ Passed checks (5 passed)</summary>
| Check name | Status | Explanation |
| :------------------------: | :------- | :------------------------------------------------------------------------------------------------------------------ |
| Description Check | ✅ Passed | Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check | ✅ Passed | The title clearly describes the Ascend configuration update to match the latest driver and matches the main change. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
</details>
</details>
<!-- pre_merge_checks_walkthrough_end -->
<!-- finishing_touch_checkbox_start -->
<details>
<summary>✨ Finishing Touches</summary>
<details>
<summary>🧪 Generate unit tests (beta)</summary>
</details>
</details>
<!-- finishing_touch_checkbox_end -->
<!-- tips_start -->
---
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
<details>
<summary>❤️ Share</summary>
</details>
<sub>Comment @coderabbitai help to get the list of available commands.</sub>
<!-- tips_end -->
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
| Flag | Coverage Δ | |
|---|---|---|
| unittests | 62.91% <ø> (+0.84%) | :arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
see 7 files with indirect coverage changes
<details><summary> :rocket: New features to boost your workflow: </summary>
</details>
lgtm
just 1 ask: this breaks 910B4-1 vNPU creation on old drivers, maybe fill the releasenote field with smth like "910B4-1 vNPU template names updated, requires latest Ascend driver".
Optional: keep a 1-line comment noting template names depend on driver version. WDYT?
Former comments indicate that the template name is not consistent with template spec. So i think it should be treated as a driver bug and the best practice is to update the driver.
https://github.com/Project-HAMi/ascend-device-plugin/commit/531a70a863ab0c2a1e65c6bfaee4c96b688a9af2 changed it and mark as fix, I'm not sure whether it is behavior change according to driver update. So I can't provide a config and driver version compatibility matrix.
/lgtm
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: <a href="https://github.com/Project-HAMi/HAMi/pull/2223#pullrequestreview-4827730008" title="LGTM">archlitchi</a>, <a href="https://github.com/Project-HAMi/HAMi/pull/2223#" title="Author self-approved">FouoF</a>
The full list of commands accepted by this bot can be found here.
The pull request process is described here
<details >
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
</details>
<!-- META={"approvers":[]} -->
archlitchi
FouoF
What type of PR is this?
/kind bug
What this PR does / why we need it:
Sync with https://github.com/Project-HAMi/ascend-device-plugin/pull/57, new driver has corrected the template name.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Bug Fixes
Updated Ascend 910B4-1 device configuration template names to accurately reflect their memory capacities.
* Preserved existing memory, core, and CPU resource settings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->