diff --git a/apis/extension/device_share.go b/apis/extension/device_share.go index 2cf45f625..80b787069 100644 --- a/apis/extension/device_share.go +++ b/apis/extension/device_share.go @@ -59,16 +59,16 @@ const ( "minor": 0, "resources": { "koordinator.sh/gpu-core": 100, - "koordinator.sh/gpu-mem-ratio": 100, - "koordinator.sh/gpu-mem": "16Gi" + "koordinator.sh/gpu-memory-ratio": 100, + "koordinator.sh/gpu-memory": "16Gi" } }, { "minor": 1, "resources": { "koordinator.sh/gpu-core": 100, - "koordinator.sh/gpu-mem-ratio": 100, - "koordinator.sh/gpu-mem": "16Gi" + "koordinator.sh/gpu-memory-ratio": 100, + "koordinator.sh/gpu-memory": "16Gi" } } ] diff --git a/docs/proposals/scheduling/20220629-fine-grained-device-scheduling.md b/docs/proposals/scheduling/20220629-fine-grained-device-scheduling.md index 5277ade6e..2592d0d3f 100644 --- a/docs/proposals/scheduling/20220629-fine-grained-device-scheduling.md +++ b/docs/proposals/scheduling/20220629-fine-grained-device-scheduling.md @@ -228,16 +228,16 @@ In the PreBind stage, the scheduler will update the device (including GPU) alloc "minor": 0, "resouurces": { "koordinator.sh/gpu-core": 100, - "koordinator.sh/gpu-mem-ratio": 100, - "koordinator.sh/gpu-mem": "16Gi" + "koordinator.sh/gpu-memory-ratio": 100, + "koordinator.sh/gpu-memory": "16Gi" } }, { "minor": 1, "resouurces": { "koordinator.sh/gpu-core": 100, - "koordinator.sh/gpu-mem-ratio": 100, - "koordinator.sh/gpu-mem": "16Gi" + "koordinator.sh/gpu-memory-ratio": 100, + "koordinator.sh/gpu-memory": "16Gi" } } ]