Skip to content

Follow node vNPU mode for pods without vnpu-mode annotation #105

Description

@ouyangluwei163

Supports HAMi #2034 (mode-agnostic Ascend scheduling).

Problem: The device plugin only applies soft slicing when a pod sets huawei.com/vnpu-mode: hami-core. Pods
without the annotation always take the legacy vNPU path, so on hami-core-only nodes they stay Pending.

Proposal: For annotation-less pods, resolve the mode from the node — use hami-core when the node reports
IsHamiVnpuCore(), otherwise the template path. Pods that pin a mode are unchanged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions