Repository navigation
feat: share virtual device count between hami-core and ENPU modes - #144
Conversation
Signed-off-by: Spencer Cai <jiahao.cai@dynamia.ai>
|
@spencercjh: The label(s) DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 17 minutes. View limit details
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
/assign @DSFans2014 |
|
/assign @archlitchi |
Signed-off-by: Spencer Cai <jiahao.cai@dynamia.ai>
|
/assign @Shouren |
Signed-off-by: Spencer Cai <jiahao.cai@dynamia.ai>
Signed-off-by: Spencer Cai <jiahao.cai@dynamia.ai>
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: archlitchi, spencercjh 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 |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Use
vnpus.deviceSplitCountfor bothhami-coreandenpu, defaulting to10, instead of deriving hami-core capacity from hard-slicing templates.vDeviceCounttakes priority; ENPU caps the effective count at100.deviceSplitCount.Which issue(s) this PR fixes:
Fixes #128. Related: Project-HAMi/HAMi#2727.
Special notes for your reviewer:
Go tests and Helm checks passed. I plan to update the HAMi Chart in a follow-up PR after this PR is merged, including scheduler support for the renamed shared field. Codex assisted with implementation and validation.
Earlier Ascend-310P validation, before the shared-setting rename:
With a separate ConfigMap:
Does this PR introduce a user-facing change?:
Yes. Both soft-slicing modes default to
10slots per NPU. ENPU previously defaulted to100. Configuration now usesdeviceSplitCountinstead ofvnpuDeviceSplitCount.Summary by CodeRabbit