HAMi icon indicating copy to clipboard operation
HAMi copied to clipboard

If I enable timeSlicing scheduling on the GPU in EKS, will it be affected when applying for resources using Hami scheduling policy

Open ollylu opened this issue 5 months ago • 2 comments

例如 假设我基于 NVIDIA GPU Operator 把GPU 划分为 10个等分

cat << EOF > nvidia-device-plugin.yaml
apiVersion: v1
kind: ConfigMap
metadata:
  name: nvidia-device-plugin
  namespace: kube-system
data:
  any: |-
    version: v1
    flags:
      migStrategy: none
    sharing:
      timeSlicing:
        resources:
        - name: nvidia.com/gpu
          replicas: 10

然后 基于 Hami 调度策略 申请资源时,如:

  resources:
    limits:
      nvidia.com/gpu: 2 # 请求 2 个 vGPU
      nvidia.com/gpumem-percentage: 50 

申请到的是 2个vGPU 是物理GPU 还是 按 timeSlicing 划分的 2/10个 GPU ?

ollylu avatar Jul 31 '25 12:07 ollylu